summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/scatours-currency-converter-dosgi-contribution/src/main/resources/OSGI-INF/sca/bundle.composite
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-29 18:20:02 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-29 18:20:02 +0000
commit6b4bc0c967a75cb4e57240dad2972cf6800d0ecd (patch)
tree7b52e2924ac73c12ce81063b0fc01f2475d204c6 /sandbox/rfeng/scatours-currency-converter-dosgi-contribution/src/main/resources/OSGI-INF/sca/bundle.composite
parent6a63ce110cc590cc4a27392101b52dda4f6c0366 (diff)
Update the test scenarios
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@780056 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/rfeng/scatours-currency-converter-dosgi-contribution/src/main/resources/OSGI-INF/sca/bundle.composite (renamed from sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/src/main/resources/META-INF/sca-contribution.xml)16
1 files changed, 13 insertions, 3 deletions
diff --git a/sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/src/main/resources/META-INF/sca-contribution.xml b/sandbox/rfeng/scatours-currency-converter-dosgi-contribution/src/main/resources/OSGI-INF/sca/bundle.composite
index f8ce8b7af7..65f62d62d2 100644
--- a/sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/src/main/resources/META-INF/sca-contribution.xml
+++ b/sandbox/rfeng/scatours-currency-converter-dosgi-contribution/src/main/resources/OSGI-INF/sca/bundle.composite
@@ -17,6 +17,16 @@
* specific language governing permissions and limitations
* under the License.
-->
-<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903">
- <export.java package="payment.creditcard"/>
-</contribution> \ No newline at end of file
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://currency"
+ name="CurrencyConverterComposite">
+
+ <component name="CurrencyConverterComponent">
+ <tuscany:implementation.osgi bundleSymbolicName="scatours.currency.converter" bundleVersion="1.0.0" />
+ <service name="CurrencyConverter">
+ <tuscany:binding.rmi uri="rmi://localhost:8085/CurrencyConverter" />
+ </service>
+ </component>
+
+</composite>