diff --git a/dmn-repo/risk_check_en.dmn b/dmn-repo/risk_check_en.dmn new file mode 100644 index 0000000..6b4fdde --- /dev/null +++ b/dmn-repo/risk_check_en.dmn @@ -0,0 +1,134 @@ + + + + + + + age + + + + + employment + + + + + category + + + + + score + + + + + + + + <= 30 + + + - + + + + + + <=85 + + + "Won't Pay In Time" + + + "red" + + + + + + + + + "Unemployed" + + + not("Basic Package") + + + <=95 + + + "Lack Of Income" + + + "red" + + + + + + <= 30 + + + "Self-employed" + + + "Premium Package" + + + + + + "Irregular And Possibly Lack Of Income" + + + "yellow" + + + + + + + + + "Freelancer", "Self-employed" + + + - + + + <=95 + + + "Not Trustworthy" + + + "yellow" + + + + + + + + + "Salaried" + + + "Premium Package" + + + <90 + + + "Too Low Income" + + + "yellow" + + + + + diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index bda70d2..ecde08f 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -1,5 +1,9 @@ zeebe: client: +# cloud: +# clusterId: +# clientId: +# clientSecret: worker: defaultName: camunda-dmn-worker defaultType: DMN @@ -8,6 +12,7 @@ zeebe: dmn.repository: dmn-repo job.timeout: 10000 + # remove the following two lines when using Camunda Cloud SaaS broker.contactPoint: 127.0.0.1:26500 security.plaintext: true