summaryrefslogtreecommitdiffstats
path: root/sandbox/sca-cloud-tutorial/store-catalog-ibmcloud-webapp/src/main/resources
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-27 22:11:23 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-27 22:11:23 +0000
commit8b0889df5494f3500c6712f9e37d55266dfd49a5 (patch)
treee6e1e08a33ad5d22d1771775616eddf3261c5513 /sandbox/sca-cloud-tutorial/store-catalog-ibmcloud-webapp/src/main/resources
parentf94a2904efd56b82c437c29eba14d09773b4d651 (diff)
Renaming to remove 2x from sample application name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830363 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/sca-cloud-tutorial/store-catalog-ibmcloud-webapp/src/main/resources')
-rw-r--r--sandbox/sca-cloud-tutorial/store-catalog-ibmcloud-webapp/src/main/resources/catalog.composite43
1 files changed, 43 insertions, 0 deletions
diff --git a/sandbox/sca-cloud-tutorial/store-catalog-ibmcloud-webapp/src/main/resources/catalog.composite b/sandbox/sca-cloud-tutorial/store-catalog-ibmcloud-webapp/src/main/resources/catalog.composite
new file mode 100644
index 0000000000..b7cb37971f
--- /dev/null
+++ b/sandbox/sca-cloud-tutorial/store-catalog-ibmcloud-webapp/src/main/resources/catalog.composite
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ xmlns:store="http://store"
+ targetNamespace="http://store"
+ name="catalog">
+
+ <component name="Catalog">
+ <implementation.java class="services.VegetablesCatalogImpl"/>
+ <property name="currencyCode">USD</property>
+ <service name="Catalog">
+ <interface.java interface="services.Catalog"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8080/store-catalog-ibmcloud-2x-webapp/Catalog"/>
+ </service>
+ <reference name="currencyConverter" target="CurrencyConverter"/>
+ </component>
+
+ <component name="CurrencyConverter">
+ <implementation.java class="services.CurrencyConverterImpl"/>
+ <service name="CurrencyConverter">
+ <interface.java interface="services.CurrencyConverter"/>
+ </service>
+ </component>
+
+</composite>