Overlord SVN: r335 - in cdl/trunk/distribution/eclipse: features and 1 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-22 05:33:18 -0400 (Mon, 22 Sep 2008)
New Revision: 335
Added:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221027.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221027.jar
Removed:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809171741.jar
Modified:
cdl/trunk/distribution/eclipse/site.xml
Log:
Update the local Eclipse update site.
Deleted: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221027.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809221027.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/distribution/eclipse/site.xml
===================================================================
--- cdl/trunk/distribution/eclipse/site.xml 2008-09-20 09:21:38 UTC (rev 334)
+++ cdl/trunk/distribution/eclipse/site.xml 2008-09-22 09:33:18 UTC (rev 335)
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809171741.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200809171741">
+ <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809221027.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200809221027">
<category name="JBossESB"/>
</feature>
- <feature url="features/org.scribble.conversation.feature_0.1.0.200809171741.jar" id="org.scribble.conversation.feature" version="0.1.0.200809171741">
+ <feature url="features/org.scribble.conversation.feature_0.1.0.200809221027.jar" id="org.scribble.conversation.feature" version="0.1.0.200809221027">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.experimental.feature_0.1.0.200809171741.jar" id="org.scribble.experimental.feature" version="0.1.0.200809171741">
+ <feature url="features/org.scribble.experimental.feature_0.1.0.200809221027.jar" id="org.scribble.experimental.feature" version="0.1.0.200809221027">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.feature_0.1.0.200809171741.jar" id="org.scribble.feature" version="0.1.0.200809171741">
+ <feature url="features/org.scribble.feature_0.1.0.200809221027.jar" id="org.scribble.feature" version="0.1.0.200809221027">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.protocol.feature_0.1.0.200809171741.jar" id="org.scribble.protocol.feature" version="0.1.0.200809171741">
+ <feature url="features/org.scribble.protocol.feature_0.1.0.200809221027.jar" id="org.scribble.protocol.feature" version="0.1.0.200809221027">
<category name="Common"/>
</feature>
<category-def name="JBossESB" label="JBossESB">
15 years, 7 months
Overlord SVN: r334 - in cdl/trunk: distribution/validator/jbossesb/pi4soa.sar and 3 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-20 05:21:38 -0400 (Sat, 20 Sep 2008)
New Revision: 334
Added:
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.cdl_2.0.0.200809191850.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.common_2.0.0.200809191850.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.j2ee_2.0.0.200809191850.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jboss_2.0.0.200809191850.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jbossesb_2.0.0.200809191850.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.service_2.0.0.200809191850.jar
Removed:
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.cdl_2.0.0.200808262147.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.common_2.0.0.200808262147.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.j2ee_2.0.0.200808262147.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jboss_2.0.0.200808262147.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jbossesb_2.0.0.200808262147.jar
cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.service_2.0.0.200808262147.jar
Modified:
cdl/trunk/distribution/validator/jbossesb/overlord-cdl-validator-jbossesb.esb/validator-config.xml
cdl/trunk/docs/cdl/user/GettingStartedGuide.odt
cdl/trunk/docs/cdl/user/GettingStartedGuide.pdf
cdl/trunk/samples/jbossesb/SamplesGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.pdf
cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn
Log:
Fixed some issues related to the trailblazer sample, requiring updates to the pi4soa jars, and also enhanced some of the documentation. LoanRequest.scn had a bad character at the end.
Modified: cdl/trunk/distribution/validator/jbossesb/overlord-cdl-validator-jbossesb.esb/validator-config.xml
===================================================================
--- cdl/trunk/distribution/validator/jbossesb/overlord-cdl-validator-jbossesb.esb/validator-config.xml 2008-09-17 17:40:45 UTC (rev 333)
+++ cdl/trunk/distribution/validator/jbossesb/overlord-cdl-validator-jbossesb.esb/validator-config.xml 2008-09-20 09:21:38 UTC (rev 334)
@@ -22,25 +22,25 @@
<validator>
<service cdmFilePath="models/TrailBlazer.cdm" participantType="LoanBrokerParticipant" >
- <output epr="queue/esb-tb-creditAgencyQueue" />
- <input epr="queue/esb-tb-creditAgencyQueue_reply" />
- <output epr="queue/esb-tb-jmsBankRequestQueue" />
- <output epr="queue/esb-tb-fileBankRequestQueue" />
- <input epr="queue/esb-tb-jmsBankResponseQueue" />
- <output epr="queue/esb-tb-customerNotifier" />
- <input epr="queue/esb-tb-fileBankResponseQueue" />
+ <output epr="jms:queue/esb-tb-creditAgencyQueue" />
+ <input epr="jms:queue/esb-tb-creditAgencyQueue_reply" />
+ <output epr="jms:queue/esb-tb-jmsBankRequestQueue" />
+ <output epr="jms:queue/esb-tb-fileBankRequestQueue" />
+ <input epr="jms:queue/esb-tb-jmsBankResponseQueue" />
+ <output epr="jms:queue/esb-tb-customerNotifier" />
+ <input epr="jms:queue/esb-tb-fileBankResponseQueue" />
</service>
<service cdmFilePath="models/TrailBlazer.cdm" participantType="CreditAgencyParticipant" >
- <input epr="queue/esb-tb-creditAgencyQueue" />
- <output epr="queue/esb-tb-creditAgencyQueue_reply" />
+ <input epr="jms:queue/esb-tb-creditAgencyQueue" />
+ <output epr="jms:queue/esb-tb-creditAgencyQueue_reply" />
</service>
<service cdmFilePath="models/TrailBlazer.cdm" participantType="BankParticipant" >
- <input epr="queue/esb-tb-jmsBankRequestQueue" />
- <input epr="queue/esb-tb-fileBankRequestQueue" />
- <output epr="queue/esb-tb-jmsBankResponseQueue" />
- <output epr="queue/esb-tb-fileBankResponseQueue" />
+ <input epr="jms:queue/esb-tb-jmsBankRequestQueue" />
+ <input epr="jms:queue/esb-tb-fileBankRequestQueue" />
+ <output epr="jms:queue/esb-tb-jmsBankResponseQueue" />
+ <output epr="jms:queue/esb-tb-fileBankResponseQueue" />
</service>
<service cdmFilePath="models/TrailBlazer.cdm" participantType="NotifierParticipant" >
- <input epr="queue/esb-tb-customerNotifier" />
+ <input epr="jms:queue/esb-tb-customerNotifier" />
</service>
</validator>
Deleted: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.cdl_2.0.0.200808262147.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.cdl_2.0.0.200809191850.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.cdl_2.0.0.200809191850.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.common_2.0.0.200808262147.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.common_2.0.0.200809191850.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.common_2.0.0.200809191850.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.j2ee_2.0.0.200808262147.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.j2ee_2.0.0.200809191850.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.j2ee_2.0.0.200809191850.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jboss_2.0.0.200808262147.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jboss_2.0.0.200809191850.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jboss_2.0.0.200809191850.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jbossesb_2.0.0.200808262147.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jbossesb_2.0.0.200809191850.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.jbossesb_2.0.0.200809191850.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.service_2.0.0.200808262147.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.service_2.0.0.200809191850.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/validator/jbossesb/pi4soa.sar/org.pi4soa.service_2.0.0.200809191850.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/docs/cdl/user/GettingStartedGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/docs/cdl/user/GettingStartedGuide.pdf
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.pdf
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn
===================================================================
--- cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn 2008-09-17 17:40:45 UTC (rev 333)
+++ cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn 2008-09-20 09:21:38 UTC (rev 334)
@@ -29,5 +29,4 @@
<participants type="BankParticipant" instance="JMSBank"/>
<participants type="BankParticipant" instance="FileBank"/>
<participants type="NotifierParticipant"/>
-</scn:Scenario>
-
\ No newline at end of file
+</scn:Scenario>
\ No newline at end of file
15 years, 7 months
Overlord SVN: r333 - in cdl/trunk/distribution/eclipse: features and 1 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-17 13:40:45 -0400 (Wed, 17 Sep 2008)
New Revision: 333
Added:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809171741.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809171741.jar
Removed:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200808221615.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200808221615.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200808221615.jar
Modified:
cdl/trunk/distribution/eclipse/site.xml
Log:
Update the plugins in the local update site for the distribution.
Deleted: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.jbossesb_1.0.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200808221615.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809171741.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200809171741.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/distribution/eclipse/site.xml
===================================================================
--- cdl/trunk/distribution/eclipse/site.xml 2008-09-17 16:10:13 UTC (rev 332)
+++ cdl/trunk/distribution/eclipse/site.xml 2008-09-17 17:40:45 UTC (rev 333)
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200808221615.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200808221615">
+ <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200809171741.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200809171741">
<category name="JBossESB"/>
</feature>
- <feature url="features/org.scribble.conversation.feature_0.1.0.200808221615.jar" id="org.scribble.conversation.feature" version="0.1.0.200808221615">
+ <feature url="features/org.scribble.conversation.feature_0.1.0.200809171741.jar" id="org.scribble.conversation.feature" version="0.1.0.200809171741">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.experimental.feature_0.1.0.200808221615.jar" id="org.scribble.experimental.feature" version="0.1.0.200808221615">
+ <feature url="features/org.scribble.experimental.feature_0.1.0.200809171741.jar" id="org.scribble.experimental.feature" version="0.1.0.200809171741">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.feature_0.1.0.200808221615.jar" id="org.scribble.feature" version="0.1.0.200808221615">
+ <feature url="features/org.scribble.feature_0.1.0.200809171741.jar" id="org.scribble.feature" version="0.1.0.200809171741">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.protocol.feature_0.1.0.200808221615.jar" id="org.scribble.protocol.feature" version="0.1.0.200808221615">
+ <feature url="features/org.scribble.protocol.feature_0.1.0.200809171741.jar" id="org.scribble.protocol.feature" version="0.1.0.200809171741">
<category name="Common"/>
</feature>
<category-def name="JBossESB" label="JBossESB">
15 years, 7 months
Overlord SVN: r331 - cdl/trunk/samples/jbossesb/purchasing/models.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-17 11:21:46 -0400 (Wed, 17 Sep 2008)
New Revision: 331
Added:
cdl/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml
cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml
Removed:
cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml
cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml
Modified:
cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn
cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm
cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn
Log:
Updated purchasing model to make message types more consistent with the choreography description abstract types, to make it easier when referring to the diagrams in a document.
Added: cdl/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/BuyConfirmed.xml 2008-09-17 15:21:46 UTC (rev 331)
@@ -0,0 +1 @@
+<BuyConfirmed id="1" />
\ No newline at end of file
Deleted: cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml 2008-09-17 14:30:52 UTC (rev 330)
+++ cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml 2008-09-17 15:21:46 UTC (rev 331)
@@ -1 +0,0 @@
-<BuyResponse id="1" />
\ No newline at end of file
Added: cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckOk.xml 2008-09-17 15:21:46 UTC (rev 331)
@@ -0,0 +1 @@
+<CreditCheckOk id="1" />
\ No newline at end of file
Deleted: cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml 2008-09-17 14:30:52 UTC (rev 330)
+++ cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml 2008-09-17 15:21:46 UTC (rev 331)
@@ -1 +0,0 @@
-<CreditCheckResponse id="1" />
\ No newline at end of file
Modified: cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn 2008-09-17 14:30:52 UTC (rev 330)
+++ cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn 2008-09-17 15:21:46 UTC (rev 331)
@@ -6,8 +6,8 @@
<scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" direction="receive" messageType="CreditCheckRequest" valueURL="CreditCheckRequest.xml"/>
<scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" faultName="{http://www.pi4soa.org/purchase}CreditCheckFailed" isRequest="false" messageType="CreditCheckInvalid" valueURL="CreditCheckInvalid.xml"/>
<scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" faultName="{http://www.pi4soa.org/purchase}CreditCheckFailed" isRequest="false" direction="receive" messageType="CreditCheckInvalid" valueURL="CreditCheckInvalid.xml"/>
- <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" isRequest="false" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
- <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" isRequest="false" direction="receive" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" isRequest="false" messageType="BuyConfirmed" valueURL="BuyConfirmed.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" isRequest="false" direction="receive" messageType="BuyConfirmed" valueURL="BuyConfirmed.xml"/>
<messageLinks source="//(a)scenarioObjects.0" target="//(a)scenarioObjects.1"/>
<messageLinks source="//(a)scenarioObjects.2" target="//(a)scenarioObjects.3"/>
<messageLinks source="//(a)scenarioObjects.4" target="//(a)scenarioObjects.5"/>
Modified: cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm 2008-09-17 14:30:52 UTC (rev 330)
+++ cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm 2008-09-17 15:21:46 UTC (rev 331)
@@ -3,22 +3,23 @@
<typeDefinitions>
<nameSpaces description="Target Namespace for PurchaseGoods" prefix="tns" uRI="http://www.pi4soa.org/purchase"/>
<nameSpaces description="XML Schema Namespace" prefix="xsd" uRI="http://www.w3.org/2001/XMLSchema"/>
+ <nameSpaces prefix="pur" uRI="java:com.acme.purchasing"/>
+ <informationTypes description="This is the information type BuyConfirmed" name="BuyConfirmed" elementName="BuyConfirmed"/>
<informationTypes description="This is the information type BuyFailed" name="BuyFailed" elementName="BuyFailed"/>
- <informationTypes description="This is the information type BuyRequest" name="BuyRequest" elementName="BuyRequest"/>
- <informationTypes description="This is the information type BuyResponse" name="BuyResponse" elementName="BuyResponse"/>
- <informationTypes description="This is the information type CreditInformation" name="CreditInformation" elementName="creditInformation"/>
- <informationTypes description="This is the information type CreditInvalid" name="CreditInvalid" elementName="creditInvalid"/>
- <informationTypes description="This is the information type CreditValid" name="CreditValid" elementName="creditValid"/>
+ <informationTypes description="This is the information type BuyRequest" name="BuyRequest" typeName="" elementName="BuyRequest"/>
+ <informationTypes description="This is the information type CreditCheckInvalid" name="CreditCheckInvalid" elementName="CreditCheckInvalid"/>
+ <informationTypes description="This is the information type CreditCheckOk" name="CreditCheckOk" elementName="CreditCheckOk"/>
+ <informationTypes description="This is the information type CreditCheckRequest" name="CreditCheckRequest" elementName="CreditCheckRequest"/>
<informationTypes description="This is the information type IDType" name="IDType" typeName="xsd:string"/>
<informationTypes description="This is the information type URITokenType" name="URITokenType" typeName="xsd:anyURI"/>
<tokens description="This is the token ID" name="ID" informationType="//@typeDefinitions/(a)informationTypes.6"/>
<tokens description="This is the token URIToken" name="URIToken" informationType="//@typeDefinitions/(a)informationTypes.7"/>
- <tokenLocators description="This is the token locator BuyFailedIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.0" query="//@id" name="BuyFailedIDLocator"/>
- <tokenLocators description="This is the token locator BuyRequestIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.1" query="//@id" name="BuyRequestIDLocator"/>
- <tokenLocators description="This is the token locator BuyResponseIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.2" query="//@id" name="BuyResponseIDLocator"/>
- <tokenLocators description="This is the token locator CreditCheckInvalidIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.4" query="//@id" name="CreditCheckInvalidIDLocator"/>
- <tokenLocators description="This is the token locator CreditCheckRequestIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.3" query="//@id" name="CreditCheckRequestIDLocator"/>
- <tokenLocators description="This is the token locator CreditCheckResponseIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.5" query="//@id" name="CreditCheckResponseIDLocator"/>
+ <tokenLocators description="This is the token locator BuyFailedIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.1" query="//@id" name="BuyFailedIDLocator"/>
+ <tokenLocators description="This is the token locator BuyRequestIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.2" query="//@id" name="BuyRequestIDLocator"/>
+ <tokenLocators description="This is the token locator BuyResponseIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.0" query="//@id" name="BuyResponseIDLocator"/>
+ <tokenLocators description="This is the token locator CreditCheckInvalidIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.3" query="//@id" name="CreditCheckInvalidIDLocator"/>
+ <tokenLocators description="This is the token locator CreditCheckRequestIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.5" query="//@id" name="CreditCheckRequestIDLocator"/>
+ <tokenLocators description="This is the token locator CreditCheckResponseIDLocator" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.4" query="//@id" name="CreditCheckResponseIDLocator"/>
<roleTypes description="This is the role type Buyer" name="Buyer">
<behaviors description="This is the behavior BuyerBehavior" name="BuyerBehavior"/>
</roleTypes>
@@ -48,28 +49,29 @@
</typeDefinitions>
<choreographies description="Choreography flow for the PurchaseGoods process" name="PurchaseGoodsProcess" root="true">
<variableDefinitions description="Channel to facilitate interaction to CreditAgency" name="CreditAgencyChannel" type="//@typeDefinitions/(a)channelTypes.0"/>
- <variableDefinitions description="Channel to facilitate interaction to Store" name="StoreChannel" type="//@typeDefinitions/(a)channelTypes.1"/>
+ <variableDefinitions description="Channel to facilitate interaction to Supplier" name="SupplierChannel" type="//@typeDefinitions/(a)channelTypes.1"/>
+ <variableDefinitions description="This is the variable buy" name="buy" type="//@typeDefinitions/(a)informationTypes.2"/>
<activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyRequest" operation="buy" channelVariable="//@choreographies.0/(a)variableDefinitions.1" relationship="//@typeDefinitions/(a)relationshipTypes.0">
- <exchangeDetails description="This is the exchange details for the request exchange associated with interaction BuyRequest" name="BuyRequestRequestExchange" type="//@typeDefinitions/(a)informationTypes.1"/>
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction BuyRequest" name="BuyRequestRequestExchange" type="//@typeDefinitions/(a)informationTypes.2"/>
</activities>
- <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckRequest" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
- <exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheckRequest" name="CreditCheckRequestRequestExchange" type="//@typeDefinitions/(a)informationTypes.3"/>
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheck" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheck" name="CreditCheckRequestExchange" type="//@typeDefinitions/(a)informationTypes.5"/>
</activities>
<activities xsi:type="org.pi4soa.cdl:Choice" description="Is credit ok?">
<activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Valid">
- <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckResponse" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
- <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckResponse" name="CreditCheckResponseRespondExchange" type="//@typeDefinitions/(a)informationTypes.5" action="Respond"/>
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckOk" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckOk" name="CreditCheckOkRespondExchange" type="//@typeDefinitions/(a)informationTypes.4" action="Respond"/>
</activities>
- <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyResponse" operation="buy" channelVariable="//@choreographies.0/(a)variableDefinitions.1" relationship="//@typeDefinitions/(a)relationshipTypes.0">
- <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyResponse" name="BuyResponseRespondExchange" type="//@typeDefinitions/(a)informationTypes.2" action="Respond"/>
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyConfirmed" operation="buy" channelVariable="//@choreographies.0/(a)variableDefinitions.1" relationship="//@typeDefinitions/(a)relationshipTypes.0">
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyConfirmed" name="BuyConfirmedRespondExchange" type="//@typeDefinitions/(a)informationTypes.0" action="Respond"/>
</activities>
</activities>
<activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Invalid">
<activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckFailed" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
- <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckFailed" name="CreditCheckFailedRespondExchange" type="//@typeDefinitions/(a)informationTypes.4" action="Respond" faultName="CreditCheckFailed"/>
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckFailed" name="CreditCheckFailedRespondExchange" type="//@typeDefinitions/(a)informationTypes.3" action="Respond" faultName="CreditCheckFailed"/>
</activities>
<activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyFailed" operation="buy" channelVariable="//@choreographies.0/(a)variableDefinitions.1" relationship="//@typeDefinitions/(a)relationshipTypes.0">
- <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyFailed" name="BuyFailedRespondExchange" type="//@typeDefinitions/(a)informationTypes.0" action="Respond" faultName="BuyFailed"/>
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyFailed" name="BuyFailedRespondExchange" type="//@typeDefinitions/(a)informationTypes.1" action="Respond" faultName="BuyFailed"/>
</activities>
</activities>
</activities>
Modified: cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn 2008-09-17 14:30:52 UTC (rev 330)
+++ cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn 2008-09-17 15:21:46 UTC (rev 331)
@@ -4,10 +4,10 @@
<scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" direction="receive" messageType="BuyRequest" valueURL="BuyRequest.xml"/>
<scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" messageType="CreditCheckRequest" valueURL="CreditCheckRequest.xml"/>
<scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" direction="receive" messageType="CreditCheckRequest" valueURL="CreditCheckRequest.xml"/>
- <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" isRequest="false" messageType="CreditCheckResponse" valueURL="CreditCheckResponse.xml"/>
- <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" isRequest="false" direction="receive" messageType="CreditCheckResponse" valueURL="CreditCheckResponse.xml"/>
- <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" isRequest="false" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
- <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" isRequest="false" direction="receive" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" isRequest="false" messageType="CreditCheckOk" valueURL="CreditCheckOk.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" isRequest="false" direction="receive" messageType="CreditCheckOk" valueURL="CreditCheckOk.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" isRequest="false" messageType="BuyConfirmed" valueURL="BuyConfirmed.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" isRequest="false" direction="receive" messageType="BuyConfirmed" valueURL="BuyConfirmed.xml"/>
<messageLinks source="//(a)scenarioObjects.0" target="//(a)scenarioObjects.1"/>
<messageLinks source="//(a)scenarioObjects.2" target="//(a)scenarioObjects.3"/>
<messageLinks source="//(a)scenarioObjects.4" target="//(a)scenarioObjects.5"/>
15 years, 7 months
Overlord SVN: r330 - cdl/trunk/samples/jbossesb/purchasing/models.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-17 10:30:52 -0400 (Wed, 17 Sep 2008)
New Revision: 330
Added:
cdl/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml
cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml
cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml
cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml
cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml
cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn
cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn
Modified:
cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm
Log:
Added example messages and scenarios for the Purchasing example.
Added: cdl/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/BuyRequest.xml 2008-09-17 14:30:52 UTC (rev 330)
@@ -0,0 +1 @@
+<BuyRequest id="1" />
\ No newline at end of file
Added: cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/BuyResponse.xml 2008-09-17 14:30:52 UTC (rev 330)
@@ -0,0 +1 @@
+<BuyResponse id="1" />
\ No newline at end of file
Added: cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckInvalid.xml 2008-09-17 14:30:52 UTC (rev 330)
@@ -0,0 +1 @@
+<CreditCheckInvalid id="1" />
\ No newline at end of file
Added: cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckRequest.xml 2008-09-17 14:30:52 UTC (rev 330)
@@ -0,0 +1 @@
+<CreditCheckRequest id="1" />
\ No newline at end of file
Added: cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/CreditCheckResponse.xml 2008-09-17 14:30:52 UTC (rev 330)
@@ -0,0 +1 @@
+<CreditCheckResponse id="1" />
\ No newline at end of file
Added: cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/InvalidPurchase.scn 2008-09-17 14:30:52 UTC (rev 330)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="Cp1252"?>
+<scn:Scenario xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:scn="http://www.pi4soa.org/scenario" name="InvalidPurchase" description="Invalid purchase goods" author="" choreographyDescriptionURL="PurchaseGoods.cdm">
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" messageType="BuyRequest" valueURL="BuyRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" direction="receive" messageType="BuyRequest" valueURL="BuyRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" messageType="CreditCheckRequest" valueURL="CreditCheckRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" direction="receive" messageType="CreditCheckRequest" valueURL="CreditCheckRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" faultName="{http://www.pi4soa.org/purchase}CreditCheckFailed" isRequest="false" messageType="CreditCheckInvalid" valueURL="CreditCheckInvalid.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" faultName="{http://www.pi4soa.org/purchase}CreditCheckFailed" isRequest="false" direction="receive" messageType="CreditCheckInvalid" valueURL="CreditCheckInvalid.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" isRequest="false" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" isRequest="false" direction="receive" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
+ <messageLinks source="//(a)scenarioObjects.0" target="//(a)scenarioObjects.1"/>
+ <messageLinks source="//(a)scenarioObjects.2" target="//(a)scenarioObjects.3"/>
+ <messageLinks source="//(a)scenarioObjects.4" target="//(a)scenarioObjects.5"/>
+ <messageLinks source="//(a)scenarioObjects.6" target="//(a)scenarioObjects.7"/>
+ <participants type="Buyer"/>
+ <participants type="Store"/>
+ <participants type="CreditAgency"/>
+</scn:Scenario>
Modified: cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm 2008-09-16 19:58:27 UTC (rev 329)
+++ cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm 2008-09-17 14:30:52 UTC (rev 330)
@@ -55,8 +55,8 @@
<activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckRequest" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
<exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheckRequest" name="CreditCheckRequestRequestExchange" type="//@typeDefinitions/(a)informationTypes.3"/>
</activities>
- <activities xsi:type="org.pi4soa.cdl:Choice">
- <activities xsi:type="org.pi4soa.cdl:Sequence">
+ <activities xsi:type="org.pi4soa.cdl:Choice" description="Is credit ok?">
+ <activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Valid">
<activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckResponse" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
<exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckResponse" name="CreditCheckResponseRespondExchange" type="//@typeDefinitions/(a)informationTypes.5" action="Respond"/>
</activities>
@@ -64,7 +64,7 @@
<exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyResponse" name="BuyResponseRespondExchange" type="//@typeDefinitions/(a)informationTypes.2" action="Respond"/>
</activities>
</activities>
- <activities xsi:type="org.pi4soa.cdl:Sequence">
+ <activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Invalid">
<activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckFailed" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
<exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckFailed" name="CreditCheckFailedRespondExchange" type="//@typeDefinitions/(a)informationTypes.4" action="Respond" faultName="CreditCheckFailed"/>
</activities>
Added: cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/models/SuccessfulPurchase.scn 2008-09-17 14:30:52 UTC (rev 330)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="Cp1252"?>
+<scn:Scenario xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:scn="http://www.pi4soa.org/scenario" name="SuccessfulPurchase" description="Successfully purchase goods" author="" choreographyDescriptionURL="PurchaseGoods.cdm">
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" messageType="BuyRequest" valueURL="BuyRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" direction="receive" messageType="BuyRequest" valueURL="BuyRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" messageType="CreditCheckRequest" valueURL="CreditCheckRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" direction="receive" messageType="CreditCheckRequest" valueURL="CreditCheckRequest.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="checkCredit" isRequest="false" messageType="CreditCheckResponse" valueURL="CreditCheckResponse.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" isRequest="false" direction="receive" messageType="CreditCheckResponse" valueURL="CreditCheckResponse.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="buy" isRequest="false" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="buy" isRequest="false" direction="receive" messageType="BuyResponse" valueURL="BuyResponse.xml"/>
+ <messageLinks source="//(a)scenarioObjects.0" target="//(a)scenarioObjects.1"/>
+ <messageLinks source="//(a)scenarioObjects.2" target="//(a)scenarioObjects.3"/>
+ <messageLinks source="//(a)scenarioObjects.4" target="//(a)scenarioObjects.5"/>
+ <messageLinks source="//(a)scenarioObjects.6" target="//(a)scenarioObjects.7"/>
+ <participants type="Buyer"/>
+ <participants type="Store"/>
+ <participants type="CreditAgency"/>
+</scn:Scenario>
15 years, 7 months
Overlord SVN: r329 - in cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model: util and 1 other directory.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-16 15:58:27 -0400 (Tue, 16 Sep 2008)
New Revision: 329
Modified:
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBService.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/util/PropertyUtil.java
Log:
Catch class not found exceptions, which may occur even if Java source exists, if validation performed concurrently with the Java builder compiling the source.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBService.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBService.java 2008-09-14 20:21:17 UTC (rev 328)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBService.java 2008-09-16 19:58:27 UTC (rev 329)
@@ -330,7 +330,7 @@
}
}
- } catch(Exception e) {
+ } catch(Throwable e) {
logger.log(java.util.logging.Level.SEVERE,
"Failed to get session class '"+session+"'", e);
}
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/util/PropertyUtil.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/util/PropertyUtil.java 2008-09-14 20:21:17 UTC (rev 328)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/util/PropertyUtil.java 2008-09-16 19:58:27 UTC (rev 329)
@@ -123,7 +123,7 @@
}
}
- } catch(Exception e) {
+ } catch(Throwable e) {
logger.log(Level.SEVERE, "Failed to find property '"+prop+
"' on class '"+type+"'", e);
}
15 years, 7 months
Overlord SVN: r328 - in cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb: src/java/org/jboss/tools/overlord/cdl/jbossesb and 2 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-14 16:21:17 -0400 (Sun, 14 Sep 2008)
New Revision: 328
Added:
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/export/
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/export/ESBLanguageModelStreamExportRule.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/TypeReferenceModelChangeRule.java
Modified:
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/META-INF/MANIFEST.MF
Log:
ESB specific rules to update the model.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/META-INF/MANIFEST.MF
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/META-INF/MANIFEST.MF 2008-09-12 16:42:14 UTC (rev 327)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/META-INF/MANIFEST.MF 2008-09-14 20:21:17 UTC (rev 328)
@@ -21,9 +21,11 @@
org.jboss.tools.overlord.cdl.jbossesb.parser.JBossESBNotation,
org.jboss.tools.overlord.cdl.jbossesb.editor.JBossESBConfigEditorManager,
org.jboss.tools.overlord.cdl.jbossesb.validation.ESBLanguageModelValidationRule,
+ org.jboss.tools.overlord.cdl.jbossesb.export.ESBLanguageModelStreamExportRule,
org.jboss.tools.overlord.cdl.jbossesb.model.change.LanguageToConversationModelChangeRule,
org.jboss.tools.overlord.cdl.jbossesb.model.change.ConversationModelChangeRule,
org.jboss.tools.overlord.cdl.jbossesb.model.change.ConversationInteractionModelChangeRule,
+ org.jboss.tools.overlord.cdl.jbossesb.model.change.TypeReferenceModelChangeRule,
org.jboss.tools.overlord.cdl.jbossesb.model.change.IfModelChangeRule,
org.jboss.tools.overlord.cdl.jbossesb.model.change.ParallelModelChangeRule,
org.jboss.tools.overlord.cdl.jbossesb.model.change.RunModelChangeRule,
Added: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/export/ESBLanguageModelStreamExportRule.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/export/ESBLanguageModelStreamExportRule.java (rev 0)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/export/ESBLanguageModelStreamExportRule.java 2008-09-14 20:21:17 UTC (rev 328)
@@ -0,0 +1,205 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.tools.overlord.cdl.jbossesb.export;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+
+import org.jboss.tools.overlord.cdl.jbossesb.model.ESBLanguageModel;
+import org.scribble.export.*;
+import org.scribble.export.stream.*;
+import org.scribble.extensions.RegistryInfo;
+import org.scribble.model.*;
+import org.w3c.dom.Node;
+
+/**
+ * This class implements the stream based export rule for the
+ * ESBLanguageModel entity.
+ */
+(a)RegistryInfo(extension=ExportRule.class,notation=ESBLanguageModel.JBOSSESB_NOTATION)
+public class ESBLanguageModelStreamExportRule extends DefaultModelStreamExportRule {
+
+ /**
+ * This method exports the model object.
+ *
+ * @param modelObject The model object
+ * @param context The context
+ */
+ public boolean isSupported(ModelObject modelObject, String format) {
+ return(super.isSupported(modelObject, format) &&
+ ESBLanguageModel.class.isAssignableFrom(modelObject.getClass()));
+ }
+
+ /**
+ * This method determines whether the exporter rule is appropriate
+ * for the supplied model object and format.
+ *
+ * @param modelObject The model object
+ * @param format The format
+ * @throws IOException Failed to record export information
+ */
+ public void export(ModelObject modelObject, ExporterContext context)
+ throws java.io.IOException {
+ ESBLanguageModel model=(ESBLanguageModel)modelObject;
+
+ try {
+ String text=getText(model.getESBConfiguration());
+
+ context.record(text.getBytes());
+
+ } catch(Exception e) {
+ throw new java.io.IOException("Failed to get ESB configuration text");
+ }
+ }
+
+ /**
+ * This class converts a DOM representation node to
+ * text.
+ *
+ * @param node The DOM node
+ * @return The text
+ * @throws Exception Failed to convert
+ */
+ protected String getText(Node node) throws Exception {
+ String ret=null;
+
+ try {
+ // Transform the DOM represent to text
+ java.io.ByteArrayOutputStream xmlstr=
+ new java.io.ByteArrayOutputStream();
+
+ DOMSource source=new DOMSource();
+ source.setNode(node);
+
+ StreamResult result=new StreamResult(xmlstr);
+
+ Transformer trans=
+ TransformerFactory.newInstance().newTransformer();
+ trans.transform(source, result);
+
+ xmlstr.close();
+
+ ret = new String(xmlstr.toByteArray());
+
+ if ((node instanceof org.w3c.dom.Document) == false) {
+
+ // Strip off any <?xml> header
+ int index=ret.indexOf("<?xml");
+ if (index != -1) {
+ index = ret.indexOf("<", 1);
+
+ if (index != -1) {
+ ret = ret.substring(index);
+ } else {
+ index = ret.indexOf("?>");
+
+ if (index != -1) {
+ index += 2;
+
+ // Remove any trailing whitespaces
+ // after XML header
+ while (index < ret.length() &&
+ Character.isWhitespace(ret.charAt(index))) {
+ index++;
+ }
+
+ ret = ret.substring(index);
+ }
+ }
+ }
+ }
+
+ } catch(Exception e) {
+ throw new Exception("Failed to transform " +
+ "DOM representation into text", e);
+ }
+
+ int pos=0;
+ int prevpos=0;
+ StringBuffer buf=new StringBuffer();
+ int level=0;
+
+ while ((pos=ret.indexOf('<', prevpos)) != -1) {
+
+ if (prevpos < pos &&
+ ret.substring(prevpos, pos).trim().length() > 0 &&
+ ret.charAt(prevpos-1) != '?') {
+
+ if (ret.charAt(prevpos) == '\r' &&
+ ret.charAt(prevpos+1) == '\n') {
+ prevpos += 2;
+ }
+ for (int i=0; i < level; i++) {
+ buf.append(" ");
+ }
+
+ buf.append(ret.substring(prevpos, pos).trim());
+ buf.append("\r\n");
+ }
+
+ int endpos=ret.indexOf('>', pos);
+
+ if (endpos > 0) {
+ boolean noreturn=false;
+
+ if (pos > 0 && ret.charAt(pos+1) == '/') {
+ level--;
+ }
+
+ for (int i=0; i < level; i++) {
+ buf.append(" ");
+ }
+ buf.append(ret.substring(pos, endpos+1));
+
+ if (ret.charAt(endpos-1)== '?') {
+ //noreturn = true;
+
+ } else if (ret.charAt(endpos-1) == '/') {
+ // Ignore
+ } else if (pos > 0 && ret.charAt(pos+1) == '/') {
+ // Ignore
+
+ } else if (pos > 0 && ret.charAt(pos+1) == '!') {
+ // Ignore
+
+ } else {
+ level++;
+ }
+
+ if (noreturn == false) {
+ buf.append("\r\n");
+ }
+
+ pos = endpos+1;
+ }
+
+ prevpos = pos;
+ }
+
+ if (prevpos != -1 &&
+ ret.substring(prevpos).trim().length() > 0) {
+ buf.append(ret.substring(prevpos));
+ }
+
+ ret = buf.toString();
+
+ return(ret);
+ }
+}
Added: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/TypeReferenceModelChangeRule.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/TypeReferenceModelChangeRule.java (rev 0)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/TypeReferenceModelChangeRule.java 2008-09-14 20:21:17 UTC (rev 328)
@@ -0,0 +1,172 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.tools.overlord.cdl.jbossesb.model.change;
+
+import org.jboss.tools.overlord.cdl.jbossesb.model.*;
+import org.jboss.tools.overlord.cdl.jbossesb.model.actions.*;
+import org.jboss.tools.overlord.cdl.jbossesb.model.util.InteractionUtil;
+import org.scribble.model.*;
+import org.scribble.model.change.*;
+import org.scribble.conversation.model.*;
+import org.scribble.extensions.RegistryInfo;
+
+/**
+ * This is the model change rule for the Type Reference.
+ */
+(a)RegistryInfo(extension=ModelChangeRule.class,notation=ESBLanguageModel.JBOSSESB_NOTATION)
+public class TypeReferenceModelChangeRule extends AbstractModelChangeRule {
+
+ /**
+ * This method determines whether the rule is appropriate
+ * for the supplied type of model, parent (in the context)
+ * and modified model object.
+ *
+ * @param context The context
+ * @param model The model
+ * @param fromObj The source model object
+ * @param toObj The model object to be updated
+ * @return Whether the rule supports the supplied information
+ */
+ @Override
+ public boolean isUpdateSupported(ModelChangeContext context,
+ Model model, ModelObject fromObj, ModelObject toObj) {
+ boolean ret=false;
+
+ if (fromObj instanceof TypeReference &&
+ toObj instanceof TypeReference &&
+ model instanceof ESBLanguageModel) {
+ ret = true;
+ }
+
+ return(ret);
+ }
+
+ /**
+ * This method modifies an existing model object, within a
+ * parent model object, with the details supplied in
+ * another model object.
+ *
+ * @param context The context
+ * @param model The model being changed
+ * @param fromObj The source model object
+ * @param toObj The model object to be updated
+ * @return Whether the change has been applied
+ */
+ @Override
+ public boolean update(ModelChangeContext context,
+ Model model, ModelObject fromObj, ModelObject toObj) {
+ boolean ret=false;
+ ESBLanguageModel esbModel=(ESBLanguageModel)model;
+ TypeReference fromTypeRef=(TypeReference)fromObj;
+ TypeReference toTypeRef=(TypeReference)toObj;
+ ConversationInteraction toInteraction=null;
+ ConversationInteraction fromInteraction=null;
+
+ if (toTypeRef != null && toTypeRef.getParent() instanceof MessageSignature &&
+ toTypeRef.getParent().getParent() instanceof ConversationInteraction) {
+ toInteraction = (ConversationInteraction)toTypeRef.getParent().getParent();
+ }
+
+ if (fromTypeRef != null && fromTypeRef.getParent() instanceof MessageSignature &&
+ fromTypeRef.getParent().getParent() instanceof ConversationInteraction) {
+ fromInteraction = (ConversationInteraction)fromTypeRef.getParent().getParent();
+ }
+
+ // Get action from 'toInteraction'
+ if (toInteraction != null &&
+ toInteraction.getSource().getObject() instanceof
+ AbstractInteractionMessageAction) {
+ AbstractInteractionMessageAction ma=
+ (AbstractInteractionMessageAction)
+ toInteraction.getSource().getObject();
+
+ ESBService service = ma.getService();
+
+ String origMesgType=ma.getMessageType();
+
+ // Set message type
+ setMessageType(ma, fromInteraction);
+
+ // Update message type in router if appropriate
+ if (InteractionUtil.isSend(fromInteraction) == false &&
+ fromInteraction.getReplyToLabel() == null) {
+ updateRouterMessageType(esbModel, service,
+ origMesgType, ma);
+ }
+
+ ret = true;
+ }
+
+ return(ret);
+ }
+
+ protected void updateRouterMessageType(ESBLanguageModel esbModel,
+ ESBService service, String origMesgType,
+ AbstractInteractionMessageAction ma) {
+ ESBService gwService=esbModel.getGatewayService();
+
+ if (gwService != null) {
+ ESBAction gwAction=gwService.getGatewayAction();
+
+ if (gwAction instanceof MessageRouterAction) {
+ MessageRouterAction mra=(MessageRouterAction)
+ gwAction;
+
+ org.w3c.dom.Element route=
+ mra.getRouteElement(service.getCategory(),
+ service.getName());
+
+ if (route != null) {
+ org.w3c.dom.NodeList nl=
+ route.getElementsByTagName(MessageRouterAction.MESSAGE_ELEMENT);
+
+ for (int i=0; i < nl.getLength(); i++) {
+ if (nl.item(i) instanceof org.w3c.dom.Element) {
+ org.w3c.dom.Element mesg=
+ (org.w3c.dom.Element)nl.item(i);
+
+ if (mesg.getAttribute(MessageRouterAction.TYPE_ATTR).
+ equals(origMesgType)) {
+ mesg.setAttribute(MessageRouterAction.TYPE_ATTR,
+ ma.getMessageType());
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ protected void setMessageType(AbstractInteractionMessageAction action,
+ ConversationInteraction interaction) {
+
+ if (interaction.getMessageSignature().getTypes().size() == 1) {
+ TypeReference ref=interaction.getMessageSignature().getTypes().get(0);
+
+ // TODO: Search for an implementation associated with
+ // the type reference, so that the type can be
+ // abstract - possibly have the required message type
+ // notation as part of the context, so that if multiple
+ // implementations found, then can select e.g. XML or
+ // Java as message type representation.
+ String mtype=InteractionUtil.getTypeString(ref);
+
+ action.setMessageType(mtype);
+ }
+ }
+}
15 years, 7 months
Overlord SVN: r327 - in cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src: java/org/jboss/tools/overlord/cdl/jbossesb/model/actions and 3 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-12 12:42:14 -0400 (Fri, 12 Sep 2008)
New Revision: 327
Modified:
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBLanguageModel.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/ESBAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/AbstractESBAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/ReceiveMessageAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/SwitchAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/WhileAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRule.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBService.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRuleTest.java
Log:
Added concept of 'initiator' actions, which must be at the start of an ESB service action list (i.e. first session based action), as way to determine when insertion of an action needs to also insert a ScheduleState + new service. Only implemented for inserting a send currently.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBLanguageModel.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBLanguageModel.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/DefaultESBLanguageModel.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -280,8 +280,13 @@
try {
for (int i=0; i < getConversations().size(); i++) {
ConversationModel model=new ConversationModel();
+ Conversation conv=getConversations().get(i);
+ ModelObject parent=conv.getParent();
- model.setConversation(getConversations().get(i));
+ // This command will overwrite the parent of
+ // the conversation, so need to set this back
+ // at the end
+ model.setConversation(conv);
org.scribble.export.text.TextFormatter formatter=
new org.scribble.export.text.TextFormatter();
@@ -297,6 +302,9 @@
System.out.println("EXPORTED JBOSS-ESB TEXT:");
System.out.println(str);
+
+ // Re-establish the true parent
+ conv.setParent(parent);
}
} catch(Exception e) {
e.printStackTrace();
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/ESBAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/ESBAction.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/ESBAction.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -80,6 +80,15 @@
public boolean isPerform();
/**
+ * This method indicates whether the action is an initiator.
+ * Initiator actions must precede any other session based
+ * action, within an ESB service.
+ *
+ * @return Whether the action is an initiator
+ */
+ public boolean isInitiator();
+
+ /**
* This method returns the action's class name.
*
* @return The action's class name
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/AbstractESBAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/AbstractESBAction.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/AbstractESBAction.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -308,6 +308,17 @@
}
/**
+ * This method indicates whether the action is an initiator.
+ * Initiator actions must precede any other session based
+ * action, within an ESB service.
+ *
+ * @return Whether the action is an initiator
+ */
+ public boolean isInitiator() {
+ return(false);
+ }
+
+ /**
* This method returns the mandatory property names.
*
* @return The mandatory property names
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/ReceiveMessageAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/ReceiveMessageAction.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/ReceiveMessageAction.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -53,6 +53,18 @@
}
/**
+ * This method indicates whether the action is an initiator.
+ * Initiator actions must precede any other session based
+ * action, within an ESB service.
+ *
+ * @return Whether the action is an initiator
+ */
+ @Override
+ public boolean isInitiator() {
+ return(true);
+ }
+
+ /**
* This method converts the ESB action into an equivalent
* behavioural description for conformance checking.
*
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/SwitchAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/SwitchAction.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/SwitchAction.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -105,6 +105,18 @@
}
/**
+ * This method indicates whether the action is an initiator.
+ * Initiator actions must precede any other session based
+ * action, within an ESB service.
+ *
+ * @return Whether the action is an initiator
+ */
+ @Override
+ public boolean isInitiator() {
+ return(true);
+ }
+
+ /**
* This method validates the ESB action and reports warnings or
* errors to the supplied model listener.
*
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/WhileAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/WhileAction.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/actions/WhileAction.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -124,6 +124,18 @@
}
/**
+ * This method indicates whether the action is an initiator.
+ * Initiator actions must precede any other session based
+ * action, within an ESB service.
+ *
+ * @return Whether the action is an initiator
+ */
+ @Override
+ public boolean isInitiator() {
+ return(true);
+ }
+
+ /**
* This method returns the mandatory property names.
*
* @return The mandatory property names
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRule.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRule.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/java/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRule.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -119,14 +119,28 @@
setMessageType(action, interaction);
int pos=-1;
+ boolean f_subsequentInitiator=false;
+ boolean f_moveActions=false;
// Check if reference model object provided, and if so,
// if it has a position within the service
if (ref != null && ref.getSource().getObject() instanceof ESBAction) {
pos = service.getActions().indexOf((ESBAction)
ref.getSource().getObject());
+
+ // Check if subsequent action(s) are initiators
+ if (pos != -1) {
+ for (int i=pos; f_subsequentInitiator == false &&
+ i < service.getActions().size(); i++) {
+ f_subsequentInitiator =
+ service.getActions().get(i).isInitiator();
+ }
+ }
}
+ // Move actions if a subsequent initiator has been found
+ f_moveActions = f_subsequentInitiator;
+
service.addAction(action, pos);
if (((ESBService)context.getParent()).getFirstSessionBasedAction() == action &&
@@ -150,6 +164,11 @@
context.setParent(respService);
+ // Clear the sub-sequent initiator flag, as
+ // subsequent actions will be moved to new service
+ // anyway
+ f_subsequentInitiator = false;
+
} else if (interaction.getReplyToLabel() != null) {
if (interaction.getToRole() != null) {
@@ -157,8 +176,46 @@
} else {
action.setClientEPR("client");
}
- }
+ }
+
+ // Check if subsequent initiator found, requiring
+ // a new service
+ if (f_subsequentInitiator) {
+
+ ESBService extraService=esbModel.createService(
+ service.getCategory(),
+ esbModel.getUniqueServiceName(service.getCategory(),
+ service.getName()));
+
+ esbModel.addService(extraService);
+
+ // Add schedule action
+ ScheduleStateAction schedule=
+ new ScheduleStateAction(service);
+
+ schedule.setDestination(extraService.getCategory(),
+ extraService.getName(), false);
+
+ service.addAction(schedule, pos+1);
+
+ // Move pointer on, as now additional 'schedule' action
+ pos++;
+
+ context.setParent(extraService);
+ }
+ // Check if existing actions need to be moved
+ if (f_moveActions) {
+ for (int i=pos+1; i < service.getActions().size();) {
+ ESBService extraService=(ESBService)context.getParent();
+
+ ESBAction act=service.getActions().get(i);
+ service.getActions().remove(i);
+
+ extraService.addAction(act, -1);
+ }
+ }
+
// If not reply, then include the target service
// details
if (interaction.getReplyToLabel() == null &&
@@ -310,46 +367,71 @@
}
/**
+ * This method determines whether the rule is appropriate
+ * for the supplied type of model, parent (in the context)
+ * and modified model object.
+ *
+ * @param context The context
+ * @param model The model
+ * @param fromObj The source model object
+ * @param toObj The model object to be updated
+ * @return Whether the rule supports the supplied information
+ */
+ @Override
+ public boolean isUpdateSupported(ModelChangeContext context,
+ Model model, ModelObject fromObj, ModelObject toObj) {
+ boolean ret=false;
+
+ if (fromObj instanceof ConversationInteraction &&
+ toObj instanceof ConversationInteraction &&
+ context.getParent() instanceof ESBService &&
+ model instanceof ESBLanguageModel) {
+ ret = true;
+ }
+
+ return(ret);
+ }
+
+ /**
* This method modifies an existing model object, within a
* parent model object, with the details supplied in
* another model object.
*
* @param context The context
* @param model The model being changed
- * @param mobj The model object details to be modified
- * @param position The position, where relevant
+ * @param fromObj The source model object
+ * @param toObj The model object to be updated
* @return Whether the change has been applied
*/
+ @Override
public boolean update(ModelChangeContext context,
- Model model, ModelObject mobj, int position) {
+ Model model, ModelObject fromObj, ModelObject toObj) {
boolean ret=false;
ESBLanguageModel esbModel=(ESBLanguageModel)model;
- ConversationInteraction interaction=(ConversationInteraction)mobj;
+ ConversationInteraction fromInteraction=(ConversationInteraction)fromObj;
+ ConversationInteraction toInteraction=(ConversationInteraction)toObj;
ESBService service=(ESBService)context.getParent();
- // Get action at position
- if (position != -1 && position < service.getActions().size()) {
- ESBAction action=service.getActions().get(position);
+ // Get action from 'toInteraction'
+ if (toInteraction.getSource().getObject() instanceof
+ AbstractInteractionMessageAction) {
+ AbstractInteractionMessageAction ma=
+ (AbstractInteractionMessageAction)
+ toInteraction.getSource().getObject();
+
+ String origMesgType=ma.getMessageType();
- // Check action is an interaction
- if (action instanceof AbstractInteractionMessageAction) {
- AbstractInteractionMessageAction ma=
- (AbstractInteractionMessageAction)action;
-
- String origMesgType=ma.getMessageType();
-
- // Set message type
- setMessageType(ma, interaction);
-
- // Update message type in router if appropriate
- if (InteractionUtil.isSend(interaction) == false &&
- interaction.getReplyToLabel() == null) {
- updateRouterMessageType(esbModel, service,
- origMesgType, ma);
- }
-
- ret = true;
+ // Set message type
+ setMessageType(ma, fromInteraction);
+
+ // Update message type in router if appropriate
+ if (InteractionUtil.isSend(fromInteraction) == false &&
+ fromInteraction.getReplyToLabel() == null) {
+ updateRouterMessageType(esbModel, service,
+ origMesgType, ma);
}
+
+ ret = true;
}
return(ret);
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBAction.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBAction.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -55,6 +55,14 @@
}
+ public boolean isInitiator() {
+ return(m_initiator);
+ }
+
+ public void setInitiator(boolean initiator) {
+ m_initiator = initiator;
+ }
+
public boolean isLoop() {
return(m_loop);
}
@@ -101,6 +109,7 @@
private boolean m_sessionBased=false;
private boolean m_loop=false;
+ private boolean m_initiator=false;
private boolean m_createSession=false;
private java.util.Map<String,String> m_property=new java.util.Hashtable<String, String>();
}
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBService.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBService.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/TestESBService.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -193,7 +193,11 @@
}
public void addAction(ESBAction action, int pos) {
- m_actions.add(action);
+ if (pos == -1) {
+ m_actions.add(action);
+ } else {
+ m_actions.add(pos, action);
+ }
}
public boolean removeAction(ESBAction action) {
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRuleTest.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRuleTest.java 2008-09-11 16:48:42 UTC (rev 326)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.jbossesb/src/test/org/jboss/tools/overlord/cdl/jbossesb/model/change/ConversationInteractionModelChangeRuleTest.java 2008-09-12 16:42:14 UTC (rev 327)
@@ -509,6 +509,259 @@
}
}
+ public void testInsertThirdMiddleSendAction() {
+ ConversationInteractionModelChangeRule rule=new ConversationInteractionModelChangeRule();
+
+ TestESBLanguageModel model=new TestESBLanguageModel();
+
+ TestESBService service=(TestESBService)
+ model.createService("testcategory", "testname");
+
+ model.addService(service);
+
+ // Add gateway service
+ TestESBService gwservice=(TestESBService)
+ model.createService("testcategory", "gateway");
+ gwservice.setGateway(true);
+
+ MessageRouterAction mra=new MessageRouterAction(gwservice);
+ gwservice.setGatewayAction(mra);
+
+ model.setGatewayService(gwservice);
+
+
+ TestModelChangeContext context=new TestModelChangeContext();
+ context.setParent(service);
+
+ Role role=new Role();
+ role.setName("role1");
+
+ context.setRole(role);
+
+ Conversation conv=new Conversation();
+ ModelName mname=new ModelName();
+ mname.setLocatedRole(role);
+ conv.setModelName(mname);
+
+ ConversationInteraction mobj1=new ConversationInteraction();
+ mobj1.setToRole(role);
+ conv.getBlock().getContents().add(mobj1);
+
+ MessageSignature msig1=new MessageSignature();
+ mobj1.setMessageSignature(msig1);
+
+ TypeReference ref1=new TypeReference();
+ ref1.setNamespace("ns");
+ ref1.setLocalpart("lp1");
+
+ msig1.getTypes().add(ref1);
+
+ if (rule.insert(context, model, mobj1, null) == false) {
+ fail("Failed to insert 1");
+ }
+
+ ConversationInteraction mobj2=new ConversationInteraction();
+ mobj2.setToRole(role);
+ conv.getBlock().getContents().add(mobj2);
+
+ MessageSignature msig2=new MessageSignature();
+ mobj2.setMessageSignature(msig2);
+
+ TypeReference ref2=new TypeReference();
+ ref2.setNamespace("ns");
+ ref2.setLocalpart("lp2");
+
+ msig2.getTypes().add(ref2);
+
+ // Once first interaction associated with service it
+ // will become session based
+ service.setSessionBased(true);
+
+ if (rule.insert(context, model, mobj2, null) == false) {
+ fail("Failed to insert 2");
+ }
+
+ // Check actions
+ if (service.getActions().size() != 2) {
+ fail("Expecting 2 actions: "+service.getActions().size());
+ }
+
+ if ((service.getActions().get(0) instanceof ReceiveMessageAction) == false) {
+ fail("Action 1 was not ReceiveMessageAction: "+service.getActions().get(0));
+ }
+
+ if ((service.getActions().get(1) instanceof ScheduleStateAction) == false) {
+ fail("Action 2 was not ScheduleStateAction: "+service.getActions().get(1));
+ }
+
+ if (model.getServices().size() != 2) {
+ fail("Two services expected: "+model.getServices().size());
+ }
+
+ ESBService newService=null;
+ java.util.Iterator<ESBService> iter=model.getServices().iterator();
+ while (newService == null && iter.hasNext()) {
+ ESBService s=iter.next();
+
+ if (s != service) {
+ newService = s;
+ }
+ }
+
+ if (newService == null) {
+ fail("Other service not found");
+ }
+
+ ((TestESBService)newService).setSessionBased(true);
+
+ // Check schedule details
+ ScheduleStateAction schedule=(ScheduleStateAction)
+ service.getActions().get(1);
+
+ if (newService.getCategory().equals(schedule.getPropertyValue(
+ ScheduleStateAction.SERVICE_CATEGORY)) == false) {
+ fail("Schedule service category '"+
+ schedule.getPropertyValue(
+ ScheduleStateAction.SERVICE_CATEGORY)+
+ "' invalid, expecting: "+
+ service.getCategory());
+ }
+
+ if (newService.getName().equals(schedule.getPropertyValue(
+ ScheduleStateAction.SERVICE_NAME)) == false) {
+ fail("Schedule service name '"+
+ schedule.getPropertyValue(
+ ScheduleStateAction.SERVICE_NAME)+
+ "' invalid, expecting: "+
+ service.getName());
+ }
+
+ // Check actions
+ if (newService.getActions().size() != 1) {
+ fail("Expecting 1 action: "+newService.getActions().size());
+ }
+
+ if ((newService.getActions().get(0) instanceof ReceiveMessageAction) == false) {
+ fail("Action 1 was not ReceiveMessageAction: "+newService.getActions().get(0));
+ }
+
+ ReceiveMessageAction recv2=(ReceiveMessageAction)
+ newService.getActions().get(0);
+
+
+ String mtype=InteractionUtil.getTypeString(ref2);
+
+ if (recv2.getPropertyValue("messageType").equals(mtype)==false) {
+ fail("Message type '"+recv2.getPropertyValue("messageType")+
+ "' invalid, expecting: "+mtype);
+ }
+
+ java.util.List<Activity> acts=new java.util.Vector<Activity>();
+
+ DefaultConversionContext convContext=new DefaultConversionContext(role.getName());
+ recv2.convert(acts, convContext);
+
+ if (acts.size() != 1) {
+ fail("Expecting 1 activity: "+acts.size());
+ }
+
+ // Now second service identified, add new receive
+ // action to ensure that third service inserted in the
+ // middle
+ ConversationInteraction mobj3=new ConversationInteraction();
+ mobj3.setFromRole(role);
+ conv.getBlock().getContents().add(mobj3);
+
+ MessageSignature msig3=new MessageSignature();
+ mobj3.setMessageSignature(msig3);
+
+ TypeReference ref3=new TypeReference();
+ ref3.setNamespace("ns");
+ ref3.setLocalpart("lp3");
+
+ msig3.getTypes().add(ref3);
+
+ // Insert into position 1, which should be after first
+ // receive
+
+ // TODO: Need to pass representation of last interaction
+ if (rule.insert(context, model, mobj3, acts.get(0)) == false) {
+ fail("Failed to insert 3");
+ }
+
+ // Re-Check actions
+ if (service.getActions().size() != 2) {
+ fail("Expecting 2 actions: "+service.getActions().size());
+ }
+
+ if ((service.getActions().get(0) instanceof ReceiveMessageAction) == false) {
+ fail("Action 1 was not ReceiveMessageAction: "+service.getActions().get(0));
+ }
+
+ if ((service.getActions().get(1) instanceof ScheduleStateAction) == false) {
+ fail("Action 2 was not ScheduleStateAction: "+service.getActions().get(1));
+ }
+
+ if (model.getServices().size() != 3) {
+ fail("Three services expected: "+model.getServices().size());
+ }
+
+ // TODO: Need to check if new service has been inserted
+ // in the middle of the previously inserted interactions
+
+ // Check actions
+ if (newService.getActions().size() != 2) {
+ fail("Now Expecting 2 action: "+newService.getActions().size());
+ }
+
+ if ((newService.getActions().get(0) instanceof SendMessageAction) == false) {
+ fail("Action 1 was not SendMessageAction: "+newService.getActions().get(0));
+ }
+
+ if ((newService.getActions().get(1) instanceof ScheduleStateAction) == false) {
+ fail("Action 2 was not ScheduleStateAction: "+newService.getActions().get(1));
+ }
+
+ ScheduleStateAction ssa=(ScheduleStateAction)newService.getActions().get(1);
+
+ ESBService newService2=model.getService(ssa.getPropertyValue(
+ ScheduleStateAction.SERVICE_CATEGORY),ssa.getPropertyValue(
+ ScheduleStateAction.SERVICE_NAME));
+
+ if (newService2 == null) {
+ fail("Failed to find final service");
+ }
+
+ if (newService2.getActions().size() != 1) {
+ fail("Only expecting one action: "+newService2.getActions().size());
+ }
+
+ if ((newService2.getActions().get(0) instanceof ReceiveMessageAction) == false) {
+ fail("Expecting ReceiveMessageAction, but got: "+newService2.getActions().get(0));
+ }
+
+ ReceiveMessageAction recv4=(ReceiveMessageAction)
+ newService2.getActions().get(0);
+
+ String mtype4=InteractionUtil.getTypeString(ref2);
+
+ if (recv4.getPropertyValue("messageType").equals(mtype4)==false) {
+ fail("Message type '"+recv4.getPropertyValue("messageType")+
+ "' invalid, expecting: "+mtype4);
+ }
+
+
+ SendMessageAction send3=(SendMessageAction)
+ newService.getActions().get(0);
+
+ String mtype3=InteractionUtil.getTypeString(ref3);
+
+ if (send3.getPropertyValue("messageType").equals(mtype3)==false) {
+ fail("Message type '"+send3.getPropertyValue("messageType")+
+ "' invalid, expecting: "+mtype3);
+ }
+ }
+
public void testInsertReceiveRequestAction() {
String fromRoleName="role1";
String toRoleName="role2";
@@ -935,13 +1188,6 @@
fail("Failed to insert");
}
- // Change local part
- ref.setLocalpart("lp2");
-
- if (rule.update(context, model, mobj, 0) == false) {
- fail("Failed to update");
- }
-
// Check actions
if (service.getActions().size() != 1) {
fail("Expecting 1 action: "+service.getActions().size());
@@ -957,6 +1203,19 @@
ReceiveMessageAction action=(ReceiveMessageAction)service.getActions().get(0);
+ java.util.List<Activity> activities=new java.util.Vector<Activity>();
+ action.convert(activities, new DefaultConversionContext(null));
+
+ if (activities.size() != 1) {
+ fail("Expecting single interaction activity from ReceiveMessageAction: "+activities.size());
+ }
+
+ if ((activities.get(0) instanceof ConversationInteraction) == false) {
+ fail("Not conversation interaction");
+ }
+
+ ConversationInteraction recvci=(ConversationInteraction)activities.get(0);
+
String mtype=InteractionUtil.getTypeString(ref);
if (action.getPropertyValue("messageType").equals(mtype)==false) {
@@ -964,6 +1223,21 @@
"' invalid, expecting: "+mtype);
}
+ // Change local part
+ ref.setLocalpart("lp2");
+
+ if (rule.update(context, model, mobj, recvci) == false) {
+ fail("Failed to update");
+ }
+
+ // Re-check the message type, to make sure has been updated
+ mtype = InteractionUtil.getTypeString(ref);
+
+ if (action.getPropertyValue("messageType").equals(mtype)==false) {
+ fail("Message type '"+action.getPropertyValue("messageType")+
+ "' invalid, expecting: "+mtype);
+ }
+
if (mra.getNumberOfRoutes() != 1) {
fail("One route expected: "+mra.getNumberOfRoutes());
}
15 years, 8 months
Overlord SVN: r326 - in cdl/trunk: distribution/src/main/release/samples/jbossesb/brokerage/supplier and 5 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-11 12:48:42 -0400 (Thu, 11 Sep 2008)
New Revision: 326
Added:
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.classpath
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.project
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/src/
cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/src/pi4soa.xml
cdl/trunk/samples/jbossesb/trailblazer/models/
cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn
cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
Modified:
cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.project
Log:
Added trailblazer model and assemble an Eclipse project to make it easier for user to import into an Eclipse environment.
Modified: cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.project
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.project 2008-09-11 15:16:26 UTC (rev 325)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/brokerage/supplier/.project 2008-09-11 16:48:42 UTC (rev 326)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>brokage-supplier</name>
+ <name>brokerage-supplier</name>
<comment></comment>
<projects>
<project>brokerage-models</project>
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.classpath
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.classpath (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.classpath 2008-09-11 16:48:42 UTC (rev 326)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.project
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.project (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/.project 2008-09-11 16:48:42 UTC (rev 326)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>trailblazer-models</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/src/pi4soa.xml
===================================================================
--- cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/src/pi4soa.xml (rev 0)
+++ cdl/trunk/distribution/src/main/release/samples/jbossesb/trailblazer/models/src/pi4soa.xml 2008-09-11 16:48:42 UTC (rev 326)
@@ -0,0 +1,37 @@
+<!--
+/*
+# * Copyright 2005-8 Pi4 Technologies Ltd
+# *
+# * 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.
+# *
+# *
+# * Change History:
+# * 14, April 2008 : Initial version created by gary
+# */
+-->
+
+<pi4soa>
+ <tracker>
+ <jndi>
+ <initialContextFactory>org.jnp.interfaces.NamingContextFactory</initialContextFactory>
+ <providerURL>jnp://localhost:1099</providerURL>
+ <factoryURLPackages>org.jboss.naming:org.jnp.interfaces</factoryURLPackages>
+ </jndi>
+ <jms>
+ <connectionFactory>ConnectionFactory</connectionFactory>
+ <connectionFactoryAlternate>ConnectionFactory</connectionFactoryAlternate>
+ <destination>topic/tracker</destination>
+ </jms>
+ </tracker>
+</pi4soa>
+
Added: cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn
===================================================================
--- cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn (rev 0)
+++ cdl/trunk/samples/jbossesb/trailblazer/models/LoanRequest.scn 2008-09-11 16:48:42 UTC (rev 326)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="Cp1252"?>
+<scn:Scenario xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:scn="http://www.pi4soa.org/scenario" name="LoanRequest" description="Valid loan request" author="gary" choreographyDescriptionURL="TrailBlazer.cdm">
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="checkCredit" value="<creditCheck name="Joe Broke" ssn="1234567890" address="1 Spenditall Str., BrokeTown 99999 DC" employerName="" salary="50000.0" loanAmount="1000.0" loanDuration="12" email="gary(a)pi4tech.com" creditScore="0" />" serviceType="{http://www.pi4soa.org/TrailBlazer}creditAgency" messageType="creditCheck"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" value="<creditCheck name="Joe Broke" ssn="1234567890" address="1 Spenditall Str., BrokeTown 99999 DC" employerName="" salary="50000.0" loanAmount="1000.0" loanDuration="12" email="gary(a)pi4tech.com" creditScore="0" />" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}creditAgency" messageType="creditCheck"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.1" operationName="checkCredit" isRequest="false" value="<creditCheckResult ssn="1234567890" score="4" />" serviceType="{http://www.pi4soa.org/TrailBlazer}creditAgency" messageType="creditCheckResult"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="checkCredit" isRequest="false" value="<creditCheckResult ssn="1234567890" score="4" />" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}creditAgency" messageType="creditCheckResult"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="requestQuote" value="<quoteRequest ssn="1234567890" creditScore="0" creditHistoryLen="0" amount="1000" term="12" ref="1" customerUID="1234567890" customerEmail="gary(a)scribble.org" />" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quoteRequest"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="requestQuote" value="<quoteRequest ssn="1234567890" creditScore="0" creditHistoryLen="0" amount="1000" term="12" ref="1" customerUID="1234567890" customerEmail="gary(a)scribble.org" />" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quoteRequest"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.2" operationName="requestQuote" isRequest="false" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>JMSBasedBank-0</quoteId>
 <ref>1</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>
" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quote"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="requestQuote" isRequest="false" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>JMSBasedBank-0</quoteId>
 <ref>1</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>
" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quote"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="notify" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>JMSBasedBank-0</quoteId>
 <ref>1</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>" serviceType="{http://www.pi4soa.org/TrailBlazer}notifier" messageType="quote"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.4" operationName="notify" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>JMSBasedBank-0</quoteId>
 <ref>1</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}notifier" messageType="quote"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="requestQuote" value="<quoteRequest ssn="1234567890" creditScore="0" creditHistoryLen="0" amount="1000" term="12" ref="2" customerUID="1234567890" customerEmail="gary(a)scribble.org" />" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quoteRequest"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.3" operationName="requestQuote" value="<quoteRequest ssn="1234567890" creditScore="0" creditHistoryLen="0" amount="1000" term="12" ref="2" customerUID="1234567890" customerEmail="gary(a)scribble.org" />" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quoteRequest"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.3" operationName="requestQuote" isRequest="false" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>FileBasedBank-0</quoteId>
 <ref>2</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>
" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quote"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="requestQuote" isRequest="false" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>FileBasedBank-0</quoteId>
 <ref>2</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>
" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}bank" messageType="quote"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.0" operationName="notify" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>FileBasedBank-0</quoteId>
 <ref>2</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>" serviceType="{http://www.pi4soa.org/TrailBlazer}notifier" messageType="quote"/>
+ <scenarioObjects xsi:type="scn:MessageEvent" participant="//(a)participants.4" operationName="notify" value="<quote>
 <interestRate>8.60</interestRate>
 <quoteId>FileBasedBank-0</quoteId>
 <ref>2</ref>
 <errorCode>0</errorCode>
 <customerUID>1234567890</customerUID>
 <customerEmail>gary(a)scribble.org</customerEmail>
</quote>" direction="receive" serviceType="{http://www.pi4soa.org/TrailBlazer}notifier" messageType="quote"/>
+ <messageLinks source="//(a)scenarioObjects.0" target="//(a)scenarioObjects.1"/>
+ <messageLinks source="//(a)scenarioObjects.2" target="//(a)scenarioObjects.3"/>
+ <messageLinks source="//(a)scenarioObjects.4" target="//(a)scenarioObjects.5"/>
+ <messageLinks source="//(a)scenarioObjects.6" target="//(a)scenarioObjects.7"/>
+ <messageLinks source="//(a)scenarioObjects.8" target="//(a)scenarioObjects.9"/>
+ <messageLinks source="//(a)scenarioObjects.10" target="//(a)scenarioObjects.11"/>
+ <messageLinks source="//(a)scenarioObjects.12" target="//(a)scenarioObjects.13"/>
+ <messageLinks source="//(a)scenarioObjects.14" target="//(a)scenarioObjects.15"/>
+ <participants type="LoanBrokerParticipant"/>
+ <participants type="CreditAgencyParticipant"/>
+ <participants type="BankParticipant" instance="JMSBank"/>
+ <participants type="BankParticipant" instance="FileBank"/>
+ <participants type="NotifierParticipant"/>
+</scn:Scenario>
+
\ No newline at end of file
Added: cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm (rev 0)
+++ cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm 2008-09-11 16:48:42 UTC (rev 326)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="Cp1252"?>
+<org.pi4soa.cdl:Package xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.pi4soa.cdl="http:///org/pi4soa/cdl.ecore" description="The choreography description for TrailBlazer" name="TrailBlazer" author="gary" version="0.1" targetNamespace="http://www.pi4soa.org/TrailBlazer">
+ <typeDefinitions>
+ <nameSpaces description="Target Namespace for TrailBlazer" prefix="tns" uRI="http://www.pi4soa.org/TrailBlazer"/>
+ <nameSpaces description="XML Schema Namespace" prefix="xsd" uRI="http://www.w3.org/2001/XMLSchema"/>
+ <informationTypes description="This is the information type CreditCheckReq" name="CreditCheckReq" elementName="creditCheck"/>
+ <informationTypes description="This is the information type CreditCheckResp" name="CreditCheckResp" elementName="creditCheckResult"/>
+ <informationTypes description="This is the information type InsufficientCredit" name="InsufficientCredit" elementName="insufficientCredit"/>
+ <informationTypes description="This is the information type Quote" name="Quote" elementName="quote"/>
+ <informationTypes description="This is the information type QuoteRefType" name="QuoteRefType" typeName="xsd:string"/>
+ <informationTypes description="This is the information type QuoteReq" name="QuoteReq" elementName="quoteRequest"/>
+ <informationTypes description="This is the information type SSNType" name="SSNType" typeName="xsd:string"/>
+ <informationTypes description="This is the information type URIType" name="URIType" typeName="xsd:anyURI"/>
+ <tokens description="This is the token QuoteRef" name="QuoteRef" informationType="//@typeDefinitions/(a)informationTypes.4"/>
+ <tokens description="This is the token SSN" name="SSN" informationType="//@typeDefinitions/(a)informationTypes.6"/>
+ <tokens description="This is the token URI" name="URI" informationType="//@typeDefinitions/(a)informationTypes.7"/>
+ <tokenLocators description="This is the token locator QuoteRef4InsufficientCredit" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.2" query="//ref/text()" name="QuoteRef4InsufficientCredit"/>
+ <tokenLocators description="This is the token locator QuoteRef4Quote" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.3" query="//ref/text()" name="QuoteRef4Quote"/>
+ <tokenLocators description="This is the token locator QuoteRef4QuoteReq" token="//@typeDefinitions/(a)tokens.0" informationType="//@typeDefinitions/(a)informationTypes.5" query="//@ref" name="QuoteRef4QuoteReq"/>
+ <tokenLocators description="This is the token locator SSN4CreditCheckReq" token="//@typeDefinitions/(a)tokens.1" informationType="//@typeDefinitions/(a)informationTypes.0" query="//@ssn" name="SSN4CreditCheckReq"/>
+ <tokenLocators description="This is the token locator SSN4CreditCheckResp" token="//@typeDefinitions/(a)tokens.1" informationType="//@typeDefinitions/(a)informationTypes.1" query="//@ssn" name="SSN4CreditCheckResp"/>
+ <tokenLocators description="This is the token locator SSN4InsufficientCredit" token="//@typeDefinitions/(a)tokens.1" informationType="//@typeDefinitions/(a)informationTypes.2" query="//customerUID/text()" name="SSN4InsufficientCredit"/>
+ <tokenLocators description="This is the token locator SSN4Quote" token="//@typeDefinitions/(a)tokens.1" informationType="//@typeDefinitions/(a)informationTypes.3" query="//customerUID/text()" name="SSN4Quote"/>
+ <tokenLocators description="This is the token locator SSN4QuoteReq" token="//@typeDefinitions/(a)tokens.1" informationType="//@typeDefinitions/(a)informationTypes.5" query="//@ssn" name="SSN4QuoteReq"/>
+ <roleTypes description="This is the role type Bank" name="Bank">
+ <behaviors description="This is the behavior BankBehavior" name="BankBehavior" interface="bank"/>
+ </roleTypes>
+ <roleTypes description="This is the role type CreditAgency" name="CreditAgency">
+ <behaviors description="This is the behavior CreditAgencyBehavior" name="CreditAgencyBehavior" interface="creditAgency"/>
+ </roleTypes>
+ <roleTypes description="This is the role type LoanBroker" name="LoanBroker">
+ <behaviors description="This is the behavior LoanBrokerBehavior" name="LoanBrokerBehavior" interface="loanBroker"/>
+ </roleTypes>
+ <roleTypes description="This is the role type Notifier" name="Notifier">
+ <behaviors description="This is the behavior NotifierBehavior" name="NotifierBehavior" interface="notifier"/>
+ </roleTypes>
+ <relationshipTypes description="Relationship between LoanBroker and Bank" name="LoanBrokerToBankRel" firstRoleType="//@typeDefinitions/(a)roleTypes.2" secondRoleType="//@typeDefinitions/(a)roleTypes.0"/>
+ <relationshipTypes description="Relationship between LoanBroker and CreditAgency" name="LoanBrokerToCreditAgencyRel" firstRoleType="//@typeDefinitions/(a)roleTypes.2" secondRoleType="//@typeDefinitions/(a)roleTypes.1"/>
+ <relationshipTypes description="Relationship between LoanBroker and Notifier" name="LoanBrokerToNotifierRel" firstRoleType="//@typeDefinitions/(a)roleTypes.2" secondRoleType="//@typeDefinitions/(a)roleTypes.3"/>
+ <participantTypes description="This is the participant type BankParticipant" name="BankParticipant" roleTypes="//@typeDefinitions/(a)roleTypes.0"/>
+ <participantTypes description="This is the participant type CreditAgencyParticipant" name="CreditAgencyParticipant" roleTypes="//@typeDefinitions/(a)roleTypes.1"/>
+ <participantTypes description="This is the participant type LoanBrokerParticipant" name="LoanBrokerParticipant" roleTypes="//@typeDefinitions/(a)roleTypes.2"/>
+ <participantTypes description="This is the participant type NotifierParticipant" name="NotifierParticipant" roleTypes="//@typeDefinitions/(a)roleTypes.3"/>
+ <channelTypes description="This is the channel type BankChannelType" name="BankChannelType" referenceToken="//@typeDefinitions/(a)tokens.2" roleType="//@typeDefinitions/(a)roleTypes.0">
+ <identities description="SSN Id and Quote Ref" tokens="//@typeDefinitions/(a)tokens.1 //@typeDefinitions/(a)tokens.0"/>
+ <identities description="SSN Id" type="Association" tokens="//@typeDefinitions/(a)tokens.1"/>
+ </channelTypes>
+ <channelTypes description="This is the channel type CreditAgencyChannelType" name="CreditAgencyChannelType" referenceToken="//@typeDefinitions/(a)tokens.2" roleType="//@typeDefinitions/(a)roleTypes.1">
+ <identities description="SSN Id" tokens="//@typeDefinitions/(a)tokens.1"/>
+ </channelTypes>
+ <channelTypes description="This is the channel type NotifierChannelType" name="NotifierChannelType" referenceToken="//@typeDefinitions/(a)tokens.2" roleType="//@typeDefinitions/(a)roleTypes.3">
+ <identities description="SSN Id" type="Association" tokens="//@typeDefinitions/(a)tokens.1"/>
+ <identities description="SSN Id and Quote Ref" tokens="//@typeDefinitions/(a)tokens.1 //@typeDefinitions/(a)tokens.0"/>
+ </channelTypes>
+ </typeDefinitions>
+ <choreographies description="Choreography flow for the TrailBlazer process" name="TrailBlazerProcess" root="true">
+ <enclosedChoreographies name="RequestQuote">
+ <variableDefinitions description="Channel to facilitate interaction to Bank" name="BankChannel" type="//@typeDefinitions/(a)channelTypes.0" roleTypes="//@typeDefinitions/(a)roleTypes.0 //@typeDefinitions/(a)roleTypes.2"/>
+ <variableDefinitions description="Channel to facilitate interaction to Notifier" name="NotifierChannel" type="//@typeDefinitions/(a)channelTypes.2" roleTypes="//@typeDefinitions/(a)roleTypes.2 //@typeDefinitions/(a)roleTypes.3"/>
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="QuoteRequest" operation="requestQuote" channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.0">
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction QuoteRequest" name="QuoteRequestRequestExchange" type="//@typeDefinitions/(a)informationTypes.5"/>
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction QuoteRequest" name="QuoteRequestRespondExchange" type="//@typeDefinitions/(a)informationTypes.3" action="Respond"/>
+ </activities>
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="NotifyCustomer" operation="notify" channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.1" relationship="//@typeDefinitions/(a)relationshipTypes.2">
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction NotifyCustomer" name="NotifyCustomerRequestExchange" type="//@typeDefinitions/(a)informationTypes.3"/>
+ </activities>
+ </enclosedChoreographies>
+ <variableDefinitions description="Channel to facilitate interaction to CreditAgency" name="CreditAgencyChannel" type="//@typeDefinitions/(a)channelTypes.1" roleTypes="//@typeDefinitions/(a)roleTypes.1 //@typeDefinitions/(a)roleTypes.2"/>
+ <variableDefinitions description="This is the variable NotifierChannel" name="NotifierChannel" type="//@typeDefinitions/(a)channelTypes.2" roleTypes="//@typeDefinitions/(a)roleTypes.2 //@typeDefinitions/(a)roleTypes.3"/>
+ <variableDefinitions description="This is the variable creditCheckResult" name="creditCheckResult" type="//@typeDefinitions/(a)informationTypes.1" roleTypes="//@typeDefinitions/(a)roleTypes.2"/>
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheck" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheck" name="CreditCheckRequestExchange" type="//@typeDefinitions/(a)informationTypes.0"/>
+ </activities>
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheck" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheck" name="CreditCheckRespondExchange" type="//@typeDefinitions/(a)informationTypes.1" action="Respond" receiveVariable="//@choreographies.0/(a)variableDefinitions.2"/>
+ </activities>
+ <activities xsi:type="org.pi4soa.cdl:Choice">
+ <activities xsi:type="org.pi4soa.cdl:Conditional" description="Sufficient credit to request quotes" name="ValidCredit" expression="cdl:getVariable('creditCheckResult','','//@score') >= 4">
+ <activities xsi:type="org.pi4soa.cdl:Parallel">
+ <activities xsi:type="org.pi4soa.cdl:Sequence" description="First quote">
+ <activities xsi:type="org.pi4soa.cdl:Perform" choreography="//@choreographies.0/(a)enclosedChoreographies.0"/>
+ </activities>
+ <activities xsi:type="org.pi4soa.cdl:Sequence" description="Second quote">
+ <activities xsi:type="org.pi4soa.cdl:Perform" choreography="//@choreographies.0/(a)enclosedChoreographies.0"/>
+ </activities>
+ </activities>
+ </activities>
+ <activities xsi:type="org.pi4soa.cdl:Sequence" description="Insufficient credit">
+ <activities xsi:type="org.pi4soa.cdl:Interaction" name="NotifyCustomer" operation="notify" channelVariable="//@choreographies.0/(a)variableDefinitions.1" relationship="//@typeDefinitions/(a)relationshipTypes.2">
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction NotifyCustomer" name="NotifyCustomerRequestExchange" type="//@typeDefinitions/(a)informationTypes.2"/>
+ </activities>
+ </activities>
+ </activities>
+ </choreographies>
+</org.pi4soa.cdl:Package>
15 years, 8 months
Overlord SVN: r325 - in cdl/trunk: samples/jbossesb and 1 other directory.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-09-11 11:16:26 -0400 (Thu, 11 Sep 2008)
New Revision: 325
Added:
cdl/trunk/docs/cdl/user/GettingStartedGuide.pdf
Modified:
cdl/trunk/docs/cdl/user/GettingStartedGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.odt
cdl/trunk/samples/jbossesb/SamplesGuide.pdf
Log:
Saved current versions of the Getting Started and Samples Guide documents.
Modified: cdl/trunk/docs/cdl/user/GettingStartedGuide.odt
===================================================================
(Binary files differ)
Added: cdl/trunk/docs/cdl/user/GettingStartedGuide.pdf
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/docs/cdl/user/GettingStartedGuide.pdf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.odt
===================================================================
(Binary files differ)
Modified: cdl/trunk/samples/jbossesb/SamplesGuide.pdf
===================================================================
(Binary files differ)
15 years, 8 months