Skip to content

Commit

Permalink
Merged master-portable into master
Browse files Browse the repository at this point in the history
  • Loading branch information
oas committed Feb 21, 2023
1 parent 102a5e3 commit 4c7c040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<dependency>
<groupId>com.github.materna-se</groupId>
<artifactId>jdec</artifactId>
<version>2.9.9-SNAPSHOT</version>
<version>2.9.10-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import de.materna.jdec.CamundaDecisionSession;
import de.materna.jdec.DMNDecisionSession;
import de.materna.jdec.GoldmanDecisionSession;
import de.materna.jdec.dmn.DroolsAnalyzer;
import de.materna.jdec.model.*;
import de.materna.jdec.serialization.SerializationHelper;
import org.kie.dmn.api.core.DMNModel;
Expand Down Expand Up @@ -182,7 +183,7 @@ public Response getInputs(@PathParam("workspace") String workspaceUUID) throws I

Map<String, InputStructure> decisions = new HashMap<>();
for (DecisionNode decision : mainModel.getDecisions()) {
decisions.put(decision.getName(), new InputStructure(decision.getResultType().getName()));
decisions.put(decision.getName(), DroolsAnalyzer.getInputStructure(decision.getResultType()));
}
context.put("decisions", decisions);
}
Expand Down

0 comments on commit 4c7c040

Please sign in to comment.