Skip to content

Commit 6d12399

Browse files
authored
Merge pull request #7 from DecisionsDev/vnext-release
8.11.1.0/22.0.2 Release
2 parents d9453ad + 5712501 commit 6d12399

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+994
-988
lines changed

Loan Validation Service.zip

121 Bytes
Binary file not shown.

README.md

+21-11
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,48 @@
1-
# Getting started with Operational Decision Manager for Developers Docker image
1+
# Getting Started with IBM Operational Decision Manager for Containers
2+
23

34
## Audience
45

5-
This tutorial is for technical and business users who want an introduction to authoring and managing business rules in Operational Decision Manager (ODM) for Developers.
6+
This tutorial is for technical and business users who want an introduction to business rules authoring and management with IBM Operational Decision Manager (ODM) running in a container environment. Here are the different offerings where you can use this Getting Started tutorial:
7+
* [IBM Operational Decision Manager for Developers](https://hub.docker.com/r/ibmcom/odm/) - To deploy ODM in Docker environments, for evaluation and development purposes.
8+
* [IBM Operational Decision Manager for Developers on Certified Kubernetes](https://artifacthub.io/packages/helm/ibm-charts/ibm-odm-dev/22.2.0) - To deploy ODM on Certified Kubernetes environments, for evaluation and development purposes.
9+
* [IBM Operational Decision Manager for production on Certified Kubernetes](https://www.ibm.com/docs/en/odm/8.11.1?topic=kubernetes-installing-odm-production) - To deploy ODM on Certified Kubernetes environments, for production use.
10+
* [IBM Operational Decision Manager in IBM Cloud Pak for Business Automation](https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/22.0.2?topic=capabilities-operational-decision-manager) - To deploy ODM on RedHat OpenShift in the context of IBM Cloud Pak for Business Automation.
11+
612

713
## Time required
814

915
1 hour
1016

1117
## Learning objectives
1218

13-
Through a tour of Decision Center and the Rule Execution Server console, you learn how to collaborate with other users to create and modify rules in decision services, manage changes, run tests, deploy rule applications, and test and execute deployed rules as rulesets.
19+
Through a tour of Decision Center and the Decision Server console, you learn how to collaborate with other users to create and modify rules in decision services, manage changes, run tests, deploy rule applications, and test and execute deployed rules as rulesets.
1420

1521
This tutorial does not cover decision service development in Rule Designer, collaborative development in the decision governance framework, or simulations in Decision Center.
1622

1723
## Additional project
1824

19-
This tutorial uses the Miniloan Service decision service. To further explore the development components, you can use the following sample project, which come preloaded in the Decision Center Business console:
25+
This tutorial uses the Miniloan Service decision service. To further explore the development components, you can use the following sample project, which comes preloaded in the Decision Center Business console:
2026

2127
|Project|Description|
2228
|------|-----------|
2329
|Loan Validation Service|This decision service validates loans based on borrower data and loan parameters. It also computes loan insurance rates.|
2430

2531
## Table of contents
2632

27-
- [Tutorial scenario and prerequisites](gs_topics/tut_icp_gs_int.md)
28-
- [Task 1: Evaluating the decisions](gs_topics/tut_icp_gs_evaluate_changes_lsn.md)
29-
- [Task 2: Creating and editing rules](gs_topics/tut_icp_gs_create_rules_lsn.md)
30-
- [Task 3: Verifying updates and deploying](gs_topics/tut_icp_gs_test_deploy_lsn.md)
31-
- [Task 4: Exploring and testing the ruleset](gs_topics/tut_icp_gs_test_ruleset_lsn.md)
32-
- [Task 5: Cleaning out databases](gs_topics/tut_icp_gs_clean_db_lsn.md)
33+
- [Tutorial scenario and prerequisites](doc/topics/tut_icp_gs_int.md)
34+
- [Task 1: Evaluating the decisions](doc/topics/tut_icp_gs_evaluate_changes_lsn.md)
35+
- [Task 2: Creating and editing rules](doc/topics/tut_icp_gs_create_rules_lsn.md)
36+
- [Task 3: Verifying updates and deploying](doc/topics/tut_icp_gs_test_deploy_lsn.md)
37+
- [Task 4: Exploring and testing the ruleset](doc/topics/tut_icp_gs_test_ruleset_lsn.md)
38+
- [Task 5: Cleaning out databases](doc/topics/tut_icp_gs_clean_db_lsn.md)
39+
40+
## Issues and contributions
41+
42+
For issues specifically related to this tutorial, please use the [GitHub issue tracker](https://github.com/DecisionsDev/odm-for-container-getting-started/issues). For more general issues related to IBM Operational Decision Manager, you can [get help]([https://developer.ibm.com/odm/home/connect/](https://community.ibm.com/community/user/automation/communities/community-home?CommunityKey=c0005a22-520b-4181-bfad-feffd8bdc022)) from the ODM community or, if you own production licenses for Operational Decision Manager, through the usual support channels.
3343

3444
## Licensing information
3545

3646
Copyright IBM Corp. 1987, 2022. Licensed to the Apache Software Foundation \(ASF\) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 \(the "License"\); you may not use this file except in compliance with the License. You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0). Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
3747

38-
[**Next** ![Next icon](gs_images/next.jpg)](gs_topics/tut_icp_gs_int.md)
48+
[**Next** ![Next icon](doc/images/next.jpg)](doc/topics/tut_icp_gs_int.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<projectDescription>
3-
<name>Miniloan Service</name>
4-
<comment></comment>
5-
<projects>
6-
<project>miniloan-xom</project>
7-
</projects>
8-
<buildSpec>
9-
<buildCommand>
10-
<name>ilog.rules.studio.model.ruleBuilder</name>
11-
<arguments>
12-
</arguments>
13-
</buildCommand>
14-
</buildSpec>
15-
<natures>
16-
<nature>ilog.rules.studio.model.decisionProject</nature>
17-
<nature>ilog.rules.studio.model.operationProject</nature>
18-
<nature>ilog.rules.studio.model.ruleNature</nature>
19-
</natures>
20-
</projectDescription>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Miniloan Service</name>
4+
<comment></comment>
5+
<projects>
6+
<project>miniloan-xom</project>
7+
</projects>
8+
<buildSpec>
9+
<buildCommand>
10+
<name>ilog.rules.studio.model.ruleBuilder</name>
11+
<arguments>
12+
</arguments>
13+
</buildCommand>
14+
</buildSpec>
15+
<natures>
16+
<nature>ilog.rules.studio.model.decisionProject</nature>
17+
<nature>ilog.rules.studio.model.operationProject</nature>
18+
<nature>ilog.rules.studio.model.ruleNature</nature>
19+
</natures>
20+
</projectDescription>
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<ilog.rules.studio.model.base:RuleProject xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:com.ibm.rules.studio.model.decisionservice="http://com.ibm.rules.studio/model/decisionservice.ecore" xmlns:ilog.rules.studio.model.base="http://ilog.rules.studio/model/base.ecore" xmlns:ilog.rules.studio.model.bom="http://ilog.rules.studio/model/bom.ecore" xmlns:ilog.rules.studio.model.query="http://ilog.rules.studio/model/query.ecore" xmlns:ilog.rules.studio.model.rule="http://ilog.rules.studio/model/rule.ecore" xmlns:ilog.rules.studio.model.xom="http://ilog.rules.studio/model/xom.ecore" buildMode="DecisionEngine" isADecisionService="true" migrationFlag="3" MigratedToOperationId="33a64099-9f21-4b28-9d24-b61f1ae28e50">
3-
<name>Miniloan Service</name>
4-
<uuid>f4440cab-4dca-471c-8a9e-ec05ede7c031</uuid>
5-
<outputLocation>output</outputLocation>
6-
<categories>any</categories>
7-
<paths xsi:type="ilog.rules.studio.model.xom:XOMPath" pathID="XOM">
8-
<entries xsi:type="ilog.rules.studio.model.xom:LibraryXOMPathEntry" name="org.eclipse.jdt.launching.JRE_CONTAINER" url="file:org.eclipse.jdt.launching.JRE_CONTAINER" kind="LIBRARY"/>
9-
<entries xsi:type="ilog.rules.studio.model.xom:SystemXOMPathEntry" name="miniloan-xom" url="platform:/miniloan-xom" kind="JAVA_PROJECT"/>
10-
</paths>
11-
<paths xsi:type="ilog.rules.studio.model.bom:BOMPath" pathID="BOM">
12-
<entries xsi:type="ilog.rules.studio.model.bom:BOMEntry" name="miniloan" url="platform:/Miniloan Service/bom/miniloan.bom" origin="xom:/Miniloan Service/miniloan-xom"/>
13-
</paths>
14-
<modelFolders xsi:type="ilog.rules.studio.model.base:SourceFolder">
15-
<name>rules</name>
16-
</modelFolders>
17-
<modelFolders xsi:type="ilog.rules.studio.model.bom:BOMFolder">
18-
<name>bom</name>
19-
</modelFolders>
20-
<modelFolders xsi:type="ilog.rules.studio.model.rule:TemplateFolder">
21-
<name>templates</name>
22-
</modelFolders>
23-
<modelFolders xsi:type="ilog.rules.studio.model.query:QueryFolder">
24-
<name>queries</name>
25-
</modelFolders>
26-
<modelFolders xsi:type="com.ibm.rules.studio.model.decisionservice:OperationFolder">
27-
<name>deployment</name>
28-
</modelFolders>
29-
<modelFolders xsi:type="ilog.rules.studio.model.base:ResourceFolder">
30-
<name>resources</name>
31-
</modelFolders>
32-
</ilog.rules.studio.model.base:RuleProject>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ilog.rules.studio.model.base:RuleProject xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:com.ibm.rules.studio.model.decisionservice="http://com.ibm.rules.studio/model/decisionservice.ecore" xmlns:ilog.rules.studio.model.base="http://ilog.rules.studio/model/base.ecore" xmlns:ilog.rules.studio.model.bom="http://ilog.rules.studio/model/bom.ecore" xmlns:ilog.rules.studio.model.query="http://ilog.rules.studio/model/query.ecore" xmlns:ilog.rules.studio.model.rule="http://ilog.rules.studio/model/rule.ecore" xmlns:ilog.rules.studio.model.xom="http://ilog.rules.studio/model/xom.ecore" buildMode="DecisionEngine" isADecisionService="true" migrationFlag="3" MigratedToOperationId="33a64099-9f21-4b28-9d24-b61f1ae28e50">
3+
<name>Miniloan Service</name>
4+
<uuid>f4440cab-4dca-471c-8a9e-ec05ede7c031</uuid>
5+
<outputLocation>output</outputLocation>
6+
<categories>any</categories>
7+
<paths xsi:type="ilog.rules.studio.model.xom:XOMPath" pathID="XOM">
8+
<entries xsi:type="ilog.rules.studio.model.xom:LibraryXOMPathEntry" name="org.eclipse.jdt.launching.JRE_CONTAINER" url="file:org.eclipse.jdt.launching.JRE_CONTAINER" kind="LIBRARY"/>
9+
<entries xsi:type="ilog.rules.studio.model.xom:SystemXOMPathEntry" name="miniloan-xom" url="platform:/miniloan-xom" kind="JAVA_PROJECT"/>
10+
</paths>
11+
<paths xsi:type="ilog.rules.studio.model.bom:BOMPath" pathID="BOM">
12+
<entries xsi:type="ilog.rules.studio.model.bom:BOMEntry" name="miniloan" url="platform:/Miniloan Service/bom/miniloan.bom" origin="xom:/Miniloan Service/miniloan-xom"/>
13+
</paths>
14+
<modelFolders xsi:type="ilog.rules.studio.model.base:SourceFolder">
15+
<name>rules</name>
16+
</modelFolders>
17+
<modelFolders xsi:type="ilog.rules.studio.model.bom:BOMFolder">
18+
<name>bom</name>
19+
</modelFolders>
20+
<modelFolders xsi:type="ilog.rules.studio.model.rule:TemplateFolder">
21+
<name>templates</name>
22+
</modelFolders>
23+
<modelFolders xsi:type="ilog.rules.studio.model.query:QueryFolder">
24+
<name>queries</name>
25+
</modelFolders>
26+
<modelFolders xsi:type="com.ibm.rules.studio.model.decisionservice:OperationFolder">
27+
<name>deployment</name>
28+
</modelFolders>
29+
<modelFolders xsi:type="ilog.rules.studio.model.base:ResourceFolder">
30+
<name>resources</name>
31+
</modelFolders>
32+
</ilog.rules.studio.model.base:RuleProject>
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
<?xml version="1.0" encoding="UTF-8"?><launchConfiguration type="com.ibm.rules.studio.decisionservice.launching.DecisionOperation">
2-
<stringAttribute key="com.ibm.rules.studio.decisionservice.ui.OPERATION_PATH" value="/Miniloan Service/deployment/Miniloan ServiceOperation"/>
3-
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_FUNCT_SIGN">
4-
<mapEntry key="borrower" value="function miniloan.Borrower get_borrower_value()"/>
5-
<mapEntry key="loan" value="function miniloan.Loan get_loan_value()"/>
6-
</mapAttribute>
7-
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_FUNCT_VALUES">
8-
<mapEntry key="borrower" value="return new miniloan.Borrower(&quot;Joe&quot;, 600, 8000);"/>
9-
<mapEntry key="loan" value="return new miniloan.Loan(50000, 240, 0.05);"/>
10-
</mapAttribute>
11-
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_NAMES">
12-
<mapEntry key="borrower" value="borrower"/>
13-
<mapEntry key="loan" value="loan"/>
14-
</mapAttribute>
15-
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_SIMPLE_VALUES">
16-
<mapEntry key="borrower" value="new miniloan.Borrower(&quot;Joe&quot;, 600, 8000)"/>
17-
<mapEntry key="loan" value="new miniloan.Loan(50000, 240, 0.05)"/>
18-
</mapAttribute>
19-
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_TYPES">
20-
<mapEntry key="borrower" value="1"/>
21-
<mapEntry key="loan" value="1"/>
22-
</mapAttribute>
23-
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
24-
<listEntry value="/Miniloan Service"/>
25-
<listEntry value="/Miniloan Service"/>
26-
<listEntry value="/Miniloan Service/deployment/Miniloan ServiceOperation.dop"/>
27-
</listAttribute>
28-
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
29-
<listEntry value="4"/>
30-
<listEntry value="4"/>
31-
<listEntry value="1"/>
32-
</listAttribute>
33-
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Miniloan Service"/>
1+
<?xml version="1.0" encoding="UTF-8"?><launchConfiguration type="com.ibm.rules.studio.decisionservice.launching.DecisionOperation">
2+
<stringAttribute key="com.ibm.rules.studio.decisionservice.ui.OPERATION_PATH" value="/Miniloan Service/deployment/Miniloan ServiceOperation"/>
3+
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_FUNCT_SIGN">
4+
<mapEntry key="borrower" value="function miniloan.Borrower get_borrower_value()"/>
5+
<mapEntry key="loan" value="function miniloan.Loan get_loan_value()"/>
6+
</mapAttribute>
7+
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_FUNCT_VALUES">
8+
<mapEntry key="borrower" value="return new miniloan.Borrower(&quot;Joe&quot;, 600, 8000);"/>
9+
<mapEntry key="loan" value="return new miniloan.Loan(50000, 240, 0.05);"/>
10+
</mapAttribute>
11+
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_NAMES">
12+
<mapEntry key="borrower" value="borrower"/>
13+
<mapEntry key="loan" value="loan"/>
14+
</mapAttribute>
15+
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_SIMPLE_VALUES">
16+
<mapEntry key="borrower" value="new miniloan.Borrower(&quot;Joe&quot;, 600, 8000)"/>
17+
<mapEntry key="loan" value="new miniloan.Loan(50000, 240, 0.05)"/>
18+
</mapAttribute>
19+
<mapAttribute key="ilog.rules.studio.launching.RULESET_PARAMETERS_TYPES">
20+
<mapEntry key="borrower" value="1"/>
21+
<mapEntry key="loan" value="1"/>
22+
</mapAttribute>
23+
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
24+
<listEntry value="/Miniloan Service"/>
25+
<listEntry value="/Miniloan Service"/>
26+
<listEntry value="/Miniloan Service/deployment/Miniloan ServiceOperation.dop"/>
27+
</listAttribute>
28+
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
29+
<listEntry value="4"/>
30+
<listEntry value="4"/>
31+
<listEntry value="1"/>
32+
</listAttribute>
33+
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Miniloan Service"/>
3434
</launchConfiguration>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<b2x:translation xmlns:b2x="http://schemas.ilog.com/JRules/1.3/Translation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.ilog.com/JRules/1.3/Translation ilog/rules/schemas/1_3/b2x.xsd">
2-
<id>b8f926e7-3133-4e64-9732-429d94bcea23</id>
3-
<lang>ARL</lang>
1+
<b2x:translation xmlns:b2x="http://schemas.ilog.com/JRules/1.3/Translation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.ilog.com/JRules/1.3/Translation ilog/rules/schemas/1_3/b2x.xsd">
2+
<id>b8f926e7-3133-4e64-9732-429d94bcea23</id>
3+
<lang>ARL</lang>
44
</b2x:translation>
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
2-
property loadGetterSetterAsProperties "true"
3-
property origin "xom:/Miniloan Service/miniloan-xom"
4-
property uuid "d3f41bc5-5c35-4232-aa7b-23ae87e16477"
5-
package miniloan;
6-
7-
8-
public class Borrower
9-
{
10-
public int creditScore;
11-
public readonly string name;
12-
public int yearlyIncome;
13-
public Borrower(string name, int creditScore, int yearlyIncome)
14-
property "ilog.rules.engine.dataio.forConversion" "true";
15-
public Borrower();
16-
}
17-
18-
public class Loan
19-
{
20-
public readonly int amount;
21-
public readonly string approvalStatus
22-
property "factory.ignore" "true";
23-
public boolean approved
24-
property "factory.ignore" "true";
25-
public readonly int duration;
26-
public readonly java.util.Collection messages domain 0,* class string;
27-
public readonly double yearlyInterestRate;
28-
public readonly int yearlyRepayment;
29-
public Loan(int amount, int duration, double yearlyInterestRate)
30-
property "ilog.rules.engine.dataio.forConversion" "true";
31-
public Loan();
32-
public void addToMessages(string arg);
33-
public void reject();
34-
public void removeFromMessages(string arg);
35-
}
36-
1+
2+
property loadGetterSetterAsProperties "true"
3+
property origin "xom:/Miniloan Service/miniloan-xom"
4+
property uuid "d3f41bc5-5c35-4232-aa7b-23ae87e16477"
5+
package miniloan;
6+
7+
8+
public class Borrower
9+
{
10+
public int creditScore;
11+
public readonly string name;
12+
public int yearlyIncome;
13+
public Borrower(string name, int creditScore, int yearlyIncome)
14+
property "ilog.rules.engine.dataio.forConversion" "true";
15+
public Borrower();
16+
}
17+
18+
public class Loan
19+
{
20+
public readonly int amount;
21+
public readonly string approvalStatus
22+
property "factory.ignore" "true";
23+
public boolean approved
24+
property "factory.ignore" "true";
25+
public readonly int duration;
26+
public readonly java.util.Collection messages domain 0,* class string;
27+
public readonly double yearlyInterestRate;
28+
public readonly int yearlyRepayment;
29+
public Loan(int amount, int duration, double yearlyInterestRate)
30+
property "ilog.rules.engine.dataio.forConversion" "true";
31+
public Loan();
32+
public void addToMessages(string arg);
33+
public void reject();
34+
public void removeFromMessages(string arg);
35+
}
36+

0 commit comments

Comments
 (0)