diff options
Diffstat (limited to 'sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources')
7 files changed, 171 insertions, 0 deletions
diff --git a/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib1/META-INF/sca-contribution.xml b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib1/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..c9f862856f --- /dev/null +++ b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib1/META-INF/sca-contribution.xml @@ -0,0 +1,26 @@ +<?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" + xmlns:tns="http://someuri" + xmlns:ans="http://someotheruri"> + <deployable composite="AComposite"/> + <import namespace="http://test"/> + <tns:import.xyz uri="abcdef" anAttribute="abcdef.xyz"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib1/contrib1.composite b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib1/contrib1.composite new file mode 100644 index 0000000000..e26b16cb62 --- /dev/null +++ b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib1/contrib1.composite @@ -0,0 +1,35 @@ +<?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:tns="http://someuri" + xmlns:test="http://test" + targetNamespace="http://contrib1" + name="AComposite"> + + <component name="Component1"> + <tns:implementation.xyz anAttribute="abcdef.xyz"/> + <reference name="component2" target="Component2"/> + </component> + + <component name="Component2"> + <tns:implementation.xyz anAttribute="fghij"/> + </component> + +</composite>
\ No newline at end of file diff --git a/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/META-INF/sca-contribution.xml b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..1c462196a3 --- /dev/null +++ b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/META-INF/sca-contribution.xml @@ -0,0 +1,26 @@ +<?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" + xmlns:tns="http://someuri" + xmlns:ans="http://someotheruri"> + <deployable composite="BComposite"/> + <export namespace="http://test"/> + <tns:export.xyz uri="abcdef" anAttribute="abcdef.xyz"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/abcdef.xyz b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/abcdef.xyz new file mode 100644 index 0000000000..037869c9ef --- /dev/null +++ b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/abcdef.xyz @@ -0,0 +1 @@ +Empty File
\ No newline at end of file diff --git a/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/contrib2.composite b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/contrib2.composite new file mode 100644 index 0000000000..dde1226c6c --- /dev/null +++ b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/contrib2/contrib2.composite @@ -0,0 +1,30 @@ +<?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:tns="http://someuri" + targetNamespace="http://contrib2" + name="BComposite"> + + <component name="Component3"> + <tns:implementation.xyz anAttribute="abcdef.xyz"/> + <reference name="component2" target="Component2"/> + </component> + +</composite>
\ No newline at end of file diff --git a/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/implementation-xyz.xsd b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/implementation-xyz.xsd new file mode 100644 index 0000000000..7527779cda --- /dev/null +++ b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/implementation-xyz.xsd @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) Copyright SCA Collaboration 2006 --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://someuri" + xmlns:tns="http://someuri" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + elementFormDefault="qualified"> + + <import namespace="http://www.osoa.org/xmlns/sca/1.0"/> + + <element name="implementation.xyz" type="tns:XYZImplementation"/> + + <complexType name="XYZImplementation"> + <complexContent> + <extension base="sca:Implementation"> + <sequence> + <any namespace="##targetNamespace" processContents="lax" + minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="anAttribute" type="string" use="required"/> + </extension> + </complexContent> + </complexType> +</schema>
\ No newline at end of file diff --git a/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/import-xyz.xsd b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/import-xyz.xsd new file mode 100644 index 0000000000..e8535fe3a7 --- /dev/null +++ b/sca-java-1.x/tags/1.6-RC1/itest/workspace-manager/src/main/resources/import-xyz.xsd @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) Copyright SCA Collaboration 2006 --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://someuri" + xmlns:tns="http://someuri" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + elementFormDefault="qualified"> + + <import namespace="http://www.osoa.org/xmlns/sca/1.0"/> + + <element name="import.xyz" type="tns:ImportXYZ" substitutionGroup="sca:baseImport"/> + + <element name="export.xyz" type="tns:ExportXYZ" substitutionGroup="sca:baseExport"/> + + <complexType name="ImportXYZ"> + <complexContent> + <extension base="sca:BaseImportType"> + <attribute name="anAttribute" type="string"/> + </extension> + </complexContent> + </complexType> + + <complexType name="ExportXYZ"> + <complexContent> + <extension base="sca:BaseExportType"/> + </complexContent> + </complexType> + +</schema>
\ No newline at end of file |