Skip to content

Commit

Permalink
Bump Camunda DMN to 7.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joleaf committed Apr 29, 2024
1 parent 1afbc6c commit a7b7e2b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All changes to this plugin are listed here.

## 0.4.1 (2024-04-29)

### Updated

- Update to camunda 7.21.0

## 0.4.0 (2024-01-01)

### Updated
Expand Down
2 changes: 1 addition & 1 deletion DmnEvaluator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<version>1.0-SNAPSHOT</version>

<properties>
<version.camunda>7.20.0</version.camunda>
<version.camunda>7.21.0</version.camunda>
<slf4j.version>2.0.5</slf4j.version>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
Expand Down
8 changes: 4 additions & 4 deletions DmnEvaluator/src/main/java/de/joleaf/dmn/evaluate/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
public class Main {
public static void main(String[] args) {
// create default DMN engine configuration
DmnEngineConfiguration configuration = DmnEngineConfiguration
.createDefaultDmnEngineConfiguration();
DmnEngineConfiguration configuration = DmnEngineConfiguration.createDefaultDmnEngineConfiguration();
DmnEngine dmnEngine = configuration.buildEngine();

// read the DMN XML file as input stream
Expand Down Expand Up @@ -44,7 +43,7 @@ public static void main(String[] args) {
}
}
} catch (Exception e) {
System.err.println("Error while reading variables!");
System.err.println("Error while reading input variables!");
System.err.println(e.getMessage());
return;
}
Expand All @@ -61,7 +60,8 @@ public static void main(String[] args) {

// Print the result to system out
for (DmnDecisionResultEntries r : result) {
System.out.println(r.entrySet().stream().map(e -> e.getKey() + "::" + e.getValue().toString()).collect(Collectors.joining("||")));
String resultLine = r.entrySet().stream().map(e -> e.getKey() + "::" + e.getValue().toString()).collect(Collectors.joining("||"));
System.out.println(resultLine);
}
}
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "dmn-eval",
"name": "DMN Eval",
"version": "0.4.0",
"version": "0.4.1",
"minAppVersion": "0.15.0",
"description": "This plugin enables evaluating/executing DMN",
"author": "JoLeaf",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dmn-eval",
"version": "0.4.0",
"version": "0.4.1",
"description": "This plugin enables evaluating/executing DMNs.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"0.2.1": "0.15.0",
"0.2.2": "0.15.0",
"0.3.0": "0.15.0",
"0.4.0": "0.15.0"
"0.4.0": "0.15.0",
"0.4.1": "0.15.0"
}

0 comments on commit a7b7e2b

Please sign in to comment.