application relies on the following installed features:
cxf-jaxrs
jackson-jaxrs
pax-web-http-whiteboard
pax-web-karaf
aries-jax-rs-whiteboard
aries-jax-rs-whiteboard-jackson
Also I have learned that resetting the Karaf environment with “karaf clean
ce != null, so DI
work here
This drives me into the direction that there is no problem with dependencies.
It seems that if @JaxrsApplicationSelect and @JSONRequired are used at the same
time, no DI happens.
Best,
-- Jaap
> -Original Message-
> From: Paul Spencer
> Sent: donde
@JaxrsApplicationSelect in combination with DS?
> It seems now that Application/@JaxrsApplicationBase ignores DS.
>
> -- Jaap
>
>> -Original Message-
>> From: Paul Spencer
>> Sent: dinsdag 24 januari 2023 01:41
>> To: user@karaf.apache.org
>>
: Paul Spencer
> Sent: dinsdag 24 januari 2023 01:41
> To: user@karaf.apache.org
> Subject: Re: aries-jax-rs-whiteboard with @JaxrsApplicationSelect works not
> with DS
>
> - Does bundle:headers for the REST bundle have a required capability to the
> Person Service, foo.bar.PersonS
does not produce any output
>
> Best,
>
> -- Jaap
>
>> -Original Message-
>> From: Paul Spencer
>> Sent: maandag 23 januari 2023 23:12
>> To: user@karaf.apache.org
>> Subject: Re: aries-jax-rs-whiteboard with @JaxrsApplicationSelect works not
>
Paul,
- scr is installed and started
- the person bundle started
- diag does not produce any output
Best,
-- Jaap
> -Original Message-
> From: Paul Spencer
> Sent: maandag 23 januari 2023 23:12
> To: user@karaf.apache.org
> Subject: Re: aries-jax-rs-
null, so no DI.
>
> I enabled DEBUG in the log.
>
> I only see DEBUG messages for " org.eclipse.jetty.util".
> Not for anything else.
>
> Nevertheless, feature:list | grep jax
> Results in:
>
> aries-jax-rs-whiteboard │ 2.0.2
sonService null" + (personService ==
null));
return "test";
}
The personService remains null, so no DI.
I enabled DEBUG in the log.
I only see DEBUG messages for " org.eclipse.jetty.util".
Not for anything else.
Nevertheless, feature:list | grep
otation.
> This doesn't work, the variable remains null.
> No injection is happening.
>
> -- Jaap
>
>> -Original Message-
>> From: Paul Spencer
>> Sent: maandag 23 januari 2023 21:09
>> To: user@karaf.apache.org
>> Subject: Re: aries-ja
Paul,
I tried also the @Reference annotation.
This doesn't work, the variable remains null.
No injection is happening.
-- Jaap
> -Original Message-
> From: Paul Spencer
> Sent: maandag 23 januari 2023 21:09
> To: user@karaf.apache.org
> Subject: Re: aries-ja
gt; Sent: maandag 23 januari 2023 18:59
>> To: user@karaf.apache.org
>> Subject: Re: aries-jax-rs-whiteboard with @JaxrsApplicationSelect works not
>> with DS
>>
>> Jaap,
>> Your @Activate annotation is incorrect.
>> Try the following.
>>
gt; To: user@karaf.apache.org
> Subject: Re: aries-jax-rs-whiteboard with @JaxrsApplicationSelect works not
> with DS
>
> Jaap,
> Your @Activate annotation is incorrect.
> Try the following.
>
>
> …
> public class Rest() {
>
> @Reference
> private PersonService
Jaap,
Your @Activate annotation is incorrect.
Try the following.
…
public class Rest() {
@Reference
private PersonService personService;
@Activate
public void activate(Map properties) {
...
}
}
Paul Spencer
> On Jan 23, 2023, at 12:40 PM, Jaap Gordijn wrote:
>
> H
Hi,
I use an Application object (with @JaxrsApplicationSelect), injection via DS
does not work:
@Component(service = Rest.class, scope = ServiceScope.PROTOTYPE)
@JaxrsResource
@JaxrsApplicationSelect("(" + JaxrsWhiteboardConstants.JAX_RS_NAME +
"=MyApplication)")
@JSONRequired
@Produces(MediaType
> }
>
> }
>
> Now the endpoint resolves.
>
> But DS dependency injection does not work.
> Is there something needed to switch this on?
>
> -- Jaap
>
>> -Original Message-
>> From: Paul Spencer
>> Sent: maandag 23 ja
resolves.
But DS dependency injection does not work.
Is there something needed to switch this on?
-- Jaap
> -Original Message-
> From: Paul Spencer
> Sent: maandag 23 januari 2023 15:16
> To: user@karaf.apache.org
> Subject: Re: aries-jax-rs-whiteboard with @Ja
.137:8181/example/person's Observer
>
> Best,
>
> -- Jaap
>
>> -Original Message-
>> From: Paul Spencer
>> Sent: maandag 23 januari 2023 13:13
>> To: user@karaf.apache.org
>> Subject: Re: aries-jax-rs-whiteboard with @JaxrsApplicationSelec
The strange thing is at that if I remove the @JaxrsApplicationSelect in the
Rest service class, then it works. But not with the Application class.
-- Jaap
> -Original Message-
> From: Paul Spencer
> Sent: maandag 23 januari 2023 14:11
> To: user@karaf.apache.org
&
> The strange thing is at that if I remove the @JaxrsApplicationSelect in the
> Rest service class, then it works. But not with the Application class.
>
> -- Jaap
>
>> -Original Message-
>> From: Paul Spencer
>> Sent: maandag 23 januari 2023 14
aap
> -Original Message-
> From: Paul Spencer
> Sent: maandag 23 januari 2023 13:13
> To: user@karaf.apache.org
> Subject: Re: aries-jax-rs-whiteboard with @JaxrsApplicationSelect and
> @JSONRequired result in 404
>
> Jaap,
> 1) You can use the web: commands to
Jaap,
1) You can use the web: commands to verify the expected context exists
2) Review karaf.log to verify the the bundle startup and post relevant errors
3) I use the following features:
jackson
pax-web-http-whiteboard
aries-jax-rs-whiteboard
aries-jax-rs-whiteboard-jackson
Paul Spencer
Hi,
I have a problem with aries-jax-rs-whiteboard and the use of
@JaxrsApplicationSelect and @JSONRequired in combination.
That results in an inaccessible service (404).
If I disable the JSON annotations, the /test service works (via
/example/text
Code:
@Component(service = Rest.class, scope
>>>> requestContext.abortWith(Response.status(Response.Status.FORBIDDEN).build());
>>>> }
>>>>
>>>> static Permission getPermissionForResource(ResourceInfo
>>>> resourceInfo) {
>>>>
>>>> Permission permis
ed = annotatedElement.getAnnotation(Secured.class);
>>> return secured == null ? null : secured.value();
>>> }
>>>
>>> private static class InternalSecurityContext implements
>>> SecurityContext {
>>>
>>> pri
using role base authorization
>> return true;
>> }
>>
>> @Override
>> public boolean isSecure() {
>>
>> return secure;
>> }
>>
>> @Override
>> public String getAuthenticati
*/
> public static TokenAuthenticationFilter createTestInstance(JwtService
> jwtService) {
>
> TokenAuthenticationFilter filter = new TokenAuthenticationFilter();
> filter.jwtService = jwtService;
> return filter;
> }
> }
>
The Secured ann
Hi Matthias,
Which Karaf version are you using ?
Aries JAX RS is tested in Karaf itests but due to some changes in
Aries JAX-RS whiteboard, we didn't update yet.
You can take a look on the example:
https://github.com/apache/karaf/tree/main/examples/karaf-rest-example
I created
Hello Karaf user,
i try to get aries-jax-rs-whiteboard in a version > 1.0.6 running without
success. 2.0.1 with installed cxf is working fine. But in 1.0.7-1.0.10.
http:list does not show a servlet and my jaxrs whiteboard resources are not
working.
Any hints which component needs to be instal
o run.
>
> Besides the versioning of org.apache.aries.jax.rs.jackson seems broken and
> the feature has a hardcoded dep on version 1.0.0 which source i cant find
> at all.. and the artifacts in current source aren't build at all.
>
>
> This is the CI job for the Aries JAX
t source aren't build at all.
This is the CI job for the Aries JAX-RS Whiteboard integration projects, which
are built separately from the whiteboard because they evolve at different
speeds.
https://builds.apache.org/job/Aries-JAX-RS-Whiteboard-Integrations/
<https://builds.apache.
to use a own
> MessageWriter/Reader. I just want to use the one provided by aries-http
> whiteboard:
> [javax.ws.rs.ext.MessageBodyReader, javax.ws.rs.ext.MessageBodyWriter]
> --
> jackson.jaxb.version = 2.9.
eader, javax.ws.rs.ext.MessageBodyWriter]
>> --
>> jackson.jaxb.version = 2.9.6
>> jackson.jaxrs.json.version = 2.9.6
>> osgi.jaxrs.extension = true
>> osgi.jaxrs.media.type = application/json
>>
.version = 2.9.6
> jackson.jaxrs.json.version = 2.9.6
> osgi.jaxrs.extension = true
> osgi.jaxrs.media.type = application/json
> osgi.jaxrs.name = jaxb-json
> service.bundleid = 46
> service.id = 170
> service.ranking = -2147483648
> service.scope = p
ation/json
> osgi.jaxrs.name <http://osgi.jaxrs.name/> = jaxb-json
> service.bundleid = 46
> service.id <http://service.id/> = 170
> service.ranking = -2147483648
> service.scope = prototype
> Provided by :
> Apache Aries JAX-RS JAX-RS Jackson (46)
>
S JAX-RS Jackson (46)
Used by:
Apache Aries JAX-RS Whiteboard (47)
But something is wrong...
My components are configured this way...
@Component(
service = Application.class,
property = {
"osgi.jaxrs.name=MyApp",
"osgi.jaxrs.application.base=/app",
&quo
lt;http://osgi.jaxrs.name/>=myApp",
>>>> "osgi.jaxrs.application.base=/foo"}, service = A.class)
>>>> class...
>>>> That does not work or did I misunderstood something?
>>>
>>> If you want to register an application with the w
d then you must
>>> register it as a javax.ws.rs.core.Application in the service registry.
>>> This is outlined at https://osgi.org/specification/osgi.cmpou
>>> cann/7.0.0/service.jaxrs.html#service.jaxrs.application.services
>>> <https://osgi.org/specificat
>> https://osgi.org/specification/osgi.cmpou
>> cann/7.0.0/service.jaxrs.html#service.jaxrs.application.services
>> <https://osgi.org/specification/osgi.cmpn/7.0.0/service.jaxrs.html#service.jaxrs.application.services>
>>
>>> Second how do i create ad
rs.application.services
>>
>> <https://osgi.org/specification/osgi.cmpn/7.0.0/service.jaxrs.html#service.jaxrs.application.services>
>>
>>> Second how do i create additional Servlets and how do I
>>> select them in a resource?
>>>
; <https://osgi.org/specification/osgi.cmpn/7.0.0/service.jaxrs.html#service.jaxrs.application.services>
>>
>> Second how do i create additional Servlets and how do I select them in a
>> resource?
>> E.g. A configfile/servicepid
>> org.apache.aries.jax.rs.white
>> should create an additional servlet container?
>
> I’m not sure that I totally follow here. It looks like you’re trying to
> create a configuration for another Aries JAX-RS whitboard instance - is this
> really what you want, a second JAX-RS whiteboard? The Aries
refix=/bar
> should create an additional servlet container?
>
>
> I’m not sure that I totally follow here. It looks like you’re trying to
> create a configuration for another Aries JAX-RS whitboard instance - is
> this really what you want, a second JAX-RS whiteboard? The Aries JAX-R
refix=/bar
> should create an additional servlet container?
I’m not sure that I totally follow here. It looks like you’re trying to create
a configuration for another Aries JAX-RS whitboard instance - is this really
what you want, a second JAX-RS whiteboard? The Aries JAX-RS Whiteboard is
desig
Hi JB,
yes that was my first place to start... really like the examples in the
source, they are really helpful.
ok:
Fist thing are JAXRs Applications. In OSGI7 we will use
@JaxrsName("myApp")
@JaxrsApplicationBase("foo")
@Component
class
in OSGI 6 I think we should be able to use
@Component(p
Hi Matthias,
did you take a look on the Karaf example ?
https://github.com/apache/karaf/tree/master/examples/karaf-rest-example
It contains different approaches, including whiteboard.
Can you describe a bit what you are looking for ? We can then create the
Jira at Karaf/Aries to improve example
Hello Karaf Team,
I know that this not the 100% correct mailing list for aries jax-rs.
However my question is what do you plan for further releases of Karaf? I
try to use the aries implementation but I struggle with the configuration.
Beside the incomplete documentation and the "very special" DSL
Hi Tim, Jb,
It's works,
Here the solution:
Extension
@Component(property = {"*osgi.jaxrs.extension=true*"})
@Produces(MediaType.APPLICATION_JSON)
public class RestExceptionMapper implements
ExceptionMapper {
..
..
}
Ressource
@Component(property = { "*osgi.jaxrs.resource=true*" },
serv
I note that you’re using the Component Property annotations for the extension,
but a raw property entry for the resource. If your build plugin is able to cope
with Component Property annotations then you can use the @JaxrsResource
annotation instead of a magic string. If your build plugin can’t
Hi tim,
I use JAXRS resource
My RestExceptionMapper is coded like this
@JaxrsExtension
@Component(service = RestExceptionMapper.class, name =
"RestExceptionMapper", immediate = true)
public class RestExceptionMapper implements
ExceptionMapper
My ressources
@Component(
property
>> I don't know if, the aries withboard project (1.0.4) has implemented the
>> spec?
As Aries JAX-RS Whiteboard is the reference implementation I can say with
reasonable confidence that it has implemented the specification. The issue is
that the application code you have sup
Do you have a JAXRS Application containing the ExceptionMapper or are
you using JAXRS resource ?
Regards
JB
On 02/04/2019 11:28, xav wrote:
> Hi JB,
>
> Yes I did, but it's does not work!!
> The Exception is throw in the console, and not trap to put my own http
> response.
> So ???
> I don't kno
Hi JB,
Yes I did, but it's does not work!!
The Exception is throw in the console, and not trap to put my own http
response.
So ???
I don't know if, the aries withboard project (1.0.4) has implemented the
spec?
Thx
Xav
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
2/04/2019 10:27, xav wrote:
>> Hi all,
>>
>> I use https://github.com/apache/aries-jax-rs-whiteboard on karaf to provide
>> a REST API.
>> It's works but now I try to provide an ExceptionMapper with the annotation
>> @Provider
>>
>> @Provider
&g
Hi Xavier,
As you have a RestExceptionMapper dealing with RestCommonException, you
should have:
@GET
@Path("/foo")
public String hello(String message) throws RestCommonException {
...
}
?
Regards
JB
On 02/04/2019 10:27, xav wrote:
> Hi all,
>
> I use https://github.com/
Hi all,
I use https://github.com/apache/aries-jax-rs-whiteboard on karaf to provide
a REST API.
It's works but now I try to provide an ExceptionMapper with the annotation
@Provider
@Provider
public class RestExceptionMapper implements
ExceptionMapper {
..
..
}
But unfortunatel
Hi,
This is the WIP about the Aries JAX-RS Whiteboard features:
https://github.com/apache/aries-jax-rs-whiteboard/pull/11
And here's the WIP for the JAX-RS Whiteboard Karaf example:
https://github.com/jbonofre/karaf/tree/KARAF-5901/examples/karaf-rest-example
I will finalize this tom
Hi JB,
can you please point me to the correct repositories?
I cannot find your commits.
Best regards,
Markus
No problem ;)
Regards
JB
On 03/12/2018 14:59, Christian Schneider wrote:
> Pretty cool .. sorry I missed that.
>
> Christian
>
> Am Mo., 3. Dez. 2018 um 08:33 Uhr schrieb Jean-Baptiste Onofré
> mailto:j...@nanthrax.net>>:
>
> Hi,
>
> yes, it's what I said in my previous e-mail: Karaf
Pretty cool .. sorry I missed that.
Christian
Am Mo., 3. Dez. 2018 um 08:33 Uhr schrieb Jean-Baptiste Onofré <
j...@nanthrax.net>:
> Hi,
>
> yes, it's what I said in my previous e-mail: Karaf example + features in
> Aries.
>
> Regards
> JB
>
> On 03/12/2018 08:27, Christian Schneider wrote:
> >
Hi,
yes, it's what I said in my previous e-mail: Karaf example + features in
Aries.
Regards
JB
On 03/12/2018 08:27, Christian Schneider wrote:
> Hi JB,
>
> can you add the jax-rs-whiteboard feature to the aries repo? I think it
> makes sense to have it with the jax-rs code so it can be used wit
Hi JB,
can you add the jax-rs-whiteboard feature to the aries repo? I think it
makes sense to have it with the jax-rs code so it can be used with
different karaf versions.
Christian
Am Mo., 3. Dez. 2018 um 07:39 Uhr schrieb Jean-Baptiste Onofré <
j...@nanthrax.net>:
> Hi Markus,
>
> yes I will
Hi Markus,
yes I will push the PRs (Karaf example with feature repo + Aries
features repo that will replace the one in Karaf example) later today.
Regards
JB
On 03/12/2018 06:03, Markus Rathgeb wrote:
> Hi JB,
>
> as I'm creating the Aries JAXRS feature for Karaf, I'm currently using
>
Hi JB,
as I'm creating the Aries JAXRS feature for Karaf, I'm currently using
> the one from Aries.
>
could you share your feature?
Best regards,
Markus
> as I'm creating the Aries JAXRS feature for Karaf, I'm currently using
> the one from Aries.
That's the one I used.
ive 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, the implementation was pretty easy, it certainly works
&
>
> > 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, the implementation was pretty easy, it certainly works to use
> Aries JAX-RS Whiteboard within Karaf 4.1.2. Once I wor
y 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, the implementation was pretty easy, it certainly works to use
> Aries JAX-RS Whiteboa
Ray is correct to point this out. Using the ClientBuilder service avoids the
lifecycle issues that you were seeing, and gives you a way to set up clients
using different sets of extensions and configurations.
Unfortunately the “classic” usage of the JAX-RS API with its prevalence of
static met
identical resource methods based on service ranking order
(as per the JAX-RS Whiteboard spec). This shouldn’t affect the scenario that
you propose, but it is possible that it might. Definitely worth raising a bug
with the Aries JAX-RS Whiteboard including your testcase, even if it turns out
to
> 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.
s though, as
> a result of the change from jersey to cxf.
>
> Generally, the implementation was pretty easy, it certainly works to use
> Aries JAX-RS Whiteboard within Karaf 4.1.2. Once I worked out what the
> required dependency bundles were, it was OK. Anecdotally the requests seem
&
xf.
Generally, the implementation was pretty easy, it certainly works to use Aries
JAX-RS Whiteboard within Karaf 4.1.2. Once I worked out what the required
dependency bundles were, it was OK. Anecdotally the requests seem faster than
using jersey as well, though I haven't done any testing
ebrew whiteboard service to register JAXRS endpoints.
I'm looking to replace this with a better solution, presumably based around the
OSGi JAXRS whiteboard spec. and aries-jax-rs-whiteboard
(https://github.com/apache/aries-jax-rs-whiteboard) since that now exists,
which it didn't when
;> On 22 Nov 2018, at 18:07, t...@quarendon.net wrote:
>>>
>>>> Honestly, it sounds like you’re about 30 minutes away from having the
>>>> Aries JAX-RS Whiteboard working...
>>>
>>> OK, Understand your reference to servicemix annotation earlie
t;>
>>> Honestly, it sounds like you’re about 30 minutes away from having the Aries
>>> JAX-RS Whiteboard working...
>>
>> OK, Understand your reference to servicemix annotation earlier.
>> I had to pick up the org.apache.felix.http.servlet-api-1.1.2.jar to g
give you everything that you need.
Tim
> On 22 Nov 2018, at 18:07, t...@quarendon.net wrote:
>
>> Honestly, it sounds like you’re about 30 minutes away from having the Aries
>> JAX-RS Whiteboard working...
>
> OK, Understand your reference to servicemix annotation earl
Regards
JB
On 22/11/2018 19:07, t...@quarendon.net wrote:
>> Honestly, it sounds like you’re about 30 minutes away from having the Aries
>> JAX-RS Whiteboard working...
>
> OK, Understand your reference to servicemix annotation earlier.
> I had to pick up the org.apache.fe
> Honestly, it sounds like you’re about 30 minutes away from having the Aries
> JAX-RS Whiteboard working...
OK, Understand your reference to servicemix annotation earlier.
I had to pick up the org.apache.felix.http.servlet-api-1.1.2.jar to get the
JavaServlet contract version 3.1.
I&
ndle) which seems to be only in Compendium R7 (not R6).
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 22/11/2018 17:10, Tim Ward wrote:
>>>>> that won't work out of the box as Karaf 4.2.x is still R6.
>>>>
>>>&g
hiteboard bundle) which seems to be only in Compendium R7 (not R6).
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 22/11/2018 17:10, Tim Ward wrote:
>>>>> that won't work out of the box as Karaf 4.2.x is still R6.
>>>>
&
>
>> Regards
>> JB
>>
>>
>> On 22/11/2018 17:10, Tim Ward wrote:
>>>> that won't work out of the box as Karaf 4.2.x is still R6.
>>>
>>> Aries JAX-RS Whiteboard runs quite happily on R6. Obviously the DS
>>> component
R6).
>>
>> Regards
>> JB
>>
>>
>> On 22/11/2018 17:10, Tim Ward wrote:
>>>> that won't work out of the box as Karaf 4.2.x is still R6.
>>>
>>> Aries JAX-RS Whiteboard runs quite happily on R6. Obviously the DS
>>> comp
he missing package is org.osgi.service.jaxrs.client (required by Aries
> JAXRS Whiteboard bundle) which seems to be only in Compendium R7 (not R6).
>
> Regards
> JB
>
>
> On 22/11/2018 17:10, Tim Ward wrote:
>>> that won't work out of the box as Karaf 4.2.x is still
Hi Tim,
the missing package is org.osgi.service.jaxrs.client (required by Aries
JAXRS Whiteboard bundle) which seems to be only in Compendium R7 (not R6).
Regards
JB
On 22/11/2018 17:10, Tim Ward wrote:
>> that won't work out of the box as Karaf 4.2.x is still R6.
>
> Aries
> I'll hold off for now then.
Honestly, it sounds like you’re about 30 minutes away from having the Aries
JAX-RS Whiteboard working...
> On 22 Nov 2018, at 16:14, t...@quarendon.net wrote:
>
>> that won't work out of the box as Karaf 4.2.x is still R6.
>>
&
This is the Jira tracking the Aries JAXRS Whiteboard example:
https://issues.apache.org/jira/browse/KARAF-5901
I moving to 4.2.2 and I will provide an update there.
Regards
JB
On 22/11/2018 17:19, Jean-Baptiste Onofré wrote:
> Exactly, I have the same feeling: most of the time, we just want to
Exactly, I have the same feeling: most of the time, we just want to
register a pretty simple JAXRS service as we do with blueprint:
https://github.com/apache/karaf/tree/master/examples/karaf-rest-example/karaf-rest-example-provider
However, today, using CXF (which works fine), we need to use blue
r now).
Regards
JB
On 22/11/2018 17:10, Tim Ward wrote:
>> that won't work out of the box as Karaf 4.2.x is still R6.
>
> Aries JAX-RS Whiteboard runs quite happily on R6. Obviously the DS component
> property annotations would create a DS 1.4 requirement, but the DS reference
&
> that won't work out of the box as Karaf 4.2.x is still R6.
>
> It will work with Karaf 4.3.x that will be R7.
>
> In the mean time, I'm creating a very simply rest whiteboard pattern for
> CXF.
> It doesn't use all the JAXRS whiteboard spec, but just works fine for
> most of the use cases.
OK,
t; You should then be able to get away with relatively few bundles. The JAX-RS
>> Whiteboard API, OSGi Promises + function, the Aries wrapping of the JAX-RS
>> API and the Aries JAX-RS Whiteboard implementation should be enough. This is
>> by far preferable to using CXF directly, whe
> that won't work out of the box as Karaf 4.2.x is still R6.
Aries JAX-RS Whiteboard runs quite happily on R6. Obviously the DS component
property annotations would create a DS 1.4 requirement, but the DS reference
implementation also runs on R6. Even if you aren’t able to use DS 1
OSGi Promises + function, the Aries wrapping of the JAX-RS
>> API and the Aries JAX-RS Whiteboard implementation should be enough. This is
>> by far preferable to using CXF directly, where you don’t have proper
>> resource isolation, nor do you have a nice way to apply extensions
cases.
Regards
JB
On 22/11/2018 17:00, t...@quarendon.net wrote:
>> You should then be able to get away with relatively few bundles. The JAX-RS
>> Whiteboard API, OSGi Promises + function, the Aries wrapping of the JAX-RS
>> API and the Aries JAX-RS Whiteboard implementation sho
> You should then be able to get away with relatively few bundles. The JAX-RS
> Whiteboard API, OSGi Promises + function, the Aries wrapping of the JAX-RS
> API and the Aries JAX-RS Whiteboard implementation should be enough. This is
> by far preferable to using CXF directly, whe
> Is aries-jax-rs-whiteboard compatible with karaf does any one know? Or does
> it depend on things that aren't provided, or rely on other things from later
> OSGi specs that it doesn't support? I'm finding I'm having to add in a bunch
> of bundles, and I'
based around the
OSGi JAXRS whiteboard spec. and aries-jax-rs-whiteboard
(https://github.com/apache/aries-jax-rs-whiteboard) since that now exists,
which it didn't when we started out.
Is aries-jax-rs-whiteboard compatible with karaf does any one know? Or does it
depend on things that aren&
96 matches
Mail list logo