diff options
Diffstat (limited to 'java/sca/itest/definitions-multiple/src/test/resources')
6 files changed, 0 insertions, 216 deletions
diff --git a/java/sca/itest/definitions-multiple/src/test/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor b/java/sca/itest/definitions-multiple/src/test/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor deleted file mode 100644 index a20489035b..0000000000 --- a/java/sca/itest/definitions-multiple/src/test/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor +++ /dev/null @@ -1,19 +0,0 @@ -# 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. - -# Implementation class for the artifact processor extension -org.apache.tuscany.sca.itest.TestPolicyProcessor;qname=http://schemas.xmlsoap.org/ws/2004/09/policy#Policy,model=org.apache.tuscany.sca.itest.Policy diff --git a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/Calculator.composite b/java/sca/itest/definitions-multiple/src/test/resources/contrib1/Calculator.composite deleted file mode 100644 index e49717dbe8..0000000000 --- a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/Calculator.composite +++ /dev/null @@ -1,61 +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 - * "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://www.osoa.org/xmlns/sca/1.0" - xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" - targetNamespace="http://itest/policy" - xmlns:sample="http://itest/policy" - name="Calculator" - xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" - xmlns:ip="http://itest/policy"> - - <component name="CalculatorServiceComponent"> - <implementation.java class="calculator.CalculatorServiceImpl"/> - <!-- reference name="addService" target="AddServiceComponent" /--> - <reference name="addService" requires="ip:TestIntent_1" > - <interface.java interface="calculator.AddService" /> - <binding.ws uri="http://localhost:8085/AddServiceComponentWS" /> - </reference> - <reference name="subtractService" target="SubtractServiceComponent" /> - <reference name="multiplyService" target="MultiplyServiceComponent" /> - <reference name="divideService" target="DivideServiceComponent" /> - </component> - - <component name="AddServiceComponent"> - <implementation.java class="calculator.AddServiceImpl"/> - <service name="AddService" requires="ip:TestIntent_1" > - <interface.java interface="calculator.AddService" /> - <binding.ws uri="http://localhost:8085/AddServiceComponentWS" /> - <binding.sca/> - </service> - </component> - - <component name="SubtractServiceComponent"> - <implementation.java class="calculator.SubtractServiceImpl" /> - </component> - - <component name="MultiplyServiceComponent"> - <implementation.java class="calculator.MultiplyServiceImpl" /> - </component> - - <component name="DivideServiceComponent"> - <implementation.java class="calculator.DivideServiceImpl" /> - </component> - -</composite> diff --git a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/META-INF/sca-contribution.xml b/java/sca/itest/definitions-multiple/src/test/resources/contrib1/META-INF/sca-contribution.xml deleted file mode 100644 index 00d7793198..0000000000 --- a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/META-INF/sca-contribution.xml +++ /dev/null @@ -1,22 +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 - * "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. ---> -<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0"> - <import.java package="calculator"/> -</contribution>
\ No newline at end of file diff --git a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/definitions.xml b/java/sca/itest/definitions-multiple/src/test/resources/contrib1/definitions.xml deleted file mode 100644 index 07756b50b4..0000000000 --- a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/definitions.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?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" > - - <!-- PolicySets --> - <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> - -</definitions>
\ No newline at end of file diff --git a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/definitions/definitions.xml b/java/sca/itest/definitions-multiple/src/test/resources/contrib1/definitions/definitions.xml deleted file mode 100644 index 84f8e8a3c9..0000000000 --- a/java/sca/itest/definitions-multiple/src/test/resources/contrib1/definitions/definitions.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?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> - - -</definitions>
\ No newline at end of file diff --git a/java/sca/itest/definitions-multiple/src/test/resources/contrib2/definitions.xml b/java/sca/itest/definitions-multiple/src/test/resources/contrib2/definitions.xml deleted file mode 100644 index 439b7bbbe8..0000000000 --- a/java/sca/itest/definitions-multiple/src/test/resources/contrib2/definitions.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?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" > - - <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> - -</definitions>
\ No newline at end of file |