From 699d2df521ee26e343c53505a2ac1d546ba1965e Mon Sep 17 00:00:00 2001 From: antelder Date: Sat, 28 Mar 2009 09:46:58 +0000 Subject: Create M2 relese branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@759448 13f79535-47bb-0310-9956-ffa450edef68 --- .../calculator/dosgi/META-INF/MANIFEST.MF | 19 ++++++ .../calculator/dosgi/META-INF/sca-contribution.xml | 24 ++++++++ .../dosgi/OSGI-INF/blueprint/calculator-module.xml | 43 ++++++++++++++ .../dosgi/OSGI-INF/calculator-component.xml | 36 ++++++++++++ .../calculator-service-descriptions.xml | 67 ++++++++++++++++++++++ .../calculator/dosgi/bundle.componentType | 54 +++++++++++++++++ .../calculator/dosgi/calculator.composite | 53 +++++++++++++++++ .../dosgi/operations/META-INF/MANIFEST.MF | 21 +++++++ .../dosgi/operations/META-INF/sca-contribution.xml | 23 ++++++++ .../dosgi/operations/OSGI-INF/add-component.xml | 25 ++++++++ .../OSGI-INF/blueprint/operations-module.xml | 40 +++++++++++++ .../dosgi/operations/OSGI-INF/divide-component.xml | 25 ++++++++ .../operations/OSGI-INF/multiply-component.xml | 25 ++++++++ .../operations/OSGI-INF/subtract-component.xml | 25 ++++++++ .../dosgi/operations/bundle.componentType | 47 +++++++++++++++ .../dosgi/operations/operations.composite | 43 ++++++++++++++ 16 files changed, 570 insertions(+) create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/MANIFEST.MF create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/sca-contribution.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/blueprint/calculator-module.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/calculator-component.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/remote-service/calculator-service-descriptions.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/bundle.componentType create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/calculator.composite create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/MANIFEST.MF create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/sca-contribution.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/add-component.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/blueprint/operations-module.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/divide-component.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/multiply-component.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/subtract-component.xml create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/bundle.componentType create mode 100644 branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/operations.composite (limited to 'branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi') diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/MANIFEST.MF b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..0aa9cf047e --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/MANIFEST.MF @@ -0,0 +1,19 @@ +Manifest-Version: 1.0 +Export-Package: calculator.dosgi;version="1.0.0", + calculator.dosgi.operations;version="1.0.0" +Bundle-Version: 1.0.0 +Bundle-Name: calculator.dosgi +Bundle-Activator: calculator.dosgi.impl.CalculatorActivator +Bundle-ManifestVersion: 2 +Import-Package: org.osgi.framework, + org.osgi.service.component;resolution:=optional, + org.osgi.service.packageadmin, + org.osgi.util.tracker +Bundle-SymbolicName: calculator.dosgi +Bundle-Vendor: The Apache Software Foundation +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt +Bundle-DocURL: http://www.apache.org/ +Service-Component: OSGI-INF/calculator-component.xml + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/sca-contribution.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..b14b3516f6 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/META-INF/sca-contribution.xml @@ -0,0 +1,24 @@ + + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/blueprint/calculator-module.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/blueprint/calculator-module.xml new file mode 100644 index 0000000000..fd834e12ef --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/blueprint/calculator-module.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/calculator-component.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/calculator-component.xml new file mode 100644 index 0000000000..5daaa59aae --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/calculator-component.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/remote-service/calculator-service-descriptions.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/remote-service/calculator-service-descriptions.xml new file mode 100644 index 0000000000..da76d00024 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/OSGI-INF/remote-service/calculator-service-descriptions.xml @@ -0,0 +1,67 @@ + + + + + + + + sca:SOAP sca:HTTP + sca + + OSGI-INF/sca/bundle.componentType + + + addService + + + + + sca:SOAP sca:HTTP + sca + + OSGI-INF/sca/bundle.componentType + + + subtractService + + + + + sca:SOAP sca:HTTP + sca + + OSGI-INF/sca/bundle.componentType + + + multiplyService + + + + + sca:SOAP sca:HTTP + sca + + OSGI-INF/sca/bundle.componentType + + + divideService + + + \ No newline at end of file diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/bundle.componentType b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/bundle.componentType new file mode 100644 index 0000000000..7860094626 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/bundle.componentType @@ -0,0 +1,54 @@ + + + + + + + + + 1 + ABC + + + + + + 1 + ABC + + + + 1 + ABC + + + + 1 + ABC + + + + 1 + ABC + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/calculator.composite b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/calculator.composite new file mode 100644 index 0000000000..3c77086c45 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/MANIFEST.MF b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..ef8c19f9c8 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/MANIFEST.MF @@ -0,0 +1,21 @@ +Manifest-Version: 1.0 +Export-Package: calculator.dosgi.operations;version="1.0.0" +Bundle-Version: 1.0.0 +Bundle-Name: calculator.dosgi.operations +Bundle-Activator: calculator.dosgi.operations.impl.OperationsActivator +Bundle-ManifestVersion: 2 +Import-Package: calculator.dosgi.operations;version="1.0.0", + org.osgi.framework, + org.osgi.service.component;resolution:=optional, + org.osgi.service.packageadmin +Bundle-SymbolicName: calculator.dosgi.operations +Bundle-Vendor: The Apache Software Foundation +Bundle-ActivationPolicy: lazy +Eclipse-LazyStart: true +Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt +Bundle-DocURL: http://www.apache.org/ +Service-Component: OSGI-INF/add-component.xml, + OSGI-INF/subtract-component.xml, + OSGI-INF/multiply-component.xml, + OSGI-INF/divide-component.xml + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/sca-contribution.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..16a33f4f65 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/add-component.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/add-component.xml new file mode 100644 index 0000000000..99845257ff --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/add-component.xml @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/blueprint/operations-module.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/blueprint/operations-module.xml new file mode 100644 index 0000000000..f6b5f4690e --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/blueprint/operations-module.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/divide-component.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/divide-component.xml new file mode 100644 index 0000000000..322d4daf2f --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/divide-component.xml @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/multiply-component.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/multiply-component.xml new file mode 100644 index 0000000000..b9ca777bd8 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/multiply-component.xml @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/subtract-component.xml b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/subtract-component.xml new file mode 100644 index 0000000000..1472f5a976 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/OSGI-INF/subtract-component.xml @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/bundle.componentType b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/bundle.componentType new file mode 100644 index 0000000000..6f6f4bdce6 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/bundle.componentType @@ -0,0 +1,47 @@ + + + + + + + + + 1 + ABC + + + + 1 + ABC + + + + 1 + ABC + + + + 1 + ABC + + + diff --git a/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/operations.composite b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/operations.composite new file mode 100644 index 0000000000..c9fb3818b8 --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/node-impl-osgi/src/test/resources/calculator/dosgi/operations/operations.composite @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3