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
<bpmn2:startEvent id="_334B9D3E-C839-4C4F-AB71-85772966C686" name=""> | |
<bpmn2:dataOutput id="_334B9D3E-C839-4C4F-AB71-85772966C686_a" name="a"/> | |
<bpmn2:dataOutput id="_334B9D3E-C839-4C4F-AB71-85772966C686_b" name="b"/> | |
<bpmn2:dataOutputAssociation id="_WaqfAmtzEeCfkPugc5mPvg"> | |
<bpmn2:sourceRef>_334B9D3E-C839-4C4F-AB71-85772966C686_a</bpmn2:sourceRef> | |
<bpmn2:targetRef>x</bpmn2:targetRef> | |
</bpmn2:dataOutputAssociation> | |
<bpmn2:dataOutputAssociation id="_WaqfA2tzEeCfkPugc5mPvg"> | |
<bpmn2:sourceRef>_334B9D3E-C839-4C4F-AB71-85772966C686_b</bpmn2:sourceRef> | |
<bpmn2:targetRef>y</bpmn2:targetRef> |
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
23. | <bpmn2:userTask id="_054FE893-E72C-485E-9D27-110345EC24A2" name="SomeCoolTask"> | |
26. | <bpmn2:ioSpecification id="_gopYIWuCEeCQTccchdN_7Q"> | |
27. | <bpmn2:dataInput id="_054FE893-E72C-485E-9D27-110345EC24A2_aInput" name="a"/> | |
28. | <bpmn2:dataInput id="_054FE893-E72C-485E-9D27-110345EC24A2_bInput" name="b"/> | |
29. | <bpmn2:dataOutput id="_054FE893-E72C-485E-9D27-110345EC24A2_bOutput" name="b"/> | |
30. | <bpmn2:inputSet id="_gopYImuCEeCQTccchdN_7Q"> | |
31. | <bpmn2:dataInputRefs>_054FE893-E72C-485E-9D27-110345EC24A2_aInput</bpmn2:dataInputRefs> | |
32. | <bpmn2:dataInputRefs>_054FE893-E72C-485E-9D27-110345EC24A2_bInput</bpmn2:dataInputRefs> | |
33. | </bpmn2:inputSet> | |
34. | <bpmn2:outputSet id="_gopYI2uCEeCQTccchdN_7Q"> |
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
*********** process *************** | |
<?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" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<components xmlns="http://jboss.com/products/seam/components" | |
xmlns:core="http://jboss.com/products/seam/core" xmlns:security="http://jboss.com/products/seam/security" | |
xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:transaction="http://jboss.com/products/seam/transaction" | |
xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd | |
http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd | |
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd | |
http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd | |
http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd"> |
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
********* drl *********** | |
rule "AutoFirstNamedInsuredDisplayRule" | |
dialect "mvel" | |
when | |
DriverDisplayRuleContext( policyType == "Auto" , rules : displayRules) | |
DriverDisplayRuleContext(namedInsured == true , driverNumber == 1 ) | |
then | |
rules.add(new DriverDisplayRule("homeAddress1", new Boolean(true), new | |
Boolean(false))); | |
end |
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
INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 26.630s | |
[INFO] Finished at: Thu May 05 11:13:24 EDT 2011 | |
[INFO] Final Memory: 7M/81M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (default) on project guvnor: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] | |
[ERROR] | |
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. |
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
<?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" |
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
/** | |
* da logger | |
*/ | |
private static final Logger _logger = Logger.getLogger(EditorHandler.class); |
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
[java] [junit] 10:07:43,428 ERROR [main][LogAgentEventListener] Agent [null] Message [KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage ] | |
[java] [junit] java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage | |
[java] [junit] at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:732) | |
[java] [junit] at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:679) | |
[java] [junit] at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:970) | |
[java] [junit] at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:774) | |
[java] [junit] at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:646) | |
[java] [junit] at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.j |
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
package com.sample; | |
import java.util.concurrent.TimeUnit; | |
import org.drools.KnowledgeBase; | |
import org.drools.KnowledgeBaseConfiguration; | |
import org.drools.KnowledgeBaseFactory; | |
import org.drools.builder.KnowledgeBuilder; | |
import org.drools.builder.KnowledgeBuilderError; | |
import org.drools.builder.KnowledgeBuilderErrors; |