ICTU / DEI-SAP-POC

Real estate use case SSI exploration with DEI, SAP and ICTU
European Union Public License 1.2
0 stars 0 forks source link

As a Developer I want to apply and deploy basic Camunda DMN #28

Open sgort opened 1 year ago

sgort commented 1 year ago

For the rule engine we'll use Camunda Platform 7.16 on Apache Tomcat 9.0.60.

For development we need:

We illustrate the different steps in the comments in this issue.

sgort commented 1 year ago

connection Camunda Platform

Credentials for Camunda App are shared and available to SAP colleagues in the private SAP github. Please check the task complete if connectivity is successful.

sgort commented 1 year ago

open source Camunda Modeler

Camunda Modeler can be run on Windows, MacOS, and Linux. The corresponding packages can be found on the downloads page.

After installation the application shows this screen. Please check the task complete if installation is successful. image

sgort commented 1 year ago

create DMN model

We make a very simple decision table to determine whether someone is legally old enough to be allowed to make a (sales) transaction as specified in #8

sgort commented 1 year ago

deploy DMN

sgort commented 1 year ago

evaluate DMN via REST API

We will illustrate this with the POST /decision-definition/key/{key}/evaluate API call via Postman. Detailed REST API refernce can be found here

The {key} four our test can be found in the Camunda Cockpit details page of the deployed DMN. Here, this is Decision_17h4e0q. That might be different with your deployed version of the DMN.

We're ready to configure Postman now:

This finalizes the basics of Camunda DMN. Please check the final task complete where applicable.