summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/apps/slice/app.composite
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-04-17 22:13:58 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-04-17 22:13:58 +0000
commit7df272063ba2167d797bda383680bfcf648418f8 (patch)
treebf69c23fe6d2ea3a07fccb92fa8d9962660b81ad /sca-cpp/trunk/modules/edit/apps/slice/app.composite
parent7779274ac986c038ab2f444fe04bd21051153294 (diff)
Add a few sample and test apps. Refactor some of the utility components and adjusted apps to use them.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1094208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/edit/apps/slice/app.composite40
1 files changed, 40 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/slice/app.composite b/sca-cpp/trunk/modules/edit/apps/slice/app.composite
new file mode 100644
index 0000000000..009b31b3b6
--- /dev/null
+++ b/sca-cpp/trunk/modules/edit/apps/slice/app.composite
@@ -0,0 +1,40 @@
+<?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/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://slice" name="slice">
+ <component t:x="271" t:y="21" name="number" t:title="#" t:color="orange1">
+ <t:implementation.python script="nuvem/number.py"/>
+ <service name="number"/>
+ <property>0</property>
+ </component>
+ <component t:x="246" t:y="25" name="property" t:title="{propval} :" t:color="orange1">
+ <t:implementation.python script="nuvem/assoc.py"/>
+ <service name="property"/>
+ <reference target="number" name="value"/>
+ <property>slice</property>
+ </component>
+ <service name="appstart" promote="appstart"/>
+ <component t:x="129" t:y="23" name="appstart" t:title="start" t:color="green1">
+ <t:implementation.python script="nuvem/appstart.py"/>
+ <service name="appstart" t:visible="false">
+ <t:binding.http uri="appstart"/>
+ </service>
+ <reference target="property" name="content"/>
+ </component>
+</composite>