Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Feb 19, 2023
1 parent ac91e76 commit 3d51790
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 81 deletions.
46 changes: 23 additions & 23 deletions open-bpmn.glsp-client/workspace/test-condition.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,19 @@
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="SequenceFlow_I43D0g" name="" sourceRef="gateway_1zTmAA" targetRef="event_3cX4lQ">
<bpmn2:documentation id="documentation_eOr7sA"/>
<bpmn2:conditionExpression id="FormalExpression_1PuBqg" xsi:type="bpmn2:tFormalExpression"><![CDATA[1==1]]></bpmn2:conditionExpression>
<bpmn2:conditionExpression id="FormalExpression_w6NIeg" xsi:type="bpmn2:tFormalExpression">
<![CDATA[2==2]]>
</bpmn2:conditionExpression>
</bpmn2:sequenceFlow>
<bpmn2:endEvent id="event_WnsvSg" name="Event-3">
<bpmn2:documentation id="documentation_O8HcBg"/>
<bpmn2:incoming>SequenceFlow_FvH7LA</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="SequenceFlow_FvH7LA" name="s" sourceRef="gateway_1zTmAA" targetRef="event_WnsvSg">
<bpmn2:sequenceFlow id="SequenceFlow_FvH7LA" name="" sourceRef="gateway_1zTmAA" targetRef="event_WnsvSg">
<bpmn2:documentation id="documentation_KPFASA"/>
<bpmn2:conditionExpression id="FormalExpression_E00juw" xsi:type="bpmn2:tFormalExpression"><![CDATA[asdasd]]></bpmn2:conditionExpression>
<bpmn2:conditionExpression id="FormalExpression_QAVvZQ" xsi:type="bpmn2:tFormalExpression">
<![CDATA[asdasd 1=1]]>
</bpmn2:conditionExpression>
</bpmn2:sequenceFlow>
<bpmn2:intermediateCatchEvent id="event_gkDiWA" name="Event-4">
<bpmn2:documentation id="documentation_Maiz2A"/>
Expand All @@ -47,7 +51,15 @@
</bpmn2:intermediateCatchEvent>
<bpmn2:sequenceFlow id="SequenceFlow_0VprFQ" name="" sourceRef="event_J40Y8w" targetRef="event_O0ZW0w">
<bpmn2:documentation id="documentation_g9iwAQ"/>
<bpmn2:conditionExpression id="FormalExpression_lmBU7w" xsi:type="bpmn2:tFormalExpression"><![CDATA[ddd]]></bpmn2:conditionExpression>
<bpmn2:conditionExpression id="FormalExpression_lmBU7w" xsi:type="bpmn2:tFormalExpression">



<![CDATA[ddd]]>



</bpmn2:conditionExpression>
</bpmn2:sequenceFlow>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="OpenBPMN Diagram">
Expand All @@ -65,23 +77,18 @@
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="gateway_1zTmAA" id="BPMNShape_xdEQPw">
<dc:Bounds height="50.0" width="50.0" x="342.0" y="165.0"/>
<dc:Bounds height="50.0" width="50.0" x="340.0" y="165.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_nFxuZw">
<dc:Bounds height="16.0" width="100.0" x="317.0" y="215.0"/>
<dc:Bounds height="16.0" width="100.0" x="315.0" y="215.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_yOTKsQ" id="BPMNEdge_X3Nbvg" sourceElement="BPMNShape_oMsdpw" targetElement="BPMNShape_xdEQPw">


<di:waypoint x="261.0" y="190.0"/>
<di:waypoint x="342.0" y="190.0"/>
<di:waypoint x="340.0" y="190.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_I43D0g" id="BPMNEdge_Kyf5AQ" sourceElement="BPMNShape_xdEQPw" targetElement="BPMNShape_z0fRjw">



<di:waypoint x="362.5" y="210.5"/>
<di:waypoint x="362.5" y="293.0"/>
<di:waypoint x="365.5" y="214.5"/>
<di:waypoint x="365.5" y="293.0"/>
<di:waypoint x="502.45007122521577" y="293.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape bpmnElement="event_WnsvSg" id="BPMNShape_wnkCSQ">
Expand All @@ -91,9 +98,7 @@
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_FvH7LA" id="BPMNEdge_0p8Psg" sourceElement="BPMNShape_xdEQPw" targetElement="BPMNShape_wnkCSQ">


<di:waypoint x="392.0" y="190.0"/>
<di:waypoint x="390.0" y="190.0"/>
<di:waypoint x="502.0" y="190.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape bpmnElement="event_gkDiWA" id="BPMNShape_e008ow">
Expand All @@ -103,10 +108,7 @@
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_XYc7OA" id="BPMNEdge_QBAxbA" sourceElement="BPMNShape_xdEQPw" targetElement="BPMNShape_e008ow">



<di:waypoint x="365.0" y="167.0"/>
<di:waypoint x="365.0" y="165.0"/>
<di:waypoint x="365.0" y="101.0"/>
<di:waypoint x="502.45007122521577" y="101.0"/>
</bpmndi:BPMNEdge>
Expand All @@ -117,8 +119,6 @@
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_0VprFQ" id="BPMNEdge_SdYVsA" sourceElement="BPMNShape_oMsdpw" targetElement="BPMNShape_HIWbAw">


<di:waypoint x="225.0" y="190.0"/>
<di:waypoint x="144.0" y="190.0"/>
</bpmndi:BPMNEdge>
Expand Down
87 changes: 87 additions & 0 deletions open-bpmn.glsp-client/workspace/test-imixs.bpmn
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:BPMN2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:imixs="http://www.imixs.org/bpmn2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="org.openbpmn" exporterVersion="1.0.0" targetNamespace="http://org.openbpmn">
<bpmn2:process id="process_1" name="Default Process" processType="Public">
<bpmn2:documentation id="documentation_53zO2Q"/>
<bpmn2:intermediateCatchEvent id="event_LcowIw" name="Event-1">
<bpmn2:documentation id="documentation_2oDdAg">
























<![CDATA[f
a]]>
























</bpmn2:documentation>
<bpmn2:timerEventDefinition id="timerEventDefinition_FH7vqg">
<bpmn2:timeDuration id="FormalExpression_0" xsi:type="bpmn2:tFormalExpression">30</bpmn2:timeDuration>
</bpmn2:timerEventDefinition>
<bpmn2:conditionalEventDefinition expression="2==2" id="conditionalEventDefinition_tsuKvw" language="lll"/>
<bpmn2:conditionalEventDefinition expression="1==1" id="conditionalEventDefinition_98USbQ" language="asdf"/>
<bpmn2:signalEventDefinition id="signalEventDefinition_x0sWUA" signalRef="signal_2"/>
<bpmn2:linkEventDefinition id="linkEventDefinition_qfUZ2A" name="ap" target="1"/>
<bpmn2:timerEventDefinition id="timerEventDefinition_W2Y0YQ">
<bpmn2:timeCycle id="FormalExpression_1" xsi:type="bpmn2:tFormalExpression">10</bpmn2:timeCycle>
</bpmn2:timerEventDefinition>
<bpmn2:timerEventDefinition id="timerEventDefinition_mIDbwQ">
<bpmn2:timeDate id="FormalExpression_2" xsi:type="bpmn2:tFormalExpression">5</bpmn2:timeDate>
</bpmn2:timerEventDefinition>
<bpmn2:signalEventDefinition id="signalEventDefinition_rq4YHw" signalRef="signal_1"/>
<bpmn2:linkEventDefinition id="linkEventDefinition_0em6ZQ" name="" target="3"/>
</bpmn2:intermediateCatchEvent>
</bpmn2:process>
<bpmn2:signal id="signal_1" name="Signal 1"/>
<bpmn2:signal id="signal_2" name="Signal 2"/>
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="OpenBPMN Diagram">
<bpmndi:BPMNPlane bpmnElement="process_1" id="BPMNPlane_1">
<bpmndi:BPMNShape bpmnElement="event_LcowIw" id="BPMNShape_38YHLQ">
<dc:Bounds height="36.0" width="36.0" x="324.0" y="58.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_VnnwhA">
<dc:Bounds height="16.0" width="100.0" x="292.0" y="94.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>
10 changes: 2 additions & 8 deletions open-bpmn.glsp-client/workspace/test-timer.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
<bpmn2:documentation id="documentation_irBnnQ"/>
<bpmn2:startEvent id="event_n8bj0g" name="Event-1">
<bpmn2:documentation id="documentation_4XhEKA"/>
<bpmn2:timerEventDefinition id="timerEventDefinition_hElKhw">
<bpmn2:timeDuration id="FormalExpression_0" xsi:type="bpmn2:tFormalExpression">3cc</bpmn2:timeDuration>
</bpmn2:timerEventDefinition>
<bpmn2:timerEventDefinition id="timerEventDefinition_dFC6Sg">
<bpmn2:timeCycle id="FormalExpression_1" xsi:type="bpmn2:tFormalExpression">2bx</bpmn2:timeCycle>
</bpmn2:timerEventDefinition>
<bpmn2:timerEventDefinition id="timerEventDefinition_peWH9A">
<bpmn2:timeDate id="FormalExpression_2" xsi:type="bpmn2:tFormalExpression">1ay</bpmn2:timeDate>
<bpmn2:timerEventDefinition id="timerEventDefinition_bVkPMg">
<bpmn2:timeDate id="FormalExpression_0" xsi:type="bpmn2:tFormalExpression">2</bpmn2:timeDate>
</bpmn2:timerEventDefinition>
</bpmn2:startEvent>
</bpmn2:process>
Expand Down
38 changes: 3 additions & 35 deletions open-bpmn.glsp-client/workspace/test.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,17 @@
<bpmn2:documentation id="documentation_QXL5Nw"/>
<bpmn2:startEvent id="event_AGzfUw" name="lEvent-1">
<bpmn2:documentation id="documentation_M0zeWA"/>
<bpmn2:outgoing>SequenceFlow_hffdeQ</bpmn2:outgoing>
<bpmn2:timerEventDefinition id="timerEventDefinition_5gULUA">
<bpmn2:timeDate id="FormalExpression_0" xsi:type="bpmn2:tFormalExpression">7</bpmn2:timeDate>
</bpmn2:timerEventDefinition>
<bpmn2:conditionalEventDefinition expression="b&#10;c&#10;d" id="conditionalEventDefinition_SHfHiA" language="72"/>
</bpmn2:startEvent>
<bpmn2:endEvent id="event_DxRY9w" name="e2">
<bpmn2:documentation id="documentation_KG9Odw"/>
<bpmn2:incoming>SequenceFlow_hffdeQ</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="SequenceFlow_hffdeQ" name="Test" sourceRef="event_AGzfUw" targetRef="event_DxRY9w">
<bpmn2:documentation id="documentation_JEoIAg"/>
</bpmn2:sequenceFlow>
<bpmn2:textAnnotation id="textAnnotation_Qw9Tgg">
<bpmn2:text id="text_3jEMAQ"><![CDATA[Test]]></bpmn2:text>
<bpmn2:documentation id="documentation_EkXAqA"/>
</bpmn2:textAnnotation>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="OpenBPMN Diagram">
<bpmndi:BPMNPlane bpmnElement="process_1" id="BPMNPlane_1">
<bpmndi:BPMNShape bpmnElement="event_AGzfUw" id="BPMNShape_r6vQsA">
<dc:Bounds height="36.0" width="36.0" x="141.0" y="93.0"/>
<dc:Bounds height="36.0" width="36.0" x="142.0" y="93.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_hk0DWA">
<dc:Bounds height="14.0" width="100.0" x="109.0" y="129.0"/>
<dc:Bounds height="14.0" width="100.0" x="110.0" y="129.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_DxRY9w" id="BPMNShape_kbZ03g">
<dc:Bounds height="36.0" width="36.0" x="376.0" y="93.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_4W1z1g">
<dc:Bounds height="14.0" width="100.0" x="344.0" y="129.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_hffdeQ" id="BPMNEdge_rP1ggw" sourceElement="BPMNShape_r6vQsA" targetElement="BPMNShape_kbZ03g">





<di:waypoint x="177.0" y="111.0"/>
<di:waypoint x="376.0" y="111.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape bpmnElement="textAnnotation_Qw9Tgg" id="BPMNShape_l0Ll1Q">
<dc:Bounds height="50.0" width="75.0" x="218.5" y="151.0"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>
20 changes: 15 additions & 5 deletions open-bpmn.glsp-client/workspace/test/data-elements.bpmn
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- origin at X=0.0 Y=0.0 --><bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="org.eclipse.bpmn2.modeler.core" exporterVersion="1.5.4.RC1-v20220528-0836-B1" id="Definitions_1" targetNamespace="http://org.openbpmn">
<bpmn2:message id="message_VZJ4qw" name="Message-1">
<bpmn2:documentation id="Documentation_1"><![CDATA[Some Message]]></bpmn2:documentation>
<bpmn2:message id="message_VZJ4qw" name="">
<bpmn2:documentation id="Documentation_1">
<![CDATA[Some Message]]>
</bpmn2:documentation>
</bpmn2:message>
<bpmn2:process id="process_1" isExecutable="false" name="Default Process" processType="Public">
<bpmn2:dataObject id="dataObject_zEP3wg" name="Data Object-1">
<bpmn2:documentation id="documentation_R8Jo0Q"/>
</bpmn2:dataObject>
<bpmn2:textAnnotation id="textAnnotation_QcNIVQ" textFormat="">
<bpmn2:text><![CDATA[In case the new bounds are now contained by another Participant or dropped outside of Participant, than the method verifies if the BPMN element need to be placed in a new process within the bpmn model.asdfas
<bpmn2:text>
<![CDATA[In case the new bounds are now contained by another Participant or dropped outside of Participant, than the method verifies if the BPMN element need to be placed in a new process within the bpmn model.asdfas
line2
line3]]></bpmn2:text>
line3]]>
</bpmn2:text>
<bpmn2:documentation id="documentation_Y1UJLg"/>
</bpmn2:textAnnotation>
<bpmn2:documentation id="documentation_2tDQ8Q"/>
<bpmn2:startEvent id="event_J8tYWQ" name="Event-1">
<bpmn2:documentation id="documentation_Z6e8hQ"/>
</bpmn2:startEvent>
<bpmn2:textAnnotation id="textAnnotation_67Cn4w" textFormat="">
<bpmn2:text id="text_7RbKPw"><![CDATA[Some Text]]></bpmn2:text>
<bpmn2:text id="text_7RbKPw">
<![CDATA[Some Text]]>
</bpmn2:text>
<bpmn2:documentation id="documentation_PxoZhA"/>
</bpmn2:textAnnotation>
<bpmn2:association id="Association_8WyfUQ" name="Test" sourceRef="textAnnotation_67Cn4w" targetRef="event_J8tYWQ">
Expand Down Expand Up @@ -55,6 +61,10 @@ line3]]></bpmn2:text>
<dc:Bounds height="50.0" width="75.0" x="288.5" y="308.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="Association_8WyfUQ" id="BPMNEdge_XkvFlw" sourceElement="BPMNShape_GlGMew" targetElement="BPMNShape_n2Mppg">




<di:waypoint x="288.5" y="333.0"/>
<di:waypoint x="225.75" y="333.0"/>
<di:waypoint x="225.75" y="356.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openbpmn.bpmn.BPMNModel;
import org.openbpmn.bpmn.BPMNNS;
Expand All @@ -25,22 +24,18 @@
public class TestBPMNElement {
BPMNModel model;

@BeforeEach
public void init() {
/**
* Test the default bpmn namespaces
*/
@Test
public void testContent() {

String exporter = "demo";
String version = "1.0.0";
String targetNameSpace = "http://org.openbpmn";
model = BPMNModelFactory.createInstance(exporter, version, targetNameSpace);
assertNotNull(model);

}

/**
* Test the default bpmn namespaces
*/
@Test
public void testContent() {
try {
BPMNProcess process = model.openDefaultProcess();
assertNotNull(process);
Expand Down

0 comments on commit 3d51790

Please sign in to comment.