You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/10/29 09:18:04 UTC

svn commit: r589540 - in /incubator/tuscany/java/sca/tutorial: store-eu/launch/LaunchEUStore.java store-eu/store-eu.composite store/launch/LaunchStore.java store/launch/LaunchStoreMerger.java store/store-merged.composite store/store.composite

Author: jsdelfino
Date: Mon Oct 29 01:18:04 2007
New Revision: 589540

URL: http://svn.apache.org/viewvc?rev=589540&view=rev
Log:
Let the launchers use default node URIs. Renamed UI components and configure their widget URIs.

Modified:
    incubator/tuscany/java/sca/tutorial/store-eu/launch/LaunchEUStore.java
    incubator/tuscany/java/sca/tutorial/store-eu/store-eu.composite
    incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java
    incubator/tuscany/java/sca/tutorial/store/launch/LaunchStoreMerger.java
    incubator/tuscany/java/sca/tutorial/store/store-merged.composite
    incubator/tuscany/java/sca/tutorial/store/store.composite

Modified: incubator/tuscany/java/sca/tutorial/store-eu/launch/LaunchEUStore.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store-eu/launch/LaunchEUStore.java?rev=589540&r1=589539&r2=589540&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store-eu/launch/LaunchEUStore.java (original)
+++ incubator/tuscany/java/sca/tutorial/store-eu/launch/LaunchEUStore.java Mon Oct 29 01:18:04 2007
@@ -31,7 +31,7 @@
     public static void main(String[] args) throws Exception {
         System.out.println("Starting ...");
         SCANodeFactory nodeFactory = SCANodeFactory.newInstance();
-        SCANode node = nodeFactory.createSCANode("http://localhost:8102/store", "http://localhost:9999");
+        SCANode node = nodeFactory.createSCANode(null, "http://localhost:9999");
         
         URL contribution = SCAContributionUtil.findContributionFromClass(LaunchEUStore.class);
         node.addContribution("http://store", contribution);

Modified: incubator/tuscany/java/sca/tutorial/store-eu/store-eu.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store-eu/store-eu.composite?rev=589540&r1=589539&r2=589540&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store-eu/store-eu.composite (original)
+++ incubator/tuscany/java/sca/tutorial/store-eu/store-eu.composite Mon Oct 29 01:18:04 2007
@@ -22,10 +22,10 @@
 		targetNamespace="http://store"
 		name="store-eu">
 		
-    <component name="store">
+    <component name="Store">
         <t:implementation.widget location="uiservices/store.html"/>
         <service name="Widget">
-        	<t:binding.http/> 
+        	<t:binding.http uri="http://localhost:8102/ui"/> 
         </service>
 		<reference name="catalog" target="Catalog">
 		 	<t:binding.jsonrpc/>

Modified: incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java?rev=589540&r1=589539&r2=589540&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java (original)
+++ incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java Mon Oct 29 01:18:04 2007
@@ -31,7 +31,7 @@
     public static void main(String[] args) throws Exception {
         System.out.println("Starting ...");
         SCANodeFactory nodeFactory = SCANodeFactory.newInstance();
-        SCANode node = nodeFactory.createSCANode("http://localhost:8100/store", "http://localhost:9999");
+        SCANode node = nodeFactory.createSCANode(null, "http://localhost:9999");
         
         URL contribution = SCAContributionUtil.findContributionFromClass(LaunchStore.class);
         node.addContribution("http://store", contribution);

Modified: incubator/tuscany/java/sca/tutorial/store/launch/LaunchStoreMerger.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/launch/LaunchStoreMerger.java?rev=589540&r1=589539&r2=589540&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/launch/LaunchStoreMerger.java (original)
+++ incubator/tuscany/java/sca/tutorial/store/launch/LaunchStoreMerger.java Mon Oct 29 01:18:04 2007
@@ -31,7 +31,7 @@
     public static void main(String[] args) throws Exception {
         System.out.println("Starting ...");
         SCANodeFactory nodeFactory = SCANodeFactory.newInstance();
-        SCANode node = nodeFactory.createSCANode("http://localhost:8101/store", "http://localhost:9999");
+        SCANode node = nodeFactory.createSCANode(null, "http://localhost:9999");
         
         URL contribution = SCAContributionUtil.findContributionFromClass(LaunchStoreMerger.class);
         node.addContribution("http://store", contribution);

Modified: incubator/tuscany/java/sca/tutorial/store/store-merged.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/store-merged.composite?rev=589540&r1=589539&r2=589540&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/store-merged.composite (original)
+++ incubator/tuscany/java/sca/tutorial/store/store-merged.composite Mon Oct 29 01:18:04 2007
@@ -22,10 +22,10 @@
 		targetNamespace="http://store"
 		name="store-merger">
 		
-    <component name="store">
+    <component name="Store">
         <t:implementation.widget location="uiservices/store.html"/>
         <service name="Widget">
-        	<t:binding.http/> 
+        	<t:binding.http uri="http://localhost:8101/ui"/> 
         </service>
 		<reference name="catalog" target="Catalog">
 		 	<t:binding.jsonrpc/>

Modified: incubator/tuscany/java/sca/tutorial/store/store.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/store.composite?rev=589540&r1=589539&r2=589540&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/store.composite (original)
+++ incubator/tuscany/java/sca/tutorial/store/store.composite Mon Oct 29 01:18:04 2007
@@ -22,10 +22,10 @@
 		targetNamespace="http://store"
 		name="store">
 		
-    <component name="store">
+    <component name="Store">
         <t:implementation.widget location="uiservices/store.html"/>
         <service name="Widget">
-        	<t:binding.http/> 
+        	<t:binding.http uri="http://localhost:8100/ui"/>
         </service>
 		<reference name="catalog" target="Catalog">
 		 	<t:binding.jsonrpc/>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org