diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-23 19:05:06 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-23 19:05:06 +0000 |
commit | 7065b6c6e734a5c48b8f2c6b4f373c3e62cf3b36 (patch) | |
tree | f009da18aa14291fe6d26a0b4d449d6610444f7d /java/sca/modules/implementation-osgi/src/test/java/org/apache/tuscany | |
parent | 8d53ca67aa02c88e9732bb69e03368e4545c942e (diff) |
Start to align with the OSGi property names defined by RFC 119
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/implementation-osgi/src/test/java/org/apache/tuscany')
-rw-r--r-- | java/sca/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/xml/ServiceDescriptionsTestCase.java | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/java/sca/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/xml/ServiceDescriptionsTestCase.java b/java/sca/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/xml/ServiceDescriptionsTestCase.java index 7a4ae3e6de..436143ad6c 100644 --- a/java/sca/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/xml/ServiceDescriptionsTestCase.java +++ b/java/sca/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/xml/ServiceDescriptionsTestCase.java @@ -38,13 +38,18 @@ import org.junit.Test; */ public class ServiceDescriptionsTestCase { private static final String xml = - "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<service-descriptions xmlns=\"http://www.osgi.org/xmlns/sd/v1.0.0\">" + "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + + "<service-descriptions xmlns=\"http://www.osgi.org/xmlns/sd/v1.0.0\" " + +"xmlns:sca=\"http://docs.oasis-open.org/ns/opencsa/sca/200903\">" + "<service-description>" - + "<provide interface=\"com.iona.soa.pojo.hello.HelloService\"/>" - + "<property name=\"service.intents\">SOAP HTTP</property>" - + "<property name=\"osgi.remote.configuration.type\">pojo</property>" - + "<property name=\"osgi.remote.configuration.pojo.address\">" - + "http://localhost:9000/hello" + + "<provide interface=\"calculator.operations.AddService\"/>" + + "<property name=\"service.intents\">sca:SOAP sca:HTTP</property>" + + "<property name=\"osgi.remote.configuration.type\">sca</property>" + + "<property name=\"osgi.remote.configuration.sca.componentType\">" + + "OSGI-INF/sca/bundle.componentType" + + "</property>" + + "<property name=\"osgi.remote.configuration.sca.reference\">" + + "addService" + "</property>" + "</service-description>" + "<service-description>" |