summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/contribution/helloworld.composite
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-19 22:55:55 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-19 22:55:55 +0000
commitdd4799a9809cd2ffaa2e9598a8c1408405e25202 (patch)
tree3389c495a9645b22f9d4ce174ca9a8849abcd689 /sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/contribution/helloworld.composite
parent9bd25321d03e2577f115597742f4c2c48ddcd9cc (diff)
Add the support to generate the SCA diagram for a given node configuration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1172882 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/contribution/helloworld.composite')
-rwxr-xr-xsca-java-2.x/trunk/modules/composite-diagram/src/test/resources/contribution/helloworld.composite34
1 files changed, 34 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/contribution/helloworld.composite b/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/contribution/helloworld.composite
new file mode 100755
index 0000000000..0b40ca68ed
--- /dev/null
+++ b/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/contribution/helloworld.composite
@@ -0,0 +1,34 @@
+<?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"
+ targetNamespace="http://sample"
+ xmlns:sample="http://sample"
+ name="HelloWorld">
+
+ <component name="HelloComponent">
+ <implementation.java class="org.apache.tuscany.sca.diagram.test.HelloWorldImpl"/>
+ <reference name="delegate" target="Hello2Component" />
+ </component>
+
+ <component name="Hello2Component">
+ <implementation.java class="org.apache.tuscany.sca.diagram.test.HelloWorld2Impl"/>
+ </component>
+
+</composite> \ No newline at end of file