Karaf 4.2.x: ConfigRepository requires access to TypedProperties

2018-11-24 Thread jochenw
Hi, in the 4.2 versions (I'm currently using 4.2.1), the interface of org.apache.karaf.config.core.ConfigRepository has changed. The getConfig function now returns TypedProperties. Earlier, the getConfigProperties returned a Dictionary (or at least could be mapped to it). TypedProperties are

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread tom
> The SSE from JAX-RS 2.1 definitely works (client and server side) with the > Aries implementation, so hopefully that will give you everything that you > need. I have it all working now. I've had to make one or two changes though, as a result of the change from jersey to cxf. Generally,

Re: Karaf 4.2.x: ConfigRepository requires access to TypedProperties

2018-11-24 Thread Jean-Baptiste Onofré
Hi Jochen, Embedding felix utils as Private Package is probably the cleanest way. However, I'm surprised you are directly using ConfigRepository. Are you defining your own repository backend ? Regards JB On 24/11/2018 15:09, jochenw wrote: > Hi, > > in the 4.2 versions (I'm currently using

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread Raymond Auge
On Sat, Nov 24, 2018 at 1:24 PM wrote: > > > The SSE from JAX-RS 2.1 definitely works (client and server side) with > the Aries implementation, so hopefully that will give you everything that > you need. > > I have it all working now. I've had to make one or two changes though, as > a result of

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread tom
> Did you notice that the JAX-RS Whiteboard provides a ClientBuilder > (prototype scoped) service? > > e.g. > @Reference > ClientBuilder clientBuilder; > Ah, no, I hadn't. I had read the words, but obviously not understood the significance. Thanks for the pointer.

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread Tim Ward
Hi Tom, It looks like you’re having a lot of success. The NPE that you have identified for void methods is a known bug in 1.0.1 (introduced by a fix for a different problem in 1.0.0) and is already fixed in 1.0.2-SNAPSHOT. The release of 1.0.2 is planned soon - the vote would probably be

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread Jean-Baptiste Onofré
Hi Tom, I'm curious: what JAXRS API bundle do you use (that provide the JAXRS contract) ? Regards JB On 24/11/2018 19:24, t...@quarendon.net wrote: > >> The SSE from JAX-RS 2.1 definitely works (client and server side) with the >> Aries implementation, so hopefully that will give you

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread Jean-Baptiste Onofré
Thanks Ray, as I'm creating the Aries JAXRS feature for Karaf, I'm currently using the one from Aries. Regards JB On 25/11/2018 06:06, Raymond Auge wrote: > > > On Sat, Nov 24, 2018, 23:48 Jean-Baptiste Onofré wrote: > > Hi Tom, > > I'm curious: what

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread Raymond Auge
On Sat, Nov 24, 2018, 23:48 Jean-Baptiste Onofré Hi Tom, > > I'm curious: what JAXRS API bundle do you use (that provide the JAXRS > contract) ? > There's two you could use. The one in Aries jaxrs whiteboard repo that was built to bootstrap the project and the one from Apache Geronimo. - Ray >

Re: Aries JAX-RS Whiteboard

2018-11-24 Thread tom
> as I'm creating the Aries JAXRS feature for Karaf, I'm currently using > the one from Aries. That's the one I used.