summaryrefslogtreecommitdiffstats
path: root/sandbox/sca-cloud-tutorial/store-appengine-webapp/src
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/sca-cloud-tutorial/store-appengine-webapp/src')
-rw-r--r--sandbox/sca-cloud-tutorial/store-appengine-webapp/src/Workaround.java22
-rw-r--r--sandbox/sca-cloud-tutorial/store-appengine-webapp/src/log4j.properties28
-rw-r--r--sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite68
3 files changed, 22 insertions, 96 deletions
diff --git a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/Workaround.java b/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/Workaround.java
new file mode 100644
index 0000000000..2f345ecedd
--- /dev/null
+++ b/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/Workaround.java
@@ -0,0 +1,22 @@
+/*
+ * 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.
+ */
+
+public class Workaround {
+
+}
diff --git a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/log4j.properties b/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/log4j.properties
deleted file mode 100644
index 036b48afd7..0000000000
--- a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/log4j.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-#
-# 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.
-#
-#
-
-# Configure the console as our one appender
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] - %m%n
-
-#tuscany debug messages
-log4j.category.org.apache.tuscany=ALL,A1
diff --git a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite b/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
deleted file mode 100644
index 8705f9a52a..0000000000
--- a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
+++ /dev/null
@@ -1,68 +0,0 @@
-<?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:s="http://store"
- targetNamespace="http://store"
- name="catalog">
-
- <component name="CatalogAggregator">
- <implementation.java class="services.CatalogAggregatorImpl"/>
- <property name="currencyCode">USD</property>
- <service name="Catalog">
- <interface.java interface="services.Catalog"/>
- <tuscany:binding.jsonrpc uri="/CatalogAggregator"/>
- </service>
- <reference name="fruitsCatalog">
- <interface.java interface="services.Catalog"/>
- <tuscany:binding.jsonrpc uri="http://tuscany-store-catalog.appspot.com/Catalog"/>
- </reference>
- <reference name="vegetablesCatalog">
- <interface.java interface="services.Catalog"/>
- <tuscany:binding.jsonrpc uri="http://tuscany.figueiredos.com/store-catalog-ibmcloud-webapp/Catalog"/>
- </reference>
- <reference name="currencyConverter" target="CurrencyConverter" />
- </component>
-
- <component name="CurrencyConverter">
- <implementation.java class="services.CurrencyConverterImpl" />
- <service name="CurrencyConverter">
- <interface.java interface="services.CurrencyConverter"/>
- </service>
- </component>
-
- <component name="ShoppingCartManager">
- <implementation.java class="services.ShoppingCartManager"/>
- <service name="ShoppingCart">
- <tuscany:binding.jsonrpc uri="/ShoppingCart"/>
- </service>
- <reference name="userService" target="UserService">
- <binding.sca name="local"/>
- </reference>
- </component>
-
- <component name="UserService">
- <implementation.java class="org.apache.tuscany.sca.cloud.user.impl.GoogleUserService"/>
- <service name="UserService">
- <binding.sca name="local"/>
- <tuscany:binding.jsonrpc uri="/User"/>
- </service>
- </component>
-</composite>