Author: objectiser
Date: 2008-10-22 13:21:14 -0400 (Wed, 22 Oct 2008)
New Revision: 413
Modified:
cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
Log:
Updated trailblazer cdm with annotations related to the eprs being monitored.
Modified: cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm 2008-10-22 06:40:53 UTC
(rev 412)
+++ cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm 2008-10-22 17:21:14 UTC
(rev 413)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="Cp1252"?>
+<?xml version="1.0" encoding="UTF-8"?>
<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"/>
@@ -58,21 +58,33 @@
<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"/>
+ <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction QuoteRequest"
name="QuoteRequestRequestExchange"
type="//@typeDefinitions/(a)informationTypes.5">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankRequestQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankRequestQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
+ <exchangeDetails description="This is the exchange details for the
respond exchange associated with interaction QuoteRequest"
name="QuoteRequestRespondExchange"
type="//@typeDefinitions/(a)informationTypes.3" action="Respond">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-jmsBankResponseQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-fileBankResponseQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</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"/>
+ <exchangeDetails description="This is the exchange details for the
request exchange associated with interaction NotifyCustomer"
name="NotifyCustomerRequestExchange"
type="//@typeDefinitions/(a)informationTypes.3">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-customerNotifier}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</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"/>
+ <exchangeDetails description="This is the exchange details for the request
exchange associated with interaction CreditCheck"
name="CreditCheckRequestExchange"
type="//@typeDefinitions/(a)informationTypes.0">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</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"/>
+ <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">
+ <semanticAnnotations
annotation="<jbossesb>
	<destination
name="{{Destination;The URI for the ESB
destination;string;;jms:queue/esb-tb-creditAgencyQueue_reply}}"
		temporary="{{Temporary;Whether
the destination is temporary;boolean;;false}}"
/>
</jbossesb>
"
name="jbossesb"/>
+ </exchangeDetails>
</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">