[jboss-svn-commits] JBL Code SVN: r19451 - labs/jbossrules/trunk/drools-jbrms/src/test/resources.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Apr 7 08:36:13 EDT 2008


Author: KrisVerlaenen
Date: 2008-04-07 08:36:13 -0400 (Mon, 07 Apr 2008)
New Revision: 19451

Modified:
   labs/jbossrules/trunk/drools-jbrms/src/test/resources/ruleflow.rfm
Log:


Modified: labs/jbossrules/trunk/drools-jbrms/src/test/resources/ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-jbrms/src/test/resources/ruleflow.rfm	2008-04-07 12:35:34 UTC (rev 19450)
+++ labs/jbossrules/trunk/drools-jbrms/src/test/resources/ruleflow.rfm	2008-04-07 12:36:13 UTC (rev 19451)
@@ -1,243 +1,32 @@
-<org.drools.ruleflow.core.RuleFlowProcess id="1">
-  <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="2">
-    <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-    <nodes id="3">
-      <entry>
-        <long>1</long>
-        <org.drools.workflow.core.node.StartNode id="4">
-          <id>1</id>
-          <name>Start</name>
-          <incomingConnections id="5"/>
-          <outgoingConnections id="6">
-            <entry>
-              <string>DROOLS_DEFAULT</string>
-              <list id="7">
-                <org.drools.workflow.core.impl.ConnectionImpl id="8">
-                  <from class="org.drools.workflow.core.node.StartNode" reference="4"/>
-                  <to class="org.drools.workflow.core.node.RuleSetNode" id="9">
-                    <ruleFlowGroup>flowgroup-1</ruleFlowGroup>
-                    <id>2</id>
-                    <name>RuleSet1</name>
-                    <incomingConnections id="10">
-                      <entry>
-                        <string>DROOLS_DEFAULT</string>
-                        <list id="11">
-                          <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
-                        </list>
-                      </entry>
-                    </incomingConnections>
-                    <outgoingConnections id="12">
-                      <entry>
-                        <string>DROOLS_DEFAULT</string>
-                        <list id="13">
-                          <org.drools.workflow.core.impl.ConnectionImpl id="14">
-                            <from class="org.drools.workflow.core.node.RuleSetNode" reference="9"/>
-                            <to class="org.drools.workflow.core.node.Split" id="15">
-                              <type>1</type>
-                              <constraints id="16"/>
-                              <id>5</id>
-                              <name>Split</name>
-                              <incomingConnections id="17">
-                                <entry>
-                                  <string>DROOLS_DEFAULT</string>
-                                  <list id="18">
-                                    <org.drools.workflow.core.impl.ConnectionImpl reference="14"/>
-                                  </list>
-                                </entry>
-                              </incomingConnections>
-                              <outgoingConnections id="19">
-                                <entry>
-                                  <string>DROOLS_DEFAULT</string>
-                                  <list id="20">
-                                    <org.drools.workflow.core.impl.ConnectionImpl id="21">
-                                      <from class="org.drools.workflow.core.node.Split" reference="15"/>
-                                      <to class="org.drools.workflow.core.node.RuleSetNode" id="22">
-                                        <ruleFlowGroup>flowgroup-2</ruleFlowGroup>
-                                        <id>10</id>
-                                        <name>RuleSet2</name>
-                                        <incomingConnections id="23">
-                                          <entry>
-                                            <string>DROOLS_DEFAULT</string>
-                                            <list id="24">
-                                              <org.drools.workflow.core.impl.ConnectionImpl reference="21"/>
-                                            </list>
-                                          </entry>
-                                        </incomingConnections>
-                                        <outgoingConnections id="25">
-                                          <entry>
-                                            <string>DROOLS_DEFAULT</string>
-                                            <list id="26">
-                                              <org.drools.workflow.core.impl.ConnectionImpl id="27">
-                                                <from class="org.drools.workflow.core.node.RuleSetNode" reference="22"/>
-                                                <to class="org.drools.workflow.core.node.Join" id="28">
-                                                  <type>1</type>
-                                                  <id>6</id>
-                                                  <name>Join</name>
-                                                  <incomingConnections id="29">
-                                                    <entry>
-                                                      <string>DROOLS_DEFAULT</string>
-                                                      <list id="30">
-                                                        <org.drools.workflow.core.impl.ConnectionImpl reference="27"/>
-                                                        <org.drools.workflow.core.impl.ConnectionImpl id="31">
-                                                          <from class="org.drools.workflow.core.node.RuleSetNode" id="32">
-                                                            <ruleFlowGroup>flowgroup-3</ruleFlowGroup>
-                                                            <id>11</id>
-                                                            <name>RuleSet3</name>
-                                                            <incomingConnections id="33">
-                                                              <entry>
-                                                                <string>DROOLS_DEFAULT</string>
-                                                                <list id="34">
-                                                                  <org.drools.workflow.core.impl.ConnectionImpl id="35">
-                                                                    <from class="org.drools.workflow.core.node.Split" reference="15"/>
-                                                                    <to class="org.drools.workflow.core.node.RuleSetNode" reference="32"/>
-                                                                    <fromType>DROOLS_DEFAULT</fromType>
-                                                                    <toType>DROOLS_DEFAULT</toType>
-                                                                  </org.drools.workflow.core.impl.ConnectionImpl>
-                                                                </list>
-                                                              </entry>
-                                                            </incomingConnections>
-                                                            <outgoingConnections id="36">
-                                                              <entry>
-                                                                <string>DROOLS_DEFAULT</string>
-                                                                <list id="37">
-                                                                  <org.drools.workflow.core.impl.ConnectionImpl reference="31"/>
-                                                                </list>
-                                                              </entry>
-                                                            </outgoingConnections>
-                                                            <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-                                                          </from>
-                                                          <to class="org.drools.workflow.core.node.Join" reference="28"/>
-                                                          <fromType>DROOLS_DEFAULT</fromType>
-                                                          <toType>DROOLS_DEFAULT</toType>
-                                                        </org.drools.workflow.core.impl.ConnectionImpl>
-                                                      </list>
-                                                    </entry>
-                                                  </incomingConnections>
-                                                  <outgoingConnections id="38">
-                                                    <entry>
-                                                      <string>DROOLS_DEFAULT</string>
-                                                      <list id="39">
-                                                        <org.drools.workflow.core.impl.ConnectionImpl id="40">
-                                                          <from class="org.drools.workflow.core.node.Join" reference="28"/>
-                                                          <to class="org.drools.workflow.core.node.RuleSetNode" id="41">
-                                                            <ruleFlowGroup>flowgroup-4</ruleFlowGroup>
-                                                            <id>9</id>
-                                                            <name>RuleSet4</name>
-                                                            <incomingConnections id="42">
-                                                              <entry>
-                                                                <string>DROOLS_DEFAULT</string>
-                                                                <list id="43">
-                                                                  <org.drools.workflow.core.impl.ConnectionImpl reference="40"/>
-                                                                </list>
-                                                              </entry>
-                                                            </incomingConnections>
-                                                            <outgoingConnections id="44">
-                                                              <entry>
-                                                                <string>DROOLS_DEFAULT</string>
-                                                                <list id="45">
-                                                                  <org.drools.workflow.core.impl.ConnectionImpl id="46">
-                                                                    <from class="org.drools.workflow.core.node.RuleSetNode" reference="41"/>
-                                                                    <to class="org.drools.workflow.core.node.EndNode" id="47">
-                                                                      <id>4</id>
-                                                                      <name>End</name>
-                                                                      <incomingConnections id="48">
-                                                                        <entry>
-                                                                          <string>DROOLS_DEFAULT</string>
-                                                                          <list id="49">
-                                                                            <org.drools.workflow.core.impl.ConnectionImpl reference="46"/>
-                                                                          </list>
-                                                                        </entry>
-                                                                      </incomingConnections>
-                                                                      <outgoingConnections id="50"/>
-                                                                      <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-                                                                    </to>
-                                                                    <fromType>DROOLS_DEFAULT</fromType>
-                                                                    <toType>DROOLS_DEFAULT</toType>
-                                                                  </org.drools.workflow.core.impl.ConnectionImpl>
-                                                                </list>
-                                                              </entry>
-                                                            </outgoingConnections>
-                                                            <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-                                                          </to>
-                                                          <fromType>DROOLS_DEFAULT</fromType>
-                                                          <toType>DROOLS_DEFAULT</toType>
-                                                        </org.drools.workflow.core.impl.ConnectionImpl>
-                                                      </list>
-                                                    </entry>
-                                                  </outgoingConnections>
-                                                  <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-                                                </to>
-                                                <fromType>DROOLS_DEFAULT</fromType>
-                                                <toType>DROOLS_DEFAULT</toType>
-                                              </org.drools.workflow.core.impl.ConnectionImpl>
-                                            </list>
-                                          </entry>
-                                        </outgoingConnections>
-                                        <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-                                      </to>
-                                      <fromType>DROOLS_DEFAULT</fromType>
-                                      <toType>DROOLS_DEFAULT</toType>
-                                    </org.drools.workflow.core.impl.ConnectionImpl>
-                                    <org.drools.workflow.core.impl.ConnectionImpl reference="35"/>
-                                  </list>
-                                </entry>
-                              </outgoingConnections>
-                              <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-                            </to>
-                            <fromType>DROOLS_DEFAULT</fromType>
-                            <toType>DROOLS_DEFAULT</toType>
-                          </org.drools.workflow.core.impl.ConnectionImpl>
-                        </list>
-                      </entry>
-                    </outgoingConnections>
-                    <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-                  </to>
-                  <fromType>DROOLS_DEFAULT</fromType>
-                  <toType>DROOLS_DEFAULT</toType>
-                </org.drools.workflow.core.impl.ConnectionImpl>
-              </list>
-            </entry>
-          </outgoingConnections>
-          <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
-        </org.drools.workflow.core.node.StartNode>
-      </entry>
-      <entry>
-        <long>2</long>
-        <org.drools.workflow.core.node.RuleSetNode reference="9"/>
-      </entry>
-      <entry>
-        <long>4</long>
-        <org.drools.workflow.core.node.EndNode reference="47"/>
-      </entry>
-      <entry>
-        <long>5</long>
-        <org.drools.workflow.core.node.Split reference="15"/>
-      </entry>
-      <entry>
-        <long>6</long>
-        <org.drools.workflow.core.node.Join reference="28"/>
-      </entry>
-      <entry>
-        <long>9</long>
-        <org.drools.workflow.core.node.RuleSetNode reference="41"/>
-      </entry>
-      <entry>
-        <long>10</long>
-        <org.drools.workflow.core.node.RuleSetNode reference="22"/>
-      </entry>
-      <entry>
-        <long>11</long>
-        <org.drools.workflow.core.node.RuleSetNode reference="32"/>
-      </entry>
-    </nodes>
-    <lastNodeId>11</lastNodeId>
-  </nodeContainer>
-  <id>0</id>
-  <name>ruleflow</name>
-  <version>1</version>
-  <type>RuleFlow</type>
-  <packageName>testPackageWithRuleFlow</packageName>
-  <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="51">
-    <variables id="52"/>
-  </variableScope>
-</org.drools.ruleflow.core.RuleFlowProcess>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?> 
+<process xmlns="http://drools.org/drools-4.0/process"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+         xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+         type="RuleFlow" name="ruleflow" id="0" package-name="testPackageWithRuleFlow" >
+
+  <header>
+  </header>
+
+  <nodes>
+    <start id="1" name="Start" />
+    <ruleSet id="2" name="RuleSet1" ruleFlowGroup="flowgroup-1" />
+    <split id="3" name="Split" type="1" />
+    <ruleSet id="4" name="RuleSet2" ruleFlowGroup="flowgroup-2" />
+    <ruleSet id="5" name="RuleSet3" ruleFlowGroup="flowgroup-3" />
+    <join id="6" name="Join" type="1" />
+    <ruleSet id="7" name="RuleSet4" ruleFlowGroup="flowgroup-4" />
+    <end id="8" name="End" />
+  </nodes>
+
+  <connections>
+    <connection from="1" to="2"/>
+    <connection from="2" to="3"/>
+    <connection from="3" to="4"/>
+    <connection from="3" to="5"/>
+    <connection from="4" to="6"/>
+    <connection from="5" to="6"/>
+    <connection from="6" to="7"/>
+    <connection from="7" to="8"/>
+  </connections>
+
+</process>
\ No newline at end of file




More information about the jboss-svn-commits mailing list