Skip to content

Commit f1bb0c9

Browse files
Update README-KUBERNETES.md
1 parent 9dc9526 commit f1bb0c9

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

decisioncenter/guicustomization/README-KUBERNETES.md

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction
22

3-
This README explains how to run the GUI Customization sample in Kubernetes.
3+
This readme explains how to run the GUI Customization sample in Kubernetes.
44
Before following the steps below, make sure you have built the images as explained in [README.md](README.md).
55

66
# Configuring the sample in Kubernetes
@@ -9,9 +9,9 @@ Before following the steps below, make sure you have built the images as explain
99

1010
Any file server reachable by Decision Center is suitable.
1111

12-
You can either use an existing one or follow the instructions [here](https://github.com/DecisionsDev/odm-docker-kubernetes/blob/vnext-release/contrib/file-server/README.md#setup-an-httpd-file-server) to deploy a httpd file server in a new pod.
12+
You can either use an existing one or follow the instructions [here](https://github.com/DecisionsDev/odm-docker-kubernetes/blob/vnext-release/contrib/file-server/README.md#setup-an-httpd-file-server) to deploy an httpd file server in a new pod.
1313

14-
Upload the **guicustomization-1.0.jar** file on the file server :
14+
Upload the **guicustomization-1.0.jar** file on the file server:
1515
```
1616
curl -T guicustomization/guicustomization-source/target/guicustomization-1.0.jar $FILESERVER_URL
1717
```
@@ -55,14 +55,16 @@ helm repo update
5555
#### d. Check your access to the ODM chart
5656

5757
```bash
58-
$ helm search repo ibm-odm-prod
58+
helm search repo ibm-odm-prod
59+
```
60+
```bash
5961
NAME CHART VERSION APP VERSION DESCRIPTION
6062
ibm-helm/ibm-odm-prod 24.0.0 9.0.0.0 IBM Operational Decision Manager
6163
```
6264

6365
#### e. Create a secret to manage custom authentication/authorization
6466

65-
Create a secret to manage custom authentication/authorization using the [webSecurity.xml](./guicustomization-source/webSecurity.xml) and [group-security-configurations.xml](./guicustomization-source/group-security-configurations.xml) files :
67+
Create a secret to manage custom authentication/authorization using the [webSecurity.xml](./guicustomization-source/webSecurity.xml) and [group-security-configurations.xml](./guicustomization-source/group-security-configurations.xml) files:
6668

6769
```
6870
kubectl create secret generic my-custom-auth-secret --from-file=webSecurity.xml --from-file=group-security-configurations.xml
@@ -85,7 +87,7 @@ Add all the other parameters suitable to your platform in `values.yaml`. Check t
8587
If you are on OCP, you can use this [values.yaml](./guicustomization-source/values.yaml) file by replacing `<FILESERVER_URL>` by the actual URL of the file server hosting the JARs.
8688

8789
```bash
88-
helm install guicustomization-sample ibmcharts/ibm-odm-prod -f values.yaml
90+
helm install guicustomization-sample ibm-helm/ibm-odm-prod -f values.yaml
8991
```
9092

9193
# Using the Sample
@@ -94,9 +96,9 @@ helm install guicustomization-sample ibmcharts/ibm-odm-prod -f values.yaml
9496
- **Username**: `Paul`
9597
- **Password**: `Paul`
9698

97-
Load the [LoanValidationService.zip](./projects/LoanValidationService.zip) Decision Service.
99+
Open the **Library** tab. Import the [LoanValidationService.zip](./projects/LoanValidationService.zip) Decision Service.
98100

99-
To activate the Custom Value Editor, after login in Decision Center :
101+
To activate the Custom Value Editor, after login in Decision Center:
100102
- Go in the menu **Administration>Settings>Custom Settings**
101103
- Register a new setting named **decisioncenter.web.core.extensions.entrypoints** keeping blank the **default value of the setting** field.
102104

@@ -106,52 +108,50 @@ To activate the Custom Value Editor, after login in Decision Center :
106108

107109
![Custom Settings](images/custom_settings_2.png)
108110

109-
#### To see the customization for an administrator:
110-
111-
Log in to the Business console by using **Paul** as the username and password.
112-
113111
Open the **Library** tab. Click the **Loan Validation Service** box anywhere but the name, and select the **main** branch.
114112

115-
Click the new button **My Admin Button**. A dialog displays metrics on the decision service.
113+
Click the new button **My Admin Button** in the main toolbar. A dialog displays metrics on the decision service. Close the dialog.
116114

117115
Click the new tab **My Admin Tab**. The tab displays the same metrics on the decision service.
118116

119-
Click the **Decision Artifacts** tab. Expand the **Loan Validation Scoring>computation** package, and edit the rule **neverBankruptcy** (accept any default settings if prompted).
117+
![Business Console Custom GUI Admin](images/custom_gui_admin.png)
118+
119+
Click the **Decision Artifacts** tab. Expand the **computation** package of the **Loan Validation Scoring** project. Edit the rule **neverBankruptcy** (accept any default settings if prompted).
120120

121121
Click the button **My Info**. A dialog displays information on the rule.
122122

123-
Close the dialog and cancel the editing session. Click **main** in the breadcrumbs.
123+
Close the dialog and cancel the editing session to go back to the **Decision Artifacts** tab.
124124

125-
Click the **Decision Artifacts** tab and make sure that the operations are displayed. To display them, click **Types** and select **Operations**.
125+
Make sure that the **Operations** type are displayed. To display them, click **Types** and select **Operations**.
126126

127-
Expand the **Operations** folder under **Loan Validation Scoring** to edit the scoring operation.
127+
Click the **Operations** element under **Loan Validation Scoring** project and edit the **scoring** operation.
128128

129129
Click the button **My Operation Info**. A dialog displays information on the operation.
130130

131-
Close the dialog, and cancel the editing session. Click **main** in the breadcrumbs.
131+
Close the dialog, and cancel the editing session to go back to the **Decision Artifacts** tab.
132132

133-
Click the tab **Deployments** and edit the **test deployment configuration**.
133+
Click the **Deployments** tab and edit the **test deployment** configuration.
134134

135-
Click the **Targets** tab and select the **Decision Service Execution server**. Save the test deployment configuration.
135+
Click the **Targets** tab and make sure the **Decision Service Execution** server is well selected. Save the **test deployment** configuration and create a new version.
136136

137-
Click the name of the test deployment configuration.
137+
Click the name of the **test deployment** configuration.
138138

139-
Click the **Custom Deploy** button in the toolbar. A dialog shows the status of the deployment.
139+
Click the **Custom Deploy** button in the toolbar. This will start the deployment and a dialog shows its status: _Deploying..._ to _Report status: COMPLETED_
140140

141-
Close the dialog and log out of the Business console.
142-
143-
![Business Console Custom GUI Admin](images/custom_gui_admin.png)
141+
Close the dialog and log out of the Business Console.
144142

145143
#### To see the customization for a non-administrative user:
146144

147-
Log in to the Business console by using **Bea** as the username and password.
148-
149-
Open the **Library** tab. Click the **Loan Validation Service** box anywhere but the name, and then select the main branch.
145+
Log in to the Business Console by using **Bea** as the username and password.
150146

151-
Click the new button **My Button**. A dialog displays some metrics on the decision service. The dialog content is different from the content that is provided for the administrator.
147+
Open the **Library** tab. Click the **Loan Validation Service** box anywhere but the name, and then select the **main** branch.
152148

153-
Close the dialog and then click the new tab **My Tab**. The tab displays the same metrics on the decision service. The tab content is different from the content that is provided for the administrator.
149+
Click the new button **My Button**. A dialog displays some metrics on the decision service. The dialog content is different from the content that is provided for the an administrator user.
154150

155-
Log out of the Business console.
151+
Close the dialog and then click the new tab **My Tab**. The tab displays the same metrics on the decision service. The tab content is different from the content that is provided for an administrator user.
156152

157153
![Business Console Custom GUI](images/custom_gui.png)
154+
155+
Log out of the Business Console.
156+
157+

0 commit comments

Comments
 (0)