summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0-Beta3/testing/itest/properties/src/main/resources/PropertyTest.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/branches/2.0-Beta3/testing/itest/properties/src/main/resources/PropertyTest.composite')
-rw-r--r--sca-java-2.x/branches/2.0-Beta3/testing/itest/properties/src/main/resources/PropertyTest.composite260
1 files changed, 0 insertions, 260 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta3/testing/itest/properties/src/main/resources/PropertyTest.composite b/sca-java-2.x/branches/2.0-Beta3/testing/itest/properties/src/main/resources/PropertyTest.composite
deleted file mode 100644
index 7c834d5e0b..0000000000
--- a/sca-java-2.x/branches/2.0-Beta3/testing/itest/properties/src/main/resources/PropertyTest.composite
+++ /dev/null
@@ -1,260 +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
- * 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:foo="http://foo"
- xmlns:cust="http://www.example.com/Customer"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:rcp="http://test.sca.jaxb/rcprops"
- targetNamespace="http://foo"
- name="PropertyTest"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <service name="ProperterTestService" promote="ABComponent">
- <interface.java interface="org.apache.tuscany.sca.itest.ABComponent"/>
- </service>
-
- <property name="number" type="xsd:int">1</property>
- <property name="complex" type="foo:MyComplexType" >
- <value>
- <foo:a>a</foo:a>
- <foo:b>b</foo:b>
- <foo:c>c</foo:c>
- <foo:d>d</foo:d>
- <foo:x>
- <foo:y>y</foo:y>
- <foo:z>z</foo:z>
- </foo:x>
- </value>
- </property>
-
- <property name="moreComplex" type="foo:MyMoreComplexType">
- <value>
- <numberSetArray>
- <integerNumber>1</integerNumber>
- <floatNumber>11</floatNumber>
- <doubleNumber>111</doubleNumber>
- </numberSetArray>
- <numberSetArray>
- <integerNumber>2</integerNumber>
- <floatNumber>22</floatNumber>
- <doubleNumber>222</doubleNumber>
- </numberSetArray>
- <stringArray>TestString_1</stringArray>
- <stringArray>TestString_2</stringArray>
- <intArray>10</intArray>
- <intArray>20</intArray>
- <integerNumber>27</integerNumber>
- <floatNumber>79.34</floatNumber>
- <doubleNumber>184.52</doubleNumber>
- <doubleArray>50.05</doubleArray>
- <doubleArray>25.52</doubleArray>
- <numberSet>
- <integerNumber>54</integerNumber>
- <floatNumber>158.68</floatNumber>
- <doubleNumber>369.04</doubleNumber>
- </numberSet>
- </value>
- </property>
-
- <property name="complexFoo" type="foo:MyMoreComplexType">
- <value>
- <stringArray>TestString_3</stringArray>
- <stringArray>TestString_4</stringArray>
- <intArray>100</intArray>
- <intArray>200</intArray>
- </value>
- </property>
-
- <component name="ABCDComponent">
- <implementation.java class="org.apache.tuscany.sca.itest.ABCDComponentImpl"/>
- <reference name="ab" target="ABComponent"/>
- <reference name="cd" target="CDComponent"/>
- </component>
-
- <component name="ABComponent">
- <implementation.java class="org.apache.tuscany.sca.itest.ABComponentImpl"/>
- <property name="a" source="$complex/foo:a"/>
- <property name="b" source="$complex/foo:b"/>
- <property name="f" source="$complex/foo:a">f</property>
- <property name="xpath" source="$complex/foo:x/*[local-name()='z']"/>
- <property name="one" source="$number"/>
- <property name="foobar" many="true">
- <value>Apache</value>
- <value>Tuscany</value>
- <value>Java SCA</value>
- </property>
- <property name="fooInts" many="true">
- <value>123</value>
- <value>456</value>
- <value>789</value>
- </property>
- </component>
-
-
- <component name="CDComponent">
- <implementation.java class="org.apache.tuscany.sca.itest.CDComponentImpl"/>
- <property name="c" source="$complex/foo:c"/>
- <property name="d" source="$complex/foo:d"/>
- <property name="nosource">aValue</property>
- <property name="fileProperty" file="fileProperty.txt"/>
- <property name="manyValuesFileProperty" many="true" file="manyValuesFileProperty.txt"/>
- <property name="nonFileProperty" file="fileProperty.txt" source="$complex/foo:c"/>
- <property name="two" source="$number">25</property>
- </component>
-
- <component name="PropertyComponent">
- <implementation.java class="org.apache.tuscany.sca.itest.PropertyComponentImpl"/>
- <property name="complexPropertyOne" source="$moreComplex"></property>
- <property name="complexPropertyTwo" type="foo:MyMoreComplexType">
- <value>
- <stringArray>TestString_1</stringArray>
- <stringArray>TestString_2</stringArray>
- <intArray>10</intArray>
- <integerNumber>27</integerNumber>
- <floatNumber>79.34</floatNumber>
- <doubleArray>25.52</doubleArray>
- <doubleNumber>184.52</doubleNumber>
- <doubleArray>50.05</doubleArray>
- <intArray>20</intArray>
- <numberSetArray>
- <integerNumber>1</integerNumber>
- <floatNumber>11</floatNumber>
- <doubleNumber>111</doubleNumber>
- </numberSetArray>
- <numberSetArray>
- <integerNumber>2</integerNumber>
- <floatNumber>22</floatNumber>
- <doubleNumber>222</doubleNumber>
- </numberSetArray>
- <numberSet>
- <integerNumber>54</integerNumber>
- <floatNumber>158.68</floatNumber>
- <doubleNumber>369.04</doubleNumber>
- </numberSet>
- </value>
- </property>
- <property name="complexPropertyThree" element="foo:PropertyThreeElement">
- <PropertyThreeElement xmlns="http://foo">
- <stringArray>TestElementString_1</stringArray>
- <stringArray>TestElementString_2</stringArray>
- <intArray>10</intArray>
- <integerNumber>27</integerNumber>
- <floatNumber>79.34</floatNumber>
- <doubleArray>25.52</doubleArray>
- <doubleNumber>184.52</doubleNumber>
- <doubleArray>50.05</doubleArray>
- <intArray>20</intArray>
- <numberSetArray>
- <integerNumber>1</integerNumber>
- <floatNumber>11</floatNumber>
- <doubleNumber>111</doubleNumber>
- </numberSetArray>
- <numberSetArray>
- <integerNumber>2</integerNumber>
- <floatNumber>22</floatNumber>
- <doubleNumber>222</doubleNumber>
- </numberSetArray>
- <numberSet>
- <integerNumber>54</integerNumber>
- <floatNumber>158.68</floatNumber>
- <doubleNumber>369.04</doubleNumber>
- </numberSet>
- </PropertyThreeElement>
- </property>
- <property name="complexPropertyFour" element="foo:PropertyFourElement" many="true">
- <PropertyFourElement xmlns="http://foo">
- <integerNumber>1</integerNumber>
- <floatNumber>11.11</floatNumber>
- <doubleNumber>111.111</doubleNumber>
- <numberSet>
- <integerNumber>11</integerNumber>
- <floatNumber>1111.1111</floatNumber>
- <doubleNumber>11111.11111</doubleNumber>
- </numberSet>
- </PropertyFourElement>
- <PropertyFourElement xmlns="http://foo">
- <integerNumber>2</integerNumber>
- <floatNumber>22.22</floatNumber>
- <doubleNumber>222.222</doubleNumber>
- <numberSet>
- <integerNumber>22</integerNumber>
- <floatNumber>2222.2222</floatNumber>
- <doubleNumber>22222.22222</doubleNumber>
- </numberSet>
- </PropertyFourElement>
- <PropertyFourElement xmlns="http://foo">
- <integerNumber>3</integerNumber>
- <floatNumber>33.33</floatNumber>
- <doubleNumber>333.333</doubleNumber>
- <numberSet>
- <integerNumber>33</integerNumber>
- <floatNumber>3333.3333</floatNumber>
- <doubleNumber>33333.33333</doubleNumber>
- </numberSet>
- </PropertyFourElement>
- </property>
- <property name="complexPropertyFive" source="$complexFoo"/>
- <property name="location" type="xsd:string">RTP</property>
- <property name="year" type="xsd:string">2006</property>
- <property name="daysOfTheWeek" many="true" type="xsd:string">
- <value>Monday</value>
- <value>Tuesday</value>
- <value>Wednesday</value>
- <value>Thursday</value>
- <value>Friday</value>
- <value>Saturday</value>
- <value>Sunday</value>
- </property>
- <property name="integerNumbers" many="true" type="xsd:int">
- <value>1</value>
- <value>2</value>
- <value>3</value>
- <value>4</value>
- <value>5</value>
- <value>6</value>
- <value>7</value>
- <value>8</value>
- <value>9</value>
- <value>10</value>
- </property>
- <property name="intNumbers" many="true" type="xsd:int">
- <value>10</value>
- <value>9</value>
- <value>8</value>
- <value>7</value>
- <value>6</value>
- <value>5</value>
- <value>4</value>
- <value>3</value>
- <value>2</value>
- <value>1</value>
- <value>0</value>
- </property>
-
- <property name="complexJAXBPropertyOne" type="rcp:ReturnCodeProperties">
- <MyRCProps xmlns="http://test.sca.jaxb/rcprops">
- <AInt>10</AInt>
- <BInteger>10</BInteger>
- </MyRCProps>
- </property>
- <property name="complexJAXBPropertyTwo" type="rcp:ReturnCodeProperties" file="rcProps.txt"/>
- </component>
-</composite>
-
-