-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add multiple dmn deployment test
Our testcases were missing a scenario where we deploy multiple DRGs at once.
- Loading branch information
1 parent
751140f
commit 4a912e0
Showing
2 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
engine/src/test/resources/dmn/decision-table-with-renamed-drg-and-decision.dmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="star-wars" name="Star Wars" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.0.0"> | ||
<decision id="sith_or_jedi" name="Jedi or Sith"> | ||
<decisionTable id="DecisionTable_14n3bxx"> | ||
<input id="Input_1" label="Lightsaber color" biodi:width="192"> | ||
<inputExpression id="InputExpression_1" typeRef="string"> | ||
<text>lightsaberColor</text> | ||
</inputExpression> | ||
</input> | ||
<output id="Output_1" label="Jedi or Sith" name="jedi_or_sith" typeRef="string" biodi:width="192"> | ||
<outputValues id="UnaryTests_0hj346a"> | ||
<text>"Jedi","Sith"</text> | ||
</outputValues> | ||
</output> | ||
<rule id="DecisionRule_0zumznl"> | ||
<inputEntry id="UnaryTests_0leuxqi"> | ||
<text>"blue"</text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_0c9vpz8"> | ||
<text>"Jedi"</text> | ||
</outputEntry> | ||
</rule> | ||
<rule id="DecisionRule_1utwb1e"> | ||
<inputEntry id="UnaryTests_1v3sd4m"> | ||
<text>"green"</text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_0tgh8k1"> | ||
<text>"Jedi"</text> | ||
</outputEntry> | ||
</rule> | ||
<rule id="DecisionRule_1bwgcym"> | ||
<inputEntry id="UnaryTests_0n1ewm3"> | ||
<text>"red"</text> | ||
</inputEntry> | ||
<outputEntry id="LiteralExpression_19xnlkw"> | ||
<text>"Sith"</text> | ||
</outputEntry> | ||
</rule> | ||
</decisionTable> | ||
</decision> | ||
<dmndi:DMNDI> | ||
<dmndi:DMNDiagram> | ||
<dmndi:DMNShape dmnElementRef="sith_or_jedi"> | ||
<dc:Bounds height="80" width="180" x="160" y="100" /> | ||
</dmndi:DMNShape> | ||
</dmndi:DMNDiagram> | ||
</dmndi:DMNDI> | ||
</definitions> |