Migrate to apache KIe 10.0 Remove all non existing features (like Business Central)
This commit is contained in:
parent
e460b26abb
commit
87390f9dd1
247 changed files with 406 additions and 21084 deletions
|
|
@ -71,12 +71,9 @@ public interface RuleBaseSession {
|
|||
|
||||
HistoryContainer getHistoryContainer();
|
||||
|
||||
String getHistoryContainerXML();
|
||||
|
||||
Collection<DroolsFactObject> listLastVersionObjects();
|
||||
|
||||
String listLastVersionObjectsXML();
|
||||
|
||||
Collection<DroolsRuleObject> listRules();
|
||||
|
||||
int getNumberRulesExecuted();
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@ import org.chtijbug.drools.entity.history.fact.FactHistoryEvent;
|
|||
import org.chtijbug.drools.entity.history.fact.InsertedFactHistoryEvent;
|
||||
import org.chtijbug.drools.entity.history.fact.UpdatedFactHistoryEvent;
|
||||
import org.chtijbug.drools.runtime.DroolsFactObjectFactory;
|
||||
import org.drools.core.definitions.rule.impl.RuleImpl;
|
||||
import org.drools.base.definitions.rule.impl.RuleImpl;
|
||||
import org.drools.core.common.PropagationContext;
|
||||
import org.drools.core.event.rule.impl.ObjectDeletedEventImpl;
|
||||
import org.drools.core.event.rule.impl.ObjectInsertedEventImpl;
|
||||
import org.drools.core.event.rule.impl.ObjectUpdatedEventImpl;
|
||||
import org.drools.core.spi.PropagationContext;
|
||||
import org.kie.api.event.rule.ObjectDeletedEvent;
|
||||
import org.kie.api.event.rule.ObjectInsertedEvent;
|
||||
import org.kie.api.event.rule.ObjectUpdatedEvent;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ package org.chtijbug.drools.runtime.impl;
|
|||
|
||||
import org.chtijbug.drools.entity.history.EventCounter;
|
||||
import org.chtijbug.drools.entity.history.knowledge.*;
|
||||
import org.chtijbug.drools.kieserver.extension.KieServerAddOnElement;
|
||||
import org.chtijbug.drools.runtime.DroolsChtijbugException;
|
||||
import org.chtijbug.drools.runtime.RuleBasePackage;
|
||||
import org.chtijbug.drools.runtime.RuleBaseSession;
|
||||
|
|
@ -81,10 +80,7 @@ public class RuleBaseSingleton implements RuleBasePackage {
|
|||
* Global Maps
|
||||
*/
|
||||
Map<String, Object> globals = new HashMap<>();
|
||||
/**
|
||||
* extensions Points
|
||||
*/
|
||||
private KieServerAddOnElement kieServerAddOnElement = null;
|
||||
|
||||
|
||||
/**
|
||||
* @param kieContainer
|
||||
|
|
@ -96,11 +92,7 @@ public class RuleBaseSingleton implements RuleBasePackage {
|
|||
this.maxNumberRuleToExecute = maxNumberRulesToExecute;
|
||||
}
|
||||
|
||||
public RuleBaseSingleton(KieContainer kieContainer, int maxNumberRulesToExecute, KieServerAddOnElement kieServerAddOnElement) {
|
||||
this.kieServerAddOnElement = kieServerAddOnElement;
|
||||
this.kieContainer = kieContainer;
|
||||
this.maxNumberRuleToExecute = maxNumberRulesToExecute;
|
||||
}
|
||||
|
||||
|
||||
public RuleBaseSingleton(KieContainer kieContainer, int maxNumberRulesToExecute, HistoryListener historyListener) {
|
||||
this.kieContainer = kieContainer;
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@ package org.chtijbug.drools.runtime.impl;
|
|||
|
||||
import com.rits.cloning.Cloner;
|
||||
import com.rits.cloning.ObjenesisInstantiationStrategy;
|
||||
import com.thoughtworks.xstream.XStream;
|
||||
import com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver;
|
||||
import org.chtijbug.drools.common.reflection.ReflectionUtils;
|
||||
import org.chtijbug.drools.entity.*;
|
||||
import org.chtijbug.drools.entity.history.EventCounter;
|
||||
|
|
@ -31,11 +29,11 @@ import org.chtijbug.drools.runtime.DroolsChtijbugException;
|
|||
import org.chtijbug.drools.runtime.DroolsFactObjectFactory;
|
||||
import org.chtijbug.drools.runtime.RuleBaseSession;
|
||||
import org.chtijbug.drools.runtime.listener.HistoryListener;
|
||||
import org.drools.core.definitions.rule.impl.RuleImpl;
|
||||
|
||||
import org.drools.base.definitions.rule.impl.RuleImpl;
|
||||
import org.jbpm.workflow.core.node.RuleSetNode;
|
||||
import org.jbpm.workflow.instance.node.*;
|
||||
import org.kie.api.definition.rule.Rule;
|
||||
import org.kie.api.event.rule.DefaultAgendaEventListener;
|
||||
import org.kie.api.runtime.KieSession;
|
||||
import org.kie.api.runtime.ObjectFilter;
|
||||
import org.kie.api.runtime.process.NodeInstance;
|
||||
|
|
@ -82,7 +80,6 @@ public class RuleBaseStatefulSession implements RuleBaseSession {
|
|||
private ProcessHandlerListener processHandlerListener;
|
||||
private int maxNumberRuleToExecute;
|
||||
|
||||
private XStream xstream = new XStream(new JettisonMappedXmlDriver());
|
||||
private Long ruleBaseID;
|
||||
private Long sessionId;
|
||||
|
||||
|
|
@ -127,7 +124,7 @@ public class RuleBaseStatefulSession implements RuleBaseSession {
|
|||
|
||||
public DroolsProcessInstanceObject getDroolsProcessInstanceObject(ProcessInstance processInstance) {
|
||||
|
||||
DroolsProcessInstanceObject droolsProcessInstanceObject = processInstanceList.get(Long.toString(processInstance.getId()));
|
||||
DroolsProcessInstanceObject droolsProcessInstanceObject = processInstanceList.get(processInstance.getId());
|
||||
if (droolsProcessInstanceObject == null) {
|
||||
DroolsProcessObject droolsProcessObject = processList.get(processInstance.getProcess().getId());
|
||||
|
||||
|
|
@ -153,7 +150,9 @@ public class RuleBaseStatefulSession implements RuleBaseSession {
|
|||
nodeType = DroolsNodeType.RuleNode;
|
||||
RuleSetNode ruleSetNode = this.getRuleSetNode(nodeInstance);
|
||||
if (ruleSetNode != null) {
|
||||
ruleFlowGroupName = ruleSetNode.getRuleFlowGroup();
|
||||
if (ruleSetNode.getRuleType().isRuleFlowGroup()) {
|
||||
ruleFlowGroupName = ruleSetNode.getRuleType().getName();
|
||||
}
|
||||
}
|
||||
} else if (nodeInstance instanceof SplitInstance) {
|
||||
nodeType = DroolsNodeType.SplitNode;
|
||||
|
|
@ -162,7 +161,7 @@ public class RuleBaseStatefulSession implements RuleBaseSession {
|
|||
} else if (nodeInstance instanceof EndNodeInstance) {
|
||||
nodeType = DroolsNodeType.EndNode;
|
||||
}
|
||||
DroolsProcessInstanceObject droolsProcessInstanceObject = processInstanceList.get(Long.toString(nodeInstance.getProcessInstance().getId()));
|
||||
DroolsProcessInstanceObject droolsProcessInstanceObject = processInstanceList.get(nodeInstance.getProcessInstance().getId());
|
||||
if (droolsProcessInstanceObject == null) {
|
||||
droolsProcessInstanceObject = this.getDroolsProcessInstanceObject(nodeInstance.getProcessInstance());
|
||||
}
|
||||
|
|
@ -185,7 +184,7 @@ public class RuleBaseStatefulSession implements RuleBaseSession {
|
|||
RuleImpl ruleInstance = (RuleImpl) rule;
|
||||
if (droolsRuleObject == null) {
|
||||
droolsRuleObject = DroolsRuleObject.createDroolRuleObject(rule.getName(), rule.getPackageName());
|
||||
droolsRuleObject.setRuleFlowGroup(ruleInstance.getRuleFlowGroup());
|
||||
droolsRuleObject.setRuleFlowGroup(ruleInstance.getAgendaGroup());
|
||||
addDroolsRuleObject(droolsRuleObject);
|
||||
}
|
||||
|
||||
|
|
@ -236,16 +235,6 @@ public class RuleBaseStatefulSession implements RuleBaseSession {
|
|||
return historyContainer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getHistoryContainerXML() {
|
||||
String result = null;
|
||||
if (historyContainer != null) {
|
||||
xstream.setMode(XStream.NO_REFERENCES);
|
||||
result = xstream.toXML(historyContainer);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<DroolsFactObject> listLastVersionObjects() {
|
||||
Collection<DroolsFactObject> list = new ArrayList<>();
|
||||
|
|
@ -257,16 +246,6 @@ public class RuleBaseStatefulSession implements RuleBaseSession {
|
|||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String listLastVersionObjectsXML() {
|
||||
String result = null;
|
||||
Collection<DroolsFactObject> list = this.listLastVersionObjects();
|
||||
if (list != null) {
|
||||
xstream.setMode(XStream.NO_REFERENCES);
|
||||
result = xstream.toXML(list);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setData(FactHandle f, Object o, DroolsFactObject fObject) {
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@ import org.chtijbug.drools.entity.history.rule.AfterRuleFlowActivatedHistoryEven
|
|||
import org.chtijbug.drools.entity.history.rule.AfterRuleFlowDeactivatedHistoryEvent;
|
||||
import org.chtijbug.drools.entity.history.rule.BeforeRuleFiredHistoryEvent;
|
||||
import org.chtijbug.drools.entity.history.session.SessionFireAllRulesMaxNumberReachedEvent;
|
||||
import org.drools.base.reteoo.InitialFactImpl;
|
||||
import org.drools.core.common.DefaultFactHandle;
|
||||
import org.drools.core.common.InternalFactHandle;
|
||||
import org.drools.core.event.rule.impl.BeforeActivationFiredEventImpl;
|
||||
import org.drools.core.reteoo.InitialFactImpl;
|
||||
import org.kie.api.event.rule.*;
|
||||
import org.kie.api.runtime.KieRuntime;
|
||||
import org.kie.api.runtime.rule.FactHandle;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import org.chtijbug.drools.entity.history.session.SessionFireAllRulesMaxNumberRe
|
|||
import org.drools.core.common.DefaultFactHandle;
|
||||
import org.drools.core.common.InternalFactHandle;
|
||||
import org.drools.core.event.rule.impl.BeforeActivationFiredEventImpl;
|
||||
import org.drools.core.reteoo.InitialFactImpl;
|
||||
import org.kie.api.event.rule.*;
|
||||
import org.kie.api.runtime.KieRuntime;
|
||||
import org.kie.api.runtime.rule.FactHandle;
|
||||
|
|
|
|||
|
|
@ -1,61 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions id="Definition"
|
||||
targetNamespace="http://www.jboss.org/drools"
|
||||
typeLanguage="http://www.java.com/javaTypes"
|
||||
expressionLanguage="http://www.mvel.org/2.0"
|
||||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
|
||||
xmlns:g="http://www.jboss.org/drools/flow/gpd"
|
||||
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:tns="http://www.jboss.org/drools">
|
||||
|
||||
<process processType="Private" isExecutable="true" id="P1" artifactId="Hello World" tns:groupId="org.chtijbug.drools.runtime.test" >
|
||||
|
||||
<!-- nodes -->
|
||||
<startEvent id="_1" artifactId="StartProcess" />
|
||||
<endEvent id="_3" artifactId="EndProcess" />
|
||||
<businessRuleTask id="_4" artifactId="Group1" g:ruleFlowGroup="Group1" >
|
||||
</businessRuleTask>
|
||||
<businessRuleTask id="_5" artifactId="Group2" g:ruleFlowGroup="Group2" >
|
||||
</businessRuleTask>
|
||||
|
||||
<!-- connections -->
|
||||
<sequenceFlow id="_5-_3" sourceRef="_5" targetRef="_3" />
|
||||
<sequenceFlow id="_1-_4" sourceRef="_1" targetRef="_4" />
|
||||
<sequenceFlow id="_4-_5" sourceRef="_4" targetRef="_5" />
|
||||
|
||||
</process>
|
||||
|
||||
<bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNPlane bpmnElement="P1" >
|
||||
<bpmndi:BPMNShape bpmnElement="_1" >
|
||||
<dc:Bounds x="16" y="16" width="48" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_3" >
|
||||
<dc:Bounds x="462" y="28" width="48" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_4" >
|
||||
<dc:Bounds x="161" y="64" width="80" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_5" >
|
||||
<dc:Bounds x="304" y="50" width="80" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="_5-_3" >
|
||||
<di:waypoint x="344" y="74" />
|
||||
<di:waypoint x="486" y="52" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_1-_4" >
|
||||
<di:waypoint x="40" y="40" />
|
||||
<di:waypoint x="201" y="88" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_4-_5" >
|
||||
<di:waypoint x="201" y="88" />
|
||||
<di:waypoint x="344" y="74" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
||||
</definitions>
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:change-set="http://drools.org/drools-5.0/change-set"
|
||||
elementFormDefault="qualified"
|
||||
targetNamespace="http://drools.org/drools-5.0/change-set">
|
||||
<xsd:import namespace="http://www.w3.org/2001/XMLSchema-instance"/>
|
||||
<xsd:element artifactId="change-set">
|
||||
<xsd:complexType>
|
||||
<xsd:choice>
|
||||
<xsd:element ref="change-set:add"/>
|
||||
<xsd:element ref="change-set:remove"/>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element artifactId="add">
|
||||
<xsd:complexType mixed="true">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" ref="change-set:resource"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element artifactId="remove">
|
||||
<xsd:complexType mixed="true">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" ref="change-set:resource"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element artifactId="resource">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:any minOccurs="0"/>
|
||||
<xsd:element minOccurs="0" ref="change-set:decisiontable-conf"/>
|
||||
</xsd:sequence>
|
||||
<!-- URL to the resource, can be file based -->
|
||||
<xsd:attribute artifactId="source" use="required" type="xsd:anyURI"/>
|
||||
<!-- for example, DRL, or PKG -->
|
||||
<xsd:attribute artifactId="type" use="required" type="xsd:string"/>
|
||||
<xsd:attribute artifactId="basicAuthentication" type="xsd:string"/>
|
||||
<xsd:attribute artifactId="username" type="xsd:string"/>
|
||||
<xsd:attribute artifactId="password" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:element>
|
||||
<xsd:element artifactId="decisiontable-conf">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute artifactId="input-type" use="required" type="xsd:NCName"/>
|
||||
<xsd:attribute artifactId="worksheet-artifactId" use="required" type="xsd:NCName"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<change-set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://drools.org/drools-5.0/change-set"
|
||||
xsi:schemaLocation="http://drools.org/drools-5.0/change-set changeset-1.0.0.xsd">
|
||||
<add>
|
||||
<resource
|
||||
type="PKG"
|
||||
source="%s"
|
||||
basicAuthentication="enabled"
|
||||
username="%s"
|
||||
password="%s">
|
||||
</resource>
|
||||
</add>
|
||||
</change-set>
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
/*
|
||||
* Copyright 2010 JBoss Inc
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.chtijbug.drools.runtime
|
||||
|
||||
import org.chtijbug.drools.runtime.Fibonacci;
|
||||
|
||||
dialect "mvel"
|
||||
|
||||
rule Recurse
|
||||
salience 10
|
||||
when
|
||||
not ( Fibonacci ( sequence == 1 ) )
|
||||
f : Fibonacci ( value == -1 )
|
||||
then
|
||||
insert( new Fibonacci( f.sequence - 1 ) );
|
||||
System.out.println( "recurse for " + f.sequence );
|
||||
end
|
||||
|
||||
rule Bootstrap
|
||||
when
|
||||
f : Fibonacci( sequence == 1 || == 2, value == -1 ) // this is a multi-restriction || on a single field
|
||||
then
|
||||
modify ( f ){ value = 1 };
|
||||
System.out.println( f.sequence + " == " + f.value );
|
||||
end
|
||||
|
||||
rule Calculate
|
||||
when
|
||||
f1 : Fibonacci( s1 : sequence, value != -1 ) // here we bind sequence
|
||||
f2 : Fibonacci( sequence == (s1 + 1 ), value != -1 ) // here we don't, just to demonstrate the different way bindings can be used
|
||||
f3 : Fibonacci( s3 : sequence == (f2.sequence + 1 ), value == -1 )
|
||||
then
|
||||
modify ( f3 ) { value = f1.value + f2.value };
|
||||
System.out.println( s3 + " == " + f3.value ); // see how you can access pattern and field bindings
|
||||
end
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
package org.chtijbug.drools.runtime.test
|
||||
|
||||
import org.chtijbug.drools.runtime.Fibonacci;
|
||||
|
||||
|
||||
rule "Account group1"
|
||||
no-loop
|
||||
ruleflow-group "Group1"
|
||||
when
|
||||
f : Fibonacci(sequence==0 )
|
||||
then
|
||||
|
||||
update(f);
|
||||
insert( new Fibonacci( 1 ) );
|
||||
|
||||
end
|
||||
rule "Account group2"
|
||||
ruleflow-group "Group2"
|
||||
when
|
||||
f : Fibonacci(sequence==1 )
|
||||
then
|
||||
retract(f);
|
||||
insert( new Fibonacci( 2 ) );
|
||||
|
||||
end
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ public class RuleHandlerListenerTest {
|
|||
|
||||
@Test
|
||||
public void RuleFLowgroup1() throws Exception {
|
||||
ruleBasePackage = RuleBaseBuilder.createRuleBasePackage(1L, "com.pymmasoftware.test", "fibonacci", "1.0.0_SNAPSHOT", "ruleflow1.drl", "RuleFlowProcess1.bpmn2");
|
||||
ruleBasePackage = RuleBaseBuilder.createRuleBasePackage(1L, "com.pymmasoftware.test", "fibonacci", "1.0.0_SNAPSHOT", "ruleflow1.drl", "ruleflow1-new.bpmn2");
|
||||
|
||||
session = ruleBasePackage.createRuleBaseSession();
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ public class RuleHistoryEventTest {
|
|||
return true;
|
||||
}
|
||||
};
|
||||
RuleBasePackage ruleBasePackage = RuleBaseBuilder.createRuleBasePackage(1L, historyListener, "com.pymmasoftware.test", "fibonacci", "1.0.0_SNAPSHOT", "ruleflow2.drl", "RuleFlowProcess2.bpmn2");
|
||||
RuleBasePackage ruleBasePackage = RuleBaseBuilder.createRuleBasePackage(1L, historyListener, "com.pymmasoftware.test", "fibonacci", "1.0.0_SNAPSHOT", "ruleflow2.drl", "ruleflow2-new.bpmn2");
|
||||
Long rulePackageID = ruleBasePackage.getRuleBaseID();
|
||||
|
||||
RuleBaseSession ruleBaseSession1 = ruleBasePackage.createRuleBaseSession();
|
||||
|
|
|
|||
|
|
@ -1,61 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions id="Definition"
|
||||
targetNamespace="http://www.jboss.org/drools"
|
||||
typeLanguage="http://www.java.com/javaTypes"
|
||||
expressionLanguage="http://www.mvel.org/2.0"
|
||||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
|
||||
xmlns:g="http://www.jboss.org/drools/flow/gpd"
|
||||
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:tns="http://www.jboss.org/drools">
|
||||
|
||||
<process processType="Private" isExecutable="true" id="P1" artifactId="Hello World" tns:groupId="org.chtijbug.drools.runtime.test" >
|
||||
|
||||
<!-- nodes -->
|
||||
<startEvent id="_1" artifactId="StartProcess" />
|
||||
<endEvent id="_3" artifactId="EndProcess" />
|
||||
<businessRuleTask id="_4" artifactId="Group1" g:ruleFlowGroup="Group1" >
|
||||
</businessRuleTask>
|
||||
<businessRuleTask id="_5" artifactId="Group2" g:ruleFlowGroup="Group2" >
|
||||
</businessRuleTask>
|
||||
|
||||
<!-- connections -->
|
||||
<sequenceFlow id="_5-_3" sourceRef="_5" targetRef="_3" />
|
||||
<sequenceFlow id="_1-_4" sourceRef="_1" targetRef="_4" />
|
||||
<sequenceFlow id="_4-_5" sourceRef="_4" targetRef="_5" />
|
||||
|
||||
</process>
|
||||
|
||||
<bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNPlane bpmnElement="P1" >
|
||||
<bpmndi:BPMNShape bpmnElement="_1" >
|
||||
<dc:Bounds x="16" y="16" width="48" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_3" >
|
||||
<dc:Bounds x="462" y="28" width="48" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_4" >
|
||||
<dc:Bounds x="161" y="64" width="80" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_5" >
|
||||
<dc:Bounds x="304" y="50" width="80" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="_5-_3" >
|
||||
<di:waypoint x="344" y="74" />
|
||||
<di:waypoint x="486" y="52" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_1-_4" >
|
||||
<di:waypoint x="40" y="40" />
|
||||
<di:waypoint x="201" y="88" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_4-_5" >
|
||||
<di:waypoint x="201" y="88" />
|
||||
<di:waypoint x="344" y="74" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
||||
</definitions>
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions id="Definition"
|
||||
targetNamespace="http://www.jboss.org/drools"
|
||||
typeLanguage="http://www.java.com/javaTypes"
|
||||
expressionLanguage="http://www.mvel.org/2.0"
|
||||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
|
||||
xmlns:g="http://www.jboss.org/drools/flow/gpd"
|
||||
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:tns="http://www.jboss.org/drools">
|
||||
|
||||
<process processType="Private" isExecutable="true" id="P1" artifactId="Hello World" tns:groupId="org.chtijbug.drools.runtime.test" >
|
||||
|
||||
<!-- nodes -->
|
||||
<startEvent id="_1" artifactId="StartProcess" />
|
||||
<endEvent id="_3" artifactId="EndProcess" />
|
||||
<businessRuleTask id="_4" artifactId="Group1" g:ruleFlowGroup="Group1" >
|
||||
</businessRuleTask>
|
||||
<businessRuleTask id="_5" artifactId="Group2" g:ruleFlowGroup="Group2" >
|
||||
</businessRuleTask>
|
||||
|
||||
<!-- connections -->
|
||||
<sequenceFlow id="_5-_3" sourceRef="_5" targetRef="_3" />
|
||||
<sequenceFlow id="_1-_4" sourceRef="_1" targetRef="_4" />
|
||||
<sequenceFlow id="_4-_5" sourceRef="_4" targetRef="_5" />
|
||||
|
||||
</process>
|
||||
|
||||
<bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNPlane bpmnElement="P1" >
|
||||
<bpmndi:BPMNShape bpmnElement="_1" >
|
||||
<dc:Bounds x="16" y="16" width="48" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_3" >
|
||||
<dc:Bounds x="462" y="28" width="48" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_4" >
|
||||
<dc:Bounds x="161" y="64" width="80" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_5" >
|
||||
<dc:Bounds x="304" y="50" width="80" height="48" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="_5-_3" >
|
||||
<di:waypoint x="344" y="74" />
|
||||
<di:waypoint x="486" y="52" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_1-_4" >
|
||||
<di:waypoint x="40" y="40" />
|
||||
<di:waypoint x="201" y="88" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_4-_5" >
|
||||
<di:waypoint x="201" y="88" />
|
||||
<di:waypoint x="344" y="74" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
||||
</definitions>
|
||||
|
|
@ -0,0 +1,147 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" xmlns:xsi="xsi" id="_3ncx0M3dED21oMuI3IvJ1A" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_fileNameInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_namespaceInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_modelInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_decisionInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_fileNameInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_namespaceInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_modelInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_decisionInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:collaboration id="_82038448-A3C0-48E4-A9FC-FCC3AFD4956C" name="Default Collaboration">
|
||||
<bpmn2:participant id="_6BB3BACA-1A48-4546-8C95-D6902DD8DCF0" name="Pool Participant" processRef="P1"/>
|
||||
</bpmn2:collaboration>
|
||||
<bpmn2:process id="P1" drools:packageName="com.example" drools:version="1.0" drools:adHoc="false" name="P1" isExecutable="true" processType="Public">
|
||||
<bpmn2:sequenceFlow id="_918592C7-3675-4CA5-960C-51100D6CFEAA" sourceRef="_D1A0155D-576A-42F0-ADA0-8801EB163397" targetRef="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="isAutoConnection.target">
|
||||
<drools:metaValue><![CDATA[true]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="_9A215F0C-636D-4A0A-B551-57E4E080D03D" sourceRef="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" targetRef="_F1ECFF12-8090-40C0-BE56-D0B0EB0504F1">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="isAutoConnection.target">
|
||||
<drools:metaValue><![CDATA[true]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="_B6A429F1-9653-4893-A7D3-782DC00194AD" sourceRef="_34EDC64A-135B-4F28-AD99-5CF5074A17BF" targetRef="_D1A0155D-576A-42F0-ADA0-8801EB163397">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="isAutoConnection.target">
|
||||
<drools:metaValue><![CDATA[true]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:businessRuleTask id="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" drools:ruleFlowGroup="Group2" name="rule flow group 2" implementation="http://www.jboss.org/drools/rule">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="elementname">
|
||||
<drools:metaValue><![CDATA[rule flow group 2]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:incoming>_918592C7-3675-4CA5-960C-51100D6CFEAA</bpmn2:incoming>
|
||||
<bpmn2:outgoing>_9A215F0C-636D-4A0A-B551-57E4E080D03D</bpmn2:outgoing>
|
||||
</bpmn2:businessRuleTask>
|
||||
<bpmn2:businessRuleTask id="_D1A0155D-576A-42F0-ADA0-8801EB163397" drools:ruleFlowGroup="Group1" name="ruleflow group 1" implementation="http://www.jboss.org/drools/rule">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="elementname">
|
||||
<drools:metaValue><![CDATA[ruleflow group 1]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:incoming>_B6A429F1-9653-4893-A7D3-782DC00194AD</bpmn2:incoming>
|
||||
<bpmn2:outgoing>_918592C7-3675-4CA5-960C-51100D6CFEAA</bpmn2:outgoing>
|
||||
</bpmn2:businessRuleTask>
|
||||
<bpmn2:endEvent id="_F1ECFF12-8090-40C0-BE56-D0B0EB0504F1">
|
||||
<bpmn2:incoming>_9A215F0C-636D-4A0A-B551-57E4E080D03D</bpmn2:incoming>
|
||||
</bpmn2:endEvent>
|
||||
<bpmn2:startEvent id="_34EDC64A-135B-4F28-AD99-5CF5074A17BF">
|
||||
<bpmn2:outgoing>_B6A429F1-9653-4893-A7D3-782DC00194AD</bpmn2:outgoing>
|
||||
</bpmn2:startEvent>
|
||||
</bpmn2:process>
|
||||
<bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNPlane bpmnElement="P1">
|
||||
<bpmndi:BPMNShape id="shape__34EDC64A-135B-4F28-AD99-5CF5074A17BF" bpmnElement="_34EDC64A-135B-4F28-AD99-5CF5074A17BF">
|
||||
<dc:Bounds height="56" width="56" x="370" y="167"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="shape__F1ECFF12-8090-40C0-BE56-D0B0EB0504F1" bpmnElement="_F1ECFF12-8090-40C0-BE56-D0B0EB0504F1">
|
||||
<dc:Bounds height="56" width="56" x="370" y="602"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="shape__D1A0155D-576A-42F0-ADA0-8801EB163397" bpmnElement="_D1A0155D-576A-42F0-ADA0-8801EB163397">
|
||||
<dc:Bounds height="102" width="154" x="321" y="271"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="shape__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" bpmnElement="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E">
|
||||
<dc:Bounds height="102" width="154" x="321" y="421"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="edge_shape__34EDC64A-135B-4F28-AD99-5CF5074A17BF_to_shape__D1A0155D-576A-42F0-ADA0-8801EB163397" bpmnElement="_B6A429F1-9653-4893-A7D3-782DC00194AD">
|
||||
<di:waypoint x="398" y="195"/>
|
||||
<di:waypoint x="398" y="271"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="edge_shape__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_to_shape__F1ECFF12-8090-40C0-BE56-D0B0EB0504F1" bpmnElement="_9A215F0C-636D-4A0A-B551-57E4E080D03D">
|
||||
<di:waypoint x="398" y="472"/>
|
||||
<di:waypoint x="398" y="602"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="edge_shape__D1A0155D-576A-42F0-ADA0-8801EB163397_to_shape__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" bpmnElement="_918592C7-3675-4CA5-960C-51100D6CFEAA">
|
||||
<di:waypoint x="398" y="322"/>
|
||||
<di:waypoint x="398" y="421"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
<bpmn2:relationship type="BPSimData">
|
||||
<bpmn2:extensionElements>
|
||||
<bpsim:BPSimData>
|
||||
<bpsim:Scenario id="default" name="Simulationscenario">
|
||||
<bpsim:ScenarioParameters/>
|
||||
<bpsim:ElementParameters elementRef="_34EDC64A-135B-4F28-AD99-5CF5074A17BF">
|
||||
<bpsim:TimeParameters>
|
||||
<bpsim:ProcessingTime>
|
||||
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
|
||||
</bpsim:ProcessingTime>
|
||||
</bpsim:TimeParameters>
|
||||
</bpsim:ElementParameters>
|
||||
<bpsim:ElementParameters elementRef="_D1A0155D-576A-42F0-ADA0-8801EB163397">
|
||||
<bpsim:TimeParameters>
|
||||
<bpsim:ProcessingTime>
|
||||
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
|
||||
</bpsim:ProcessingTime>
|
||||
</bpsim:TimeParameters>
|
||||
<bpsim:ResourceParameters>
|
||||
<bpsim:Availability>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Availability>
|
||||
<bpsim:Quantity>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Quantity>
|
||||
</bpsim:ResourceParameters>
|
||||
<bpsim:CostParameters>
|
||||
<bpsim:UnitCost>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:UnitCost>
|
||||
</bpsim:CostParameters>
|
||||
</bpsim:ElementParameters>
|
||||
<bpsim:ElementParameters elementRef="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E">
|
||||
<bpsim:TimeParameters>
|
||||
<bpsim:ProcessingTime>
|
||||
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
|
||||
</bpsim:ProcessingTime>
|
||||
</bpsim:TimeParameters>
|
||||
<bpsim:ResourceParameters>
|
||||
<bpsim:Availability>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Availability>
|
||||
<bpsim:Quantity>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Quantity>
|
||||
</bpsim:ResourceParameters>
|
||||
<bpsim:CostParameters>
|
||||
<bpsim:UnitCost>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:UnitCost>
|
||||
</bpsim:CostParameters>
|
||||
</bpsim:ElementParameters>
|
||||
</bpsim:Scenario>
|
||||
</bpsim:BPSimData>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:source>_3ncx0M3dED21oMuI3IvJ1A</bpmn2:source>
|
||||
<bpmn2:target>_3ncx0M3dED21oMuI3IvJ1A</bpmn2:target>
|
||||
</bpmn2:relationship>
|
||||
</bpmn2:definitions>
|
||||
|
|
@ -0,0 +1,147 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" xmlns:xsi="xsi" id="_h0obMM3cED21oMuI3IvJ1A" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_fileNameInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_namespaceInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_modelInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__D1A0155D-576A-42F0-ADA0-8801EB163397_decisionInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_fileNameInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_namespaceInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_modelInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:itemDefinition id="__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_decisionInputXItem" structureRef="java.lang.String"/>
|
||||
<bpmn2:collaboration id="_3D1C8378-F63A-4E26-9A81-1992BF6EB00C" name="Default Collaboration">
|
||||
<bpmn2:participant id="_B2846B13-55C8-4E3D-9FD7-0B80C1A43481" name="Pool Participant" processRef="P1"/>
|
||||
</bpmn2:collaboration>
|
||||
<bpmn2:process id="P1" drools:packageName="com.example" drools:version="1.0" drools:adHoc="false" name="P1" isExecutable="true" processType="Public">
|
||||
<bpmn2:sequenceFlow id="_918592C7-3675-4CA5-960C-51100D6CFEAA" sourceRef="_D1A0155D-576A-42F0-ADA0-8801EB163397" targetRef="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="isAutoConnection.target">
|
||||
<drools:metaValue><![CDATA[true]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="_9A215F0C-636D-4A0A-B551-57E4E080D03D" sourceRef="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" targetRef="_F1ECFF12-8090-40C0-BE56-D0B0EB0504F1">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="isAutoConnection.target">
|
||||
<drools:metaValue><![CDATA[true]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="_B6A429F1-9653-4893-A7D3-782DC00194AD" sourceRef="_34EDC64A-135B-4F28-AD99-5CF5074A17BF" targetRef="_D1A0155D-576A-42F0-ADA0-8801EB163397">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="isAutoConnection.target">
|
||||
<drools:metaValue><![CDATA[true]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:businessRuleTask id="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" drools:ruleFlowGroup="Group2" name="rule flow group 2" implementation="http://www.jboss.org/drools/rule">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="elementname">
|
||||
<drools:metaValue><![CDATA[rule flow group 2]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:incoming>_918592C7-3675-4CA5-960C-51100D6CFEAA</bpmn2:incoming>
|
||||
<bpmn2:outgoing>_9A215F0C-636D-4A0A-B551-57E4E080D03D</bpmn2:outgoing>
|
||||
</bpmn2:businessRuleTask>
|
||||
<bpmn2:businessRuleTask id="_D1A0155D-576A-42F0-ADA0-8801EB163397" drools:ruleFlowGroup="Group1" name="ruleflow group 1" implementation="http://www.jboss.org/drools/rule">
|
||||
<bpmn2:extensionElements>
|
||||
<drools:metaData name="elementname">
|
||||
<drools:metaValue><![CDATA[ruleflow group 1]]></drools:metaValue>
|
||||
</drools:metaData>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:incoming>_B6A429F1-9653-4893-A7D3-782DC00194AD</bpmn2:incoming>
|
||||
<bpmn2:outgoing>_918592C7-3675-4CA5-960C-51100D6CFEAA</bpmn2:outgoing>
|
||||
</bpmn2:businessRuleTask>
|
||||
<bpmn2:endEvent id="_F1ECFF12-8090-40C0-BE56-D0B0EB0504F1">
|
||||
<bpmn2:incoming>_9A215F0C-636D-4A0A-B551-57E4E080D03D</bpmn2:incoming>
|
||||
</bpmn2:endEvent>
|
||||
<bpmn2:startEvent id="_34EDC64A-135B-4F28-AD99-5CF5074A17BF">
|
||||
<bpmn2:outgoing>_B6A429F1-9653-4893-A7D3-782DC00194AD</bpmn2:outgoing>
|
||||
</bpmn2:startEvent>
|
||||
</bpmn2:process>
|
||||
<bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNPlane bpmnElement="P1">
|
||||
<bpmndi:BPMNShape id="shape__34EDC64A-135B-4F28-AD99-5CF5074A17BF" bpmnElement="_34EDC64A-135B-4F28-AD99-5CF5074A17BF">
|
||||
<dc:Bounds height="56" width="56" x="370" y="167"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="shape__F1ECFF12-8090-40C0-BE56-D0B0EB0504F1" bpmnElement="_F1ECFF12-8090-40C0-BE56-D0B0EB0504F1">
|
||||
<dc:Bounds height="56" width="56" x="370" y="602"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="shape__D1A0155D-576A-42F0-ADA0-8801EB163397" bpmnElement="_D1A0155D-576A-42F0-ADA0-8801EB163397">
|
||||
<dc:Bounds height="102" width="154" x="321" y="271"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="shape__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" bpmnElement="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E">
|
||||
<dc:Bounds height="102" width="154" x="321" y="421"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="edge_shape__34EDC64A-135B-4F28-AD99-5CF5074A17BF_to_shape__D1A0155D-576A-42F0-ADA0-8801EB163397" bpmnElement="_B6A429F1-9653-4893-A7D3-782DC00194AD">
|
||||
<di:waypoint x="398" y="195"/>
|
||||
<di:waypoint x="398" y="271"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="edge_shape__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E_to_shape__F1ECFF12-8090-40C0-BE56-D0B0EB0504F1" bpmnElement="_9A215F0C-636D-4A0A-B551-57E4E080D03D">
|
||||
<di:waypoint x="398" y="472"/>
|
||||
<di:waypoint x="398" y="602"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="edge_shape__D1A0155D-576A-42F0-ADA0-8801EB163397_to_shape__054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E" bpmnElement="_918592C7-3675-4CA5-960C-51100D6CFEAA">
|
||||
<di:waypoint x="398" y="322"/>
|
||||
<di:waypoint x="398" y="421"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
<bpmn2:relationship type="BPSimData">
|
||||
<bpmn2:extensionElements>
|
||||
<bpsim:BPSimData>
|
||||
<bpsim:Scenario id="default" name="Simulationscenario">
|
||||
<bpsim:ScenarioParameters/>
|
||||
<bpsim:ElementParameters elementRef="_34EDC64A-135B-4F28-AD99-5CF5074A17BF">
|
||||
<bpsim:TimeParameters>
|
||||
<bpsim:ProcessingTime>
|
||||
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
|
||||
</bpsim:ProcessingTime>
|
||||
</bpsim:TimeParameters>
|
||||
</bpsim:ElementParameters>
|
||||
<bpsim:ElementParameters elementRef="_D1A0155D-576A-42F0-ADA0-8801EB163397">
|
||||
<bpsim:TimeParameters>
|
||||
<bpsim:ProcessingTime>
|
||||
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
|
||||
</bpsim:ProcessingTime>
|
||||
</bpsim:TimeParameters>
|
||||
<bpsim:ResourceParameters>
|
||||
<bpsim:Availability>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Availability>
|
||||
<bpsim:Quantity>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Quantity>
|
||||
</bpsim:ResourceParameters>
|
||||
<bpsim:CostParameters>
|
||||
<bpsim:UnitCost>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:UnitCost>
|
||||
</bpsim:CostParameters>
|
||||
</bpsim:ElementParameters>
|
||||
<bpsim:ElementParameters elementRef="_054CCB3F-1354-4BF6-A74C-2E1ABE91AB2E">
|
||||
<bpsim:TimeParameters>
|
||||
<bpsim:ProcessingTime>
|
||||
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
|
||||
</bpsim:ProcessingTime>
|
||||
</bpsim:TimeParameters>
|
||||
<bpsim:ResourceParameters>
|
||||
<bpsim:Availability>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Availability>
|
||||
<bpsim:Quantity>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:Quantity>
|
||||
</bpsim:ResourceParameters>
|
||||
<bpsim:CostParameters>
|
||||
<bpsim:UnitCost>
|
||||
<bpsim:FloatingParameter value="0"/>
|
||||
</bpsim:UnitCost>
|
||||
</bpsim:CostParameters>
|
||||
</bpsim:ElementParameters>
|
||||
</bpsim:Scenario>
|
||||
</bpsim:BPSimData>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:source>_h0obMM3cED21oMuI3IvJ1A</bpmn2:source>
|
||||
<bpmn2:target>_h0obMM3cED21oMuI3IvJ1A</bpmn2:target>
|
||||
</bpmn2:relationship>
|
||||
</bpmn2:definitions>
|
||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue