Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing, updating to 7.8 and adding features #9

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
be38726
Converted repo to the new format expected by Decision Central. I.e. a…
DuncanDoyle Oct 16, 2018
bb2d35a
small readme change.
eschabell Sep 30, 2020
9ab710e
Updated readme and removed outdated images.
eschabell Sep 30, 2020
8b2874f
{/src/main/resources/META-INF/kie-deployment-descriptor.xml}
Oct 5, 2020
b274a8d
{/src/test/resources/com/redhat/demo/qlb/loan_application/Test Intere…
Oct 5, 2020
efada28
Batch mode
Oct 5, 2020
7456d2e
{/project.repositories}
Oct 5, 2020
0f01f66
{/src/test/java/testscenario/ScenarioJunitActivatorTest.java}
Oct 5, 2020
f0b8dcf
{/src/test/resources/com/redhat/demo/qlb/loan_application/Test Intere…
Oct 5, 2020
16e17e6
{/src/test/resources/com/redhat/demo/qlb/loan_application/Test Intere…
Oct 5, 2020
e7476a8
{/src/test/resources/com/redhat/demo/qlb/loan_application/Test Intere…
Oct 5, 2020
56a7597
{/src/test/resources/com/redhat/demo/qlb/loan_application/Test Intere…
Oct 5, 2020
633fc02
Default persistence descriptor generated by system {/src/main/resourc…
Oct 5, 2020
120ce0d
Moving test scenario package
Oct 5, 2020
4cd32a2
merging with rachids repo
Oct 5, 2020
3712d50
Merge pull request #1 from kmacedovarela/adding-test-scenario-interes…
kmacedovarela Oct 5, 2020
5f91e32
removing duplicated model
Oct 5, 2020
7a666dc
merging and deleting duplicated models
Oct 5, 2020
120a6a7
renaming eligibilitty ttest scenario
Oct 6, 2020
a9901f4
updating readme
Oct 6, 2020
e004274
Updating url in readme file and adding link to the main repo
Oct 9, 2020
a83edff
Merge pull request #2 from kmacedovarela/master
kmacedovarela Oct 9, 2020
8ce641a
Removing reference from rhdm-install in readme
kmacedovarela Oct 9, 2020
aa24412
Merge branch 'master' into rhdm78-update
kmacedovarela Oct 9, 2020
2776cbd
Merge pull request #1 from jbossdemocentral/rhdm78-update
kmacedovarela Oct 9, 2020
02a2824
Format update in readme
kmacedovarela Oct 9, 2020
5e38073
removing deps from pom.xml
Nov 10, 2020
1d62750
update to 711
kmacedovarela Jul 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 4 additions & 57 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,70 +6,17 @@
<artifactId>loan-pre-approval</artifactId>
<version>1.0-SNAPSHOT</version>
<name>loan-pre-approval</name>
<description>RHDM 7.7.1 demo - Loan Pre-approval Decision Service for Quick Loan Bank</description>
<description>RHDM 7.11.0 demo - Loan Pre-approval Decision Service for Quick Loan Bank</description>
<properties>
<version.org.kie>7.33.0.Final-redhat-00003</version.org.kie>
<ba.version>7.7.1.redhat-00002</ba.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<version.org.kie>7.52.0.Final-redhat-00007</version.org.kie>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.redhat.ba</groupId>
<artifactId>ba-platform-bom</artifactId>
<version>${ba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-internal</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-scenario-simulation-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-scenario-simulation-backend</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-compiler</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-workbench-models-guided-dtable</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-feel</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
23 changes: 4 additions & 19 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
# Quick Loan Bank - Loan Pre-Approval Decision Service
Quick Loan Bank Project Demo Repository
=======================================
The quick loan bank repository for importing as a project in to Red Hat Decision Manager.

This demo project showcases the different rule authoring tools used to define complexe decision logic based on [Red Hat Decision Manager 7.7](https://www.redhat.com/en/technologies/jboss-middleware/businessrules).
Intended to be used with [Red Hat Decision Manager Quick Loan Bank Demo](https://github.com/jbossdemocentral/rhdm7-qlb-loan-demo).

![qlb rhdm 7.6 demo](global/qlb_rhdm.png?raw=true)

![qlb rhdm 7.6 decision flow](global/decision-flow.png)

The decision logic is then deployed and exposed as a decision service.

## Prerequisites
In order to import and deploy this demo, you need to install [Red Hat Decision Manager 7.7](https://github.com/jbossdemocentral/rhdm7-install-demo).


## Supporting videos

### Import a Project
[![Import a Project](https://i.imgur.com/1UkM1kj.pngj)](https://vimeo.com/259895728 "Import a Project")

### Build, Deploy and Test using Swagger
[![Build, Deploy and Test using Swagger](https://i.imgur.com/BreR7A7.png)](https://vimeo.com/259896609 "Build, Deploy and Test using Swagger")
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
[
[
"name" : "Email",
"parameters" : [
"From" : new StringDataType(),
"To" : new StringDataType(),
"Subject" : new StringDataType(),
"Body" : new StringDataType()
],
"displayName" : "Email",
"icon" : "defaultemailicon.gif"
],

[
"name" : "Log",
"parameters" : [
"Message" : new StringDataType()
],
"displayName" : "Log",
"icon" : "defaultlogicon.gif"
],

[
"name" : "WebService",
"parameters" : [
"Url" : new StringDataType(),
"Namespace" : new StringDataType(),
"Interface" : new StringDataType(),
"Operation" : new StringDataType(),
"Parameter" : new StringDataType(),
"Endpoint" : new StringDataType(),
"Mode" : new StringDataType()
],
"results" : [
"Result" : new ObjectDataType(),
],
"displayName" : "WS",
"icon" : "defaultservicenodeicon.png"
],

[
"name" : "Rest",
"parameters" : [
"ContentData" : new StringDataType(),
"Url" : new StringDataType(),
"Method" : new StringDataType(),
"ConnectTimeout" : new StringDataType(),
"ReadTimeout" : new StringDataType(),
"Username" : new StringDataType(),
"Password" : new StringDataType()
],
"results" : [
"Result" : new ObjectDataType(),
],
"displayName" : "REST",
"icon" : "defaultservicenodeicon.png"
],

[
"name" : "BusinessRuleTask",
"parameters" : [
"Language" : new StringDataType(),
"KieSessionName" : new StringDataType(),
"KieSessionType" : new StringDataType()
],
"displayName" : "Business Rule Task",
"icon" : "defaultbusinessrulesicon.png",
"category" : "Decision tasks"
],

[
"name" : "DecisionTask",
"parameters" : [
"Language" : new StringDataType(),
"Namespace" : new StringDataType(),
"Model" : new StringDataType(),
"Decision" : new StringDataType()
],
"displayName" : "Decision Task",
"icon" : "defaultdecisionicon.png",
"category" : "Decision tasks"
],

[
"name" : "Milestone",
"parameters" : [
"Condition" : new StringDataType()
],
"displayName" : "Milestone",
"icon" : "defaultmilestoneicon.png",
"category" : "Milestone"
]
]
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading