tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r823044 - in /tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom: Provider.composite ProviderNonCollection.composite ReceiptProvider.composite aggregator/FeedAggregator.composite
Date Thu, 08 Oct 2009 05:57:21 GMT
Author: lresende
Date: Thu Oct  8 05:57:21 2009
New Revision: 823044

URL: http://svn.apache.org/viewvc?rev=823044&view=rev
Log:
Fixing up Atom Binding test composites to stop using promoted services as they have no affect

Modified:
    tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/Provider.composite
    tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ProviderNonCollection.composite
    tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ReceiptProvider.composite
    tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/aggregator/FeedAggregator.composite

Modified: tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/Provider.composite
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/Provider.composite?rev=823044&r1=823043&r2=823044&view=diff
==============================================================================
--- tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/Provider.composite
(original)
+++ tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/Provider.composite
Thu Oct  8 05:57:21 2009
@@ -22,12 +22,15 @@
 	   targetNamespace = "http://customer"
 	   name="Provider">
 
-	<service name="customer" promote="CustomerCollection">
+	<!-- service name="customer" promote="CustomerCollection">
 		<tuscany:binding.atom uri = "http://localhost:8084/customer"/>
-	</service>
+	</service-->
 	
     <component name="CustomerCollection">
         <implementation.java class="org.apache.tuscany.sca.binding.atom.CustomerCollectionImpl"/>
+        <service name="Collection">
+            <tuscany:binding.atom uri = "http://localhost:8084/customer"/>
+        </service>
     </component>
 
 </composite>

Modified: tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ProviderNonCollection.composite
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ProviderNonCollection.composite?rev=823044&r1=823043&r2=823044&view=diff
==============================================================================
--- tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ProviderNonCollection.composite
(original)
+++ tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ProviderNonCollection.composite
Thu Oct  8 05:57:21 2009
@@ -22,13 +22,18 @@
 	   targetNamespace = "http://customer"
 	   name="ProviderNonCollection">
 
-    <service name="customer" promote="CustomerCollection">
+    <!-- service name="customer" promote="CustomerCollection">
         <tuscany:binding.atom uri = "http://localhost:8084/customer"
             title="Atom binding Non Collection" description="Feed used for unit testing"/>
-    </service>
+    </service-->
 	
     <component name="CustomerCollection">
         <implementation.java class="org.apache.tuscany.sca.binding.atom.CustomerNonCollectionImpl"/>
+        <service name="CustomerNonCollectionImpl">
+            <tuscany:binding.atom uri = "http://localhost:8084/customer" 
+                title="Atom binding Non Collection" description="Feed used for unit testing"/>
+        </service>
+        
     </component>
 
 </composite>

Modified: tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ReceiptProvider.composite
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ReceiptProvider.composite?rev=823044&r1=823043&r2=823044&view=diff
==============================================================================
--- tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ReceiptProvider.composite
(original)
+++ tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/ReceiptProvider.composite
Thu Oct  8 05:57:21 2009
@@ -22,12 +22,15 @@
 	   targetNamespace = "http://receipt"
 	   name="ReceiptProvider">
 
-	<service name="receipt" promote="MediaCollection">
+	<!-- service name="receipt" promote="MediaCollection">
 		<tuscany:binding.atom uri = "http://localhost:8084/receipt"/>
-	</service>
+	</service-->
 	
     <component name="MediaCollection">
         <implementation.java class="org.apache.tuscany.sca.binding.atom.MediaCollectionImpl"/>
+        <service name="MediaCollection">
+            <tuscany:binding.atom uri = "http://localhost:8084/receipt"/>
+        </service>
     </component>
 
 </composite>

Modified: tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/aggregator/FeedAggregator.composite
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/aggregator/FeedAggregator.composite?rev=823044&r1=823043&r2=823044&view=diff
==============================================================================
--- tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/aggregator/FeedAggregator.composite
(original)
+++ tuscany/java/sca/modules/binding-atom-runtime/src/test/resources/org/apache/tuscany/sca/binding/atom/aggregator/FeedAggregator.composite
Thu Oct  8 05:57:21 2009
@@ -22,12 +22,15 @@
 	targetNamespace="http://aggregator"
     name="FeedAggregator">
 
-	<service name="atomSample" promote="AtomAggregator">
+	<!-- service name="atomSample" promote="AtomAggregator">
 		<tuscany:binding.atom  uri="http://localhost:8085/atomAggregator"/>
-	</service>	
+	</service-->	
     
     <component name="AtomAggregator">
-        <implementation.java class="org.apache.tuscany.sca.binding.atom.aggregator.AggregatorImpl"/>
       
+        <implementation.java class="org.apache.tuscany.sca.binding.atom.aggregator.AggregatorImpl"/>
+        <service name="Aggregator">
+            <tuscany:binding.atom  uri="http://localhost:8085/atomAggregator"/>
+        </service>      
         <reference name="sort" target="Sort"/>          
 		<reference name="atomFeed1">
    	 		<tuscany:binding.atom uri="http://www.ibm.com/developerworks/blogs/rss/lresende?flavor=atomdw"/>



Mime
View raw message