Re: Examples of using Jersey with pax web whiteboard extender?

2018-07-14 Thread Steinar Bang
> Scott Lewis : [snip!] > Yes.   I haven't looked at your annotations, and so don't know if they > all are from the javax.ws.rs packages...but assuming so...that's the > idea. The DS annotations are from mvn:org.osgi/org.osgi.service.component.annotations/6.0.0 The whiteboard constants used

Re: Examples of using Jersey with pax web whiteboard extender?

2018-07-14 Thread Jean-Baptiste Onofré
Hi Steinar, I recommend to use the annotation from osgi.cmpn. javax.ws.rs can be provided by the spec or a impl (like CXF). Regards JB On 14/07/2018 12:14, Steinar Bang wrote: >> Scott Lewis : > > [snip!] >> Yes.   I haven't looked at your annotations, and so don't know if they >> all are

Re: Examples of using Jersey with pax web whiteboard extender?

2018-07-14 Thread Steinar Bang
> Steinar Bang : > The service definition is > > https://github.com/steinarb/ukelonn/blob/5ca75f438407c594ed476bed790d984b0007cfdf/ukelonn.api/src/main/java/no/priv/bang/ukelonn/UkelonnService.java#L36 > The service implementation, is this DS component > > https://github.com/steinarb/ukel

Re: Examples of using Jersey with pax web whiteboard extender?

2018-07-14 Thread Scott Lewis
On 7/14/2018 3:14 AM, Steinar Bang wrote: [snip!] it doesn't currently use the http whiteboard, but it could...and may eventually. Ah, ok. I need something that uses the http whiteboard. I would welcome a contribution to use the http whiteboard for this project [1].   It would/will be a si

Re: Examples of using Jersey with pax web whiteboard extender?

2018-07-14 Thread Scott Lewis
On 7/14/2018 10:33 AM, Steinar Bang wrote: (However, once I'm on karaf 4.2.x and OSGi 7.0.0, and once I hear rumours that Scott Lewis' approach will be working with the http whiteboard, then ditching my resource classes and annotating the service is something I will try) If you would like to e

Re: Examples of using Jersey with pax web whiteboard extender?

2018-07-14 Thread Steinar Bang
> Scott Lewis : > If you would like to expidite, please open an issue here [1] for the > use of http-whiteboard in jersey and cxf distribution providers, and > it could happen pretty quickly. https://github.com/ECF/JaxRSProviders/issues/7 (but as I say below: the biggest hurdle for me is tr