Hi Scott,
to point 2)
about 2-3 years ago I had a similar problem. The 'solution' was to create a
configuration file (with the properties) in the
'felix.fileinstall.dir'-Directory. If it is a Factory the filename should be
-.cfg
After some time (depending on configuration) FileInstall will
Hi Scott,
I did a short successful test. See the following steps:
1. create a new configuration: Configuration config =
ca.createFactoryConfiguration(factoryPid, „?“);
2. create and set the following properties: prop.put(„service.factoryPid“,
factoryPid); prop.put(„felix.fileinstall.filename“,
config based discovery can take care of this:
See:
https://github.com/apache/aries-rsa/tree/master/discovery/config
In the readme there is an example for how to configure a non OSGi remote REST
endpoint.
Christian
2018-03-09 12:58 GMT+01:00 Michael Wirth via osgi-dev
<osgi-dev@mail.osgi.org&
At https://github.com/apache/cxf-dosgi/tree/master/samples/rest there is a
great examples how to call a REST service from a OSGi-Client with Apache CXF
and dosgi. On client site a proxy is created from the resource class and bound
as an OSGi service.
The address for the server side is
aybe you can make a little example as a
github project.
Christian
2018-03-05 15:37 GMT+01:00 Michael Wirth via osgi-dev
<osgi-dev@mail.osgi.org<mailto:osgi-dev@mail.osgi.org>>:
Now I made it. Here is what I did if someone is interested.
In an IntentsProvider I return a List of Inten
er technical capability like
logging is to add a CXF feature to the client. If you are lucky then there is
already a suitable feature. If not then you have to create your own feature and
interceptor for adding the header.
How do you create the client?
Christian
2018-03-01 19:43 GMT+01:00 Michael Wi
I’m using Apache CXF in an OSGi-Application to call REST-Services provided from
another (spring) application.
I give the path-interface (generated with swagger) to my
osgi-client-appliation. While runtime, Apache CXF generates the client proxy
interface, calls the REST-Service and deserialize
u are lucky then there is
already a suitable feature. If not then you have to create your own feature and
interceptor for adding the header.
How do you create the client?
Christian
2018-03-01 19:43 GMT+01:00 Michael Wirth via osgi-dev
<osgi-dev@mail.osgi.org<mailto:osgi-dev@mail.osgi.org