Log Message: |
Added support for the alternative syntax of the remote-services.xml file.
One syntax is with value attributes like this:
<service-description>
<provide interface="org.apache.cxf.dosgi.samples.greeter.GreeterService" />
<property name="osgi.remote.interfaces" value="*" />
<property name="osgi.remote.requires.intents" value="SOAP HTTP" />
<property name="osgi.remote.configuration.type" value="pojo" />
<property name="osgi.remote.configuration.pojo.address" value="http://localhost:9090/greeter" />
</service-description>
The other syntax is with value element content, like this:
<service-description>
<provide interface="org.apache.cxf.dosgi.samples.greeter.GreeterService" />
<property name="osgi.remote.interfaces">*</property>
<property name="osgi.remote.requires.intents">SOAP HTTP</property>
<property name="osgi.remote.configuration.type">pojo</property>
<property name="osgi.remote.configuration.pojo.address">http://localhost:9090/greeter</property>
</service-description>
Additionally, removed some old duplicated code from the local discovery service.
New unit and system tests added.
|