summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/policy/reliability/src/main/resources/definitions.xml
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-20 10:40:35 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-20 10:40:35 +0000
commitdcdefa32b02ea6df9e1226a0d7028d89531f983a (patch)
tree1ec381da93c1781ff31daee3e87a0ce5185b2396 /sca-java-2.x/trunk/testing/itest/policy/reliability/src/main/resources/definitions.xml
parent1a01ce4fe5882fcc5b312172d7fdf409e0cb9765 (diff)
TUSCANY-4017 - add a test case to ensure that the exactlyOnce profile intent resolves to atLeastOnce and atMostOnce.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291186 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/policy/reliability/src/main/resources/definitions.xml')
-rw-r--r--sca-java-2.x/trunk/testing/itest/policy/reliability/src/main/resources/definitions.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/policy/reliability/src/main/resources/definitions.xml b/sca-java-2.x/trunk/testing/itest/policy/reliability/src/main/resources/definitions.xml
new file mode 100644
index 0000000000..39d3d25a78
--- /dev/null
+++ b/sca-java-2.x/trunk/testing/itest/policy/reliability/src/main/resources/definitions.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+ * 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.
+-->
+<definitions xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ targetNamespace="http://tuscany.apache.org/xmlns/sca/1.1"
+ xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1">
+
+ <!-- We're not testing real repliability policy here. Just looking
+ at how the exactly once profile intent is handled. -->
+ <sca:policySet name="TestPolicySet1"
+ attachTo="//sca:binding.ws"
+ provides="sca:exactlyOnce"
+ appliesTo="//sca:binding.ws">
+ <tuscany:testPolicy testString="exactlyonce"/>
+ </sca:policySet>
+
+ <sca:policySet name="TestPolicySet2"
+ attachTo="//sca:binding.ws"
+ provides="sca:atLeastOnce"
+ appliesTo="//sca:binding.ws">
+ <tuscany:testPolicy testString="atleastonce"/>
+ </sca:policySet>
+
+ <sca:policySet name="TestPolicySet3"
+ attachTo="//sca:binding.ws"
+ provides="sca:atMostOnce"
+ appliesTo="//sca:binding.ws">
+ <tuscany:testPolicy testString="atmostonce"/>
+ </sca:policySet>
+
+</definitions> \ No newline at end of file