diff options
author | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
---|---|---|
committer | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
commit | bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch) | |
tree | 38a92061c0793434c4be189f1d70c3458b6bc41d /sandbox/axis2-1.4/itest/policy/src/main/resources/definitions.xml |
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/axis2-1.4/itest/policy/src/main/resources/definitions.xml')
-rw-r--r-- | sandbox/axis2-1.4/itest/policy/src/main/resources/definitions.xml | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/sandbox/axis2-1.4/itest/policy/src/main/resources/definitions.xml b/sandbox/axis2-1.4/itest/policy/src/main/resources/definitions.xml new file mode 100644 index 0000000000..54aa8ec480 --- /dev/null +++ b/sandbox/axis2-1.4/itest/policy/src/main/resources/definitions.xml @@ -0,0 +1,147 @@ +<?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://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://itest/policy" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:calc="http://calculator" + xmlns:ip="http://itest/policy" > + + <!-- Policy Intents --> + <sca:intent name="TestIntent_1" constrains="sca:implementation.java sca:binding.ws"> + <description>Test Intent One</description> + </sca:intent> + + <sca:intent name="TestIntent_2" constrains="sca:implementation.java sca:binding.ws"> + <description>Test Intent Two</description> + </sca:intent> + + <sca:intent name="TestIntent_3" constrains="sca:implementation.java sca:binding.ws"> + <description>Test Intent Three</description> + </sca:intent> + + <sca:intent name="TestIntent_4" constrains="sca:implementation.java sca:binding.ws"> + <description>Test Intent Four</description> + </sca:intent> + + <sca:intent name="TestIntent_5" constrains="sca:implementation.java sca:binding.ws"> + <description>Test Intent Five</description> + </sca:intent> + + <sca:intent name="TestIntent_1.Qualifier_1" /> + + + + <!-- PolicySets --> + <sca:policySet name="TestPolicySet_1_implementation" provides="ip:TestIntent_1" + appliesTo="sca:implementation.java" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <intentMap provides="ip:TestIntent_1" default="Qualifier_1"> + <qualifier name="Qualifier_1"> + <wsp:Policy /> + </qualifier> + </intentMap> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_1_Qualified_implementation" provides="ip:TestIntent_1.Qualifier_1" + appliesTo="sca:implementation.java" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_1_reference" provides="ip:TestIntent_1" appliesTo="sca:reference" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_1_service" provides="ip:TestIntent_1" appliesTo="sca:service" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + + <sca:policySet name="TestPolicySet_2_implementation" provides="ip:TestIntent_2" + appliesTo="sca:implementation.java" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_2_reference" provides="ip:TestIntent_2" appliesTo="sca:reference" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_2_service" provides="ip:TestIntent_2" appliesTo="sca:service" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + + <sca:policySet name="TestPolicySet_3_implementation" provides="ip:TestIntent_3" + appliesTo="sca:implementation.java" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_3_reference" provides="ip:TestIntent_3" appliesTo="sca:reference" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_3_service" provides="ip:TestIntent_3" appliesTo="sca:service" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_4_implementation" provides="ip:TestIntent_4" + appliesTo="sca:implementation.java" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_4_service" provides="ip:TestIntent_4" appliesTo="sca:service" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_4_reference" provides="ip:TestIntent_4" appliesTo="sca:reference" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_5_implementation" provides="" appliesTo="sca:implementation.java" + tuscany:alwaysAppliesTo="sca:component[@name='MultiplyServiceComponent']" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_5_service" provides="ip:TestIntent_5" appliesTo="sca:service" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_5_reference" provides="ip:TestIntent_5" appliesTo="sca:reference" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <wsp:Policy /> + </sca:policySet> + + <sca:policySet name="TestPolicySet_4_qualified_1_implementation" provides="ip:TestIntent_4" + appliesTo="sca:implementation.java" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> + <intentMap provides="ip:TestIntent_4" default="Qualifier_1"> + <qualifier name="Qualifier_1"> + <wsp:Policy /> + </qualifier> + </intentMap> + </sca:policySet> +</definitions>
\ No newline at end of file |