Skip to content

Commit 0da6203

Browse files
authored
Merge pull request #19 from DecisionsDev/review-samples-fme
Review samples fme
2 parents 0de63c8 + 3c13e1d commit 0da6203

8 files changed

Lines changed: 20 additions & 12 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ decisioncenter/dynamicdomain/src/ilog.rules.studio.samples.bomdomainpopulate/bin
44
decisioncenter/dynamicdomain/src/ilog.rules.studio.samples.bomdomainpopulate/target
55
decisioncenter/dynamicdomain/src/ilog.rules.studio.samples.bomdomainpopulate/bomdomainpopulate.jar
66
decisioncenter/dynamicdomain/src/ilog.rules.studio.samples.bomdomainpopulate/decision-center-client-api.zip
7+
decisioncenter/businessvalueeditor/businessvalueeditor-source/target
8+
decisioncenter/guicustomization/guicustomization-source/target
9+
decisioncenter/businessvalueeditor/businessvalueeditor-source/lib/executionserver/lib
10+
decisioncenter/businessvalueeditor/businessvalueeditor-source/lib
11+
decision-center-client-api.zip
12+
decisioncenter/guicustomization/guicustomization-source/lib

decisioncenter/guicustomization/README-DOCKER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before following the steps below, make sure you have built the images as explain
1616
1717
Run ODM docker images containing GUI customization:
1818
```bash
19-
docker-compose -f compose-odm-dev.yml up odm-with-gui-customization &
19+
docker-compose -f compose-odm-dev.yml up -d odm-with-gui-customization
2020
```
2121

2222
### Using the sample

decisioncenter/guicustomization/README-KUBERNETES.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ helm search repo ibm-odm-prod
5959
```
6060
```bash
6161
NAME CHART VERSION APP VERSION DESCRIPTION
62-
ibm-helm/ibm-odm-prod 25.1.0 9.5.0.1 IBM Operational Decision Manager
62+
ibm-helm/ibm-odm-prod 26.0.0 9.6.0.0 IBM Operational Decision Manager
6363
```
6464

6565
#### e. Create a secret to manage custom authentication/authorization
@@ -118,15 +118,15 @@ Click the new tab **My Admin Tab**. The tab displays the same metrics on the dec
118118

119119
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

121-
Click the button **My Info**. A dialog displays information on the rule.
121+
Click the **My Info** icon in the toolbar. A dialog displays information on the rule.
122122

123123
Close the dialog and cancel the editing session to go back to the **Decision Artifacts** tab.
124124

125125
Make sure that the **Operations** type are displayed. To display them, click **Types** and select **Operations**.
126126

127127
Click the **Operations** element under **Loan Validation Scoring** project and edit the **scoring** operation.
128128

129-
Click the button **My Operation Info**. A dialog displays information on the operation.
129+
Click the **My Operation Info** icon in the toolbar. A dialog displays information on the operation.
130130

131131
Close the dialog, and cancel the editing session to go back to the **Decision Artifacts** tab.
132132

@@ -136,7 +136,7 @@ Click the **Targets** tab and make sure the **Decision Service Execution** serve
136136

137137
Click the name of the **test deployment** configuration.
138138

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_
139+
Click the **Custom Deploy** icon in the toolbar. This will start the deployment and a dialog shows its status: _Deploying..._ to _Report status: COMPLETED_
140140

141141
Close the dialog and log out of the Business Console.
142142

decisioncenter/guicustomization/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
This sample shows you how to customize the Business Console using [GUI customization sample](https://www.ibm.com/docs/en/odm/9.5.0?topic=center-gui-customization) in a container environment.
5+
This sample shows you how to customize the Business Console using [GUI customization sample](https://www.ibm.com/docs/en/odm/9.6.0?topic=center-gui-customization) in a container environment.
66

77
## Running this sample in Decision Center
88

@@ -43,7 +43,7 @@ To use the sample in Decision Center, you need to build a JAR.
4343
4444
2. Build the JAR
4545
46-
The instructions below enable to build the JAR using a Docker container featuring Maven and a JDK version 21, compatible for ODM 9.5.
46+
The instructions below enable to build the JAR using a Docker container featuring Maven and a JDK version 21, compatible for ODM 9.6.
4747
4848
Run the command below in the **decisioncenter/guicustomization/guicustomization-source** directory:
4949

decisioncenter/guicustomization/guicustomization-source/compose-odm-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
odm:
3-
image: icr.io/cpopen/odm-k8s/odm:9.5
3+
image: icr.io/cpopen/odm-k8s/odm:9.6
44
mem_limit: 4G
55
memswap_limit: 4G
66
user: "1001:0"
@@ -12,7 +12,7 @@ services:
1212
- 9453:9453
1313

1414
odm-with-gui-customization:
15-
image: icr.io/cpopen/odm-k8s/odm:9.5
15+
image: icr.io/cpopen/odm-k8s/odm:9.6
1616
mem_limit: 4G
1717
memswap_limit: 4G
1818
user: "1001:0"

decisioncenter/webhooknotifier/README-DOCKER.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Before following the steps below, make sure you have built the images as explain
1111

1212
1. Run ODM and Notifiers docker images
1313
```bash
14-
docker-compose -f docker-compose.yaml -f compose-odm-dev.yml up
14+
docker-compose -f docker-compose.yaml -f compose-odm-dev.yml up -d
1515
```
1616

1717
2. Register the webhook in Decision Center using the REST API tool, providing the token and URL (`http://localhost:3000/slack` and `http://localhost:3000/print`).
@@ -67,7 +67,7 @@ After creating this snapshot, a notification will be triggered.
6767
To view the content of the generated log file, run the following command:
6868

6969
```shell
70-
docker exec -ti <webhooknotifier-logfile-container-id> sh -c 'cat /app/results/default.txt'
70+
docker exec -ti webhooknotifier-logfile sh -c 'cat /app/results/default.txt'
7171
```
7272

7373

decisioncenter/webhooknotifier/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This NodeJS sample code will be packaged in two docker images.
3939
> Note: The docker-compose build command will produce images based on your local machine’s architecture. If you plan to deploy this sample on a Kubernetes cluster, ensure the target environment uses the same architecture (e.g., amd64 vs. arm64) to avoid compatibility issues. You may also need to specify a platform explicitly if building for a different architecture.
4040
> For instance, you can make sure that the images are built for the `amd64` architecture by running:
4141
```bash
42-
docker-compose build -f docker-compose-amd64.yaml
42+
docker-compose -f docker-compose-amd64.yaml build
4343
```
4444

4545
### Run the sample

decisioncenter/webhooknotifier/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ services:
1111
slack:
1212
build:
1313
context: ./slack
14+
container_name: webhooknotifier-slack
1415
environment:
1516
NODE_ENV: production
1617
ports:
1718
- 3000:3000
1819
logfile:
1920
build:
2021
context: ./files
22+
container_name: webhooknotifier-logfile
2123
environment:
2224
NODE_ENV: production
2325
ports:

0 commit comments

Comments
 (0)