[overlord-commits] Overlord SVN: r311 - in cdl/trunk/samples: jbossesb and 1 other directory.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Sun Sep 7 09:22:21 EDT 2008


Author: jeff.yuchang
Date: 2008-09-07 09:22:19 -0400 (Sun, 07 Sep 2008)
New Revision: 311

Added:
   cdl/trunk/samples/README.txt
   cdl/trunk/samples/brokerage/
   cdl/trunk/samples/client/
   cdl/trunk/samples/common/
   cdl/trunk/samples/purchasing/
   cdl/trunk/samples/trailblazer/
Removed:
   cdl/trunk/samples/jbossesb/README.txt
   cdl/trunk/samples/jbossesb/brokerage/
   cdl/trunk/samples/jbossesb/client/
   cdl/trunk/samples/jbossesb/common/
   cdl/trunk/samples/jbossesb/purchasing/
   cdl/trunk/samples/jbossesb/trailblazer/
Log:
* Remove the jbossesb folder.


Copied: cdl/trunk/samples/README.txt (from rev 307, cdl/trunk/samples/jbossesb/README.txt)
===================================================================
--- cdl/trunk/samples/README.txt	                        (rev 0)
+++ cdl/trunk/samples/README.txt	2008-09-07 13:22:19 UTC (rev 311)
@@ -0,0 +1,99 @@
+Instructions for examples running:
+=================================
+
+Required to run the Purchasing example:
+---------------------------------------
+- ANT 1.6.5 or higher
+- Maven 2.0.8 or higher
+- JBoss AS 4.2.2.GA or higher with the JBoss ESB SAR deployment (jbossesb.sar).
+- JBossESB 4.3.GA 
+
+Folders structure:
+-------------------
+- client: It is for running examples' client. 
+- broker: Broker participant. (Broker Example)
+- purchasing: Purchasing participant. (Purchase Example) 
+- creditAgency: CredityAgency participant. (For both Broker and Purchase Example)
+- supplier: supplier participant. (For Broker example)
+
+Settings required to edit before running:
+========================================
+
+File: $samples/pom.xml 
+- Update the "deploy.dir" property value to your JBossAS server directory.
+
+- Before jbossesb-rosetta.jar and jbossesb-config-model.jar get published in jboss maven repository, you need to install these two artifacts into 
+your local repository by using following commands:
+
+mvn install:install-file -Dfile=<path-to-rosetta> -DgroupId=org.jboss.jbossesb 
+    -DartifactId=rosetta -Dversion=4.3 -Dpackaging=jar 
+mvn install:install-file -Dfile=<path-to-configmodel> -DgroupId=org.jboss.jbossesb
+    -DartifactId=config-model -Dversion=1.0.1 -Dpackaging=jar
+
+Notice: Here we are using jbossesb-rosetta 4.3 version, jbossesb-config-model 1.0.1 version.
+
+
+Instructions for deploying the cdl-jbossesb.esb to the JBoss ESB server.
+==========================================
+1. At the $cdl/trunk: run: mvn install.
+2. Copy the 'cdl-jbossesb.esb' from the 'assembly/jbossesb/target' to JBoss ESB server deploy folder.
+
+
+Instructions for deploying samples:
+==========================================
+1. Please make sure you are setting the 'deploy.dir' in $samples/pom.xml properly.
+2. At the $cdl/trunk/samples, run: mvn install, it will deploy the 'purchasing.esb', 'broker.esb', 'creditAgency.esb', 'supplier.esb' to the server deploy folder.
+3. From the $JBossAS, execute the command to start the ESB server: "bin/run.sh", or "bin/run.bat" for windows.
+
+Instructions for running purchasing example:
+===========================================
+
+1 - from the $samples/jbossesb/client, execute the command to run the client: "ant runClient"
+    You will see following in the console.
+
+     [java] =========================================
+     [java] Request: <BuyRequest id="5" ></BuyRequest>
+     [java] Reply: <BuyResponse id="5"></BuyResponse>
+     [java] =========================================
+
+
+Instructions for running broker example:
+=======================================
+
+1 - from the $samples/jbossesb/client, execute the command to run the client: "ant runBrokerClient"
+    You will see following in the console.
+     [java] =========================================
+     [java] Request: <enquiry id="20" ></enquiry>
+     [java] Reply: <quoteList id="20"><quote supplierDesc="{http://www.jboss.org/overlord/loanBroker}Supplier1">10</quote></quoteList>
+     [java] Sending Buy request to Broker...
+     [java] Request: <buy id="20" supplierDesc="{http://www.jboss.org/overlord/loanBroker}Supplier1" quoteValue="10"></buy>
+     [java] Reply: <bookingReference id="20" supplierDesc = "{http://www.jboss.org/overlord/loanBroker}Supplier1">The quote of 10 has been confirmed.</bookingReference>
+     [java] =========================================
+
+Example scenario description:
+===============================
+1 - Purchasing example:
+------------
+The flow for this example would be:
+
+    * Users send an 'buy' request to broker
+    * Broker send a 'credit check' request to the credit agency.
+    * If the credit agency returns a successful message, then the Broker will send a 'BuyResponse' to user.
+    * If the credit agency returns a failed message, then the Broker will send a 'BuyFail' to user.
+
+
+2 - Broker example:
+----------
+
+The flow for this example would be:
+
+    * Users send an 'enquiry' request to broker
+    * Broker sends the request to one or more suppliers concurrently
+    * When all of the quote responses have been received, or a timeout expires, the available information is returned to the user.
+    * User decides whether to:
+          o Cancel the transaction, or
+          o Send a 'buy' request to the broker
+    * If a 'buy' request is received by the broker, it will send a 'credit check' request to the credit agency
+    * If the credit agency returns a successful message, then the Broker sends a 'buy' request to the supplier selected by the User (in the 'buy' request), followed by a confirmation back to the User
+    * If the credit agency returns a failed message, then the Broker will inform the User
+

Copied: cdl/trunk/samples/brokerage (from rev 307, cdl/trunk/samples/jbossesb/brokerage)

Copied: cdl/trunk/samples/client (from rev 307, cdl/trunk/samples/jbossesb/client)

Copied: cdl/trunk/samples/common (from rev 307, cdl/trunk/samples/jbossesb/common)

Deleted: cdl/trunk/samples/jbossesb/README.txt
===================================================================
--- cdl/trunk/samples/jbossesb/README.txt	2008-09-07 07:34:23 UTC (rev 310)
+++ cdl/trunk/samples/jbossesb/README.txt	2008-09-07 13:22:19 UTC (rev 311)
@@ -1,99 +0,0 @@
-Instructions for examples running:
-=================================
-
-Required to run the Purchasing example:
----------------------------------------
-- ANT 1.6.5 or higher
-- Maven 2.0.8 or higher
-- JBoss AS 4.2.2.GA or higher with the JBoss ESB SAR deployment (jbossesb.sar).
-- JBossESB 4.3.GA 
-
-Folders structure:
--------------------
-- client: It is for running examples' client. 
-- broker: Broker participant. (Broker Example)
-- purchasing: Purchasing participant. (Purchase Example) 
-- creditAgency: CredityAgency participant. (For both Broker and Purchase Example)
-- supplier: supplier participant. (For Broker example)
-
-Settings required to edit before running:
-========================================
-
-File: $samples/pom.xml 
-- Update the "deploy.dir" property value to your JBossAS server directory.
-
-- Before jbossesb-rosetta.jar and jbossesb-config-model.jar get published in jboss maven repository, you need to install these two artifacts into 
-your local repository by using following commands:
-
-mvn install:install-file -Dfile=<path-to-rosetta> -DgroupId=org.jboss.jbossesb 
-    -DartifactId=rosetta -Dversion=4.3 -Dpackaging=jar 
-mvn install:install-file -Dfile=<path-to-configmodel> -DgroupId=org.jboss.jbossesb
-    -DartifactId=config-model -Dversion=1.0.1 -Dpackaging=jar
-
-Notice: Here we are using jbossesb-rosetta 4.3 version, jbossesb-config-model 1.0.1 version.
-
-
-Instructions for deploying the cdl-jbossesb.esb to the JBoss ESB server.
-==========================================
-1. At the $cdl/trunk: run: mvn install.
-2. Copy the 'cdl-jbossesb.esb' from the 'assembly/jbossesb/target' to JBoss ESB server deploy folder.
-
-
-Instructions for deploying samples:
-==========================================
-1. Please make sure you are setting the 'deploy.dir' in $samples/pom.xml properly.
-2. At the $cdl/trunk/samples, run: mvn install, it will deploy the 'purchasing.esb', 'broker.esb', 'creditAgency.esb', 'supplier.esb' to the server deploy folder.
-3. From the $JBossAS, execute the command to start the ESB server: "bin/run.sh", or "bin/run.bat" for windows.
-
-Instructions for running purchasing example:
-===========================================
-
-1 - from the $samples/jbossesb/client, execute the command to run the client: "ant runClient"
-    You will see following in the console.
-
-     [java] =========================================
-     [java] Request: <BuyRequest id="5" ></BuyRequest>
-     [java] Reply: <BuyResponse id="5"></BuyResponse>
-     [java] =========================================
-
-
-Instructions for running broker example:
-=======================================
-
-1 - from the $samples/jbossesb/client, execute the command to run the client: "ant runBrokerClient"
-    You will see following in the console.
-     [java] =========================================
-     [java] Request: <enquiry id="20" ></enquiry>
-     [java] Reply: <quoteList id="20"><quote supplierDesc="{http://www.jboss.org/overlord/loanBroker}Supplier1">10</quote></quoteList>
-     [java] Sending Buy request to Broker...
-     [java] Request: <buy id="20" supplierDesc="{http://www.jboss.org/overlord/loanBroker}Supplier1" quoteValue="10"></buy>
-     [java] Reply: <bookingReference id="20" supplierDesc = "{http://www.jboss.org/overlord/loanBroker}Supplier1">The quote of 10 has been confirmed.</bookingReference>
-     [java] =========================================
-
-Example scenario description:
-===============================
-1 - Purchasing example:
-------------
-The flow for this example would be:
-
-    * Users send an 'buy' request to broker
-    * Broker send a 'credit check' request to the credit agency.
-    * If the credit agency returns a successful message, then the Broker will send a 'BuyResponse' to user.
-    * If the credit agency returns a failed message, then the Broker will send a 'BuyFail' to user.
-
-
-2 - Broker example:
-----------
-
-The flow for this example would be:
-
-    * Users send an 'enquiry' request to broker
-    * Broker sends the request to one or more suppliers concurrently
-    * When all of the quote responses have been received, or a timeout expires, the available information is returned to the user.
-    * User decides whether to:
-          o Cancel the transaction, or
-          o Send a 'buy' request to the broker
-    * If a 'buy' request is received by the broker, it will send a 'credit check' request to the credit agency
-    * If the credit agency returns a successful message, then the Broker sends a 'buy' request to the supplier selected by the User (in the 'buy' request), followed by a confirmation back to the User
-    * If the credit agency returns a failed message, then the Broker will inform the User
-

Copied: cdl/trunk/samples/purchasing (from rev 307, cdl/trunk/samples/jbossesb/purchasing)

Copied: cdl/trunk/samples/trailblazer (from rev 307, cdl/trunk/samples/jbossesb/trailblazer)




More information about the overlord-commits mailing list