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 2010/09/21 03:18:04 UTC

svn commit: r999176 - in /tuscany/sca-cpp/trunk/samples: store-gae/fruits-catalog.py store-python/fruits-catalog.py

Author: jsdelfino
Date: Tue Sep 21 01:18:04 2010
New Revision: 999176

URL: http://svn.apache.org/viewvc?rev=999176&view=rev
Log:
Remove 'javaClass' JSON property as it's not needed anymore.

Modified:
    tuscany/sca-cpp/trunk/samples/store-gae/fruits-catalog.py
    tuscany/sca-cpp/trunk/samples/store-python/fruits-catalog.py

Modified: tuscany/sca-cpp/trunk/samples/store-gae/fruits-catalog.py
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/samples/store-gae/fruits-catalog.py?rev=999176&r1=999175&r2=999176&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/samples/store-gae/fruits-catalog.py (original)
+++ tuscany/sca-cpp/trunk/samples/store-gae/fruits-catalog.py Tue Sep 21 01:18:04 2010
@@ -23,8 +23,8 @@ def items(converter, currencyCode):
       return converter("convert", "USD", code, price)
   symbol = converter("symbol", code)
   return (
-    (("'javaClass", "services.Item"), ("'name", "Apple"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(2.99))),
-    (("'javaClass", "services.Item"), ("'name", "Orange"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(3.55))),
-    (("'javaClass", "services.Item"), ("'name", "Pear"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(1.55)))
+    (("'name", "Apple"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(2.99))),
+    (("'name", "Orange"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(3.55))),
+    (("'name", "Pear"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(1.55)))
   )
 

Modified: tuscany/sca-cpp/trunk/samples/store-python/fruits-catalog.py
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/samples/store-python/fruits-catalog.py?rev=999176&r1=999175&r2=999176&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/samples/store-python/fruits-catalog.py (original)
+++ tuscany/sca-cpp/trunk/samples/store-python/fruits-catalog.py Tue Sep 21 01:18:04 2010
@@ -23,8 +23,8 @@ def items(converter, currencyCode):
       return converter("convert", "USD", code, price)
   symbol = converter("symbol", code)
   return (
-    (("'javaClass", "services.Item"), ("'name", "Apple"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(2.99))),
-    (("'javaClass", "services.Item"), ("'name", "Orange"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(3.55))),
-    (("'javaClass", "services.Item"), ("'name", "Pear"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(1.55)))
+    (("'name", "Apple"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(2.99))),
+    (("'name", "Orange"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(3.55))),
+    (("'name", "Pear"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(1.55)))
   )