tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r1350975 - in /tuscany/sca-java-2.x/trunk/samples/applications/store/src: main/resources/store.composite test/java/store/StoreTestCase.java
Date Sat, 16 Jun 2012 18:14:03 GMT
Author: lresende
Date: Sat Jun 16 18:14:02 2012
New Revision: 1350975

URL: http://svn.apache.org/viewvc?rev=1350975&view=rev
Log:
Updating store sample to use new widget implementation way to define how the resources are
exposed without using explicit binding configuration

Modified:
    tuscany/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite
    tuscany/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java

Modified: tuscany/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite?rev=1350975&r1=1350974&r2=1350975&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite
(original)
+++ tuscany/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite
Sat Jun 16 18:14:02 2012
@@ -23,13 +23,10 @@
 		name="store">
 		
     <component name="Store">
-        <tuscany:implementation.widget location="uiservices/store.html"/>
-        <service name="Widget">
-        	<tuscany:binding.rest uri="/store"/>
-        </service>
+        <tuscany:implementation.widget location="uiservices/store.html" widgetUri="/store"/>
 		<reference name="catalog" target="Catalog"/>
-		 <reference name="shoppingCart" target="ShoppingCart/Cart"/>
-		 <reference name="shoppingTotal" target="ShoppingCart/Total"/>
+	    <reference name="shoppingCart" target="ShoppingCart/Cart"/>
+		<reference name="shoppingTotal" target="ShoppingCart/Total"/>
     </component>
     
 	<component name="Catalog">

Modified: tuscany/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java?rev=1350975&r1=1350974&r2=1350975&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java
(original)
+++ tuscany/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java
Sat Jun 16 18:14:02 2012
@@ -30,7 +30,6 @@ import org.apache.tuscany.sca.node.Node;
 import org.apache.tuscany.sca.node.NodeFactory;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 
 import client.Shopper;



Mime
View raw message