Re: Question about @Reference Karaf Command annotation

2020-03-11 Thread Jean-Baptiste Onofre
Hi, Yes, it’s to "select" the service you want to use. I did the change because previously it wasn’t possible to select, meaning that if you had several services (with the same interface) available, it took the first one. Now, you can specify the LDIF filter to select the exact service you

Re: OSGi R7 HTTP static resources and JAXRS whiteboard issue

2020-03-11 Thread Markus Rathgeb
I don't think you need to use "replace.loopback.address.with.localhost" to solve your problem. IMHO changing the default.application.base should be enough. Am Mi., 11. März 2020 um 10:54 Uhr schrieb Maurice Betzel : > > You must set default.application.base as well. I set it to : > >

Question about @Reference Karaf Command annotation

2020-03-11 Thread Alex Soto
Is the filter attribute in annotation org.apache.karaf.shell.api.action.lifecycle.Reference used to filter the injected service on Service attributes? Best regards, Alex soto

Encrypt activemq configuration files

2020-03-11 Thread LuisLo
Hi. We cannot encrypt the activemq configuration files (karaf 4.2.4, amq 5.15.11) We would like to know how to encrypt the jms_users.properties passwords We have followed the following steps: activemq.xml ... jaasSecurity.xml

Re: Review of jackson features

2020-03-11 Thread Jean-Baptiste Onofre
Hi Steinar, My apologizes, I forgot again :/ Can you ping me using direct email or Slack, it’s probably faster. I will take a look tomorrow anyway. Sorry again, Regards JB > Le 11 mars 2020 à 17:57, Steinar Bang a écrit : > > Another ping on this. > > Possible sources for feedback to me:

Re: Review of jackson features

2020-03-11 Thread Steinar Bang
Another ping on this. Possible sources for feedback to me: direct email, email to this mailing list (or the karaf development list if that's more appropriate), PR with comments, comments on the github issues related to the branches. Major issue that I know about: I've changed the dependency

Re: OSGi R7 HTTP static resources and JAXRS whiteboard issue

2020-03-11 Thread Maurice Betzel
You must set default.application.base as well. I set it to : default.application.base=/api/rest/ and removed it from the Path annotation leaving /@Path("hero")/ CXF docs: http://cxf.apache.org/docs/jax-rs.html -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: OSGi R7 HTTP static resources and JAXRS whiteboard issue

2020-03-11 Thread Maurice Betzel
>From the CXF HttpUtils: private static final String REPLACE_LOOPBACK_PROPERTY = "replace.loopback.address.with.localhost"; Or whether CXF uses IP 0.0.0.0 or 127.0.0.1. It seems to be a setting in the HTTP context / context helper for the whiteboard, having a configuration containing

Re: OSGi R7 HTTP static resources and JAXRS whiteboard issue

2020-03-11 Thread Maurice Betzel
That seems to be the origin of my problem, i was having org.apache.aries.jax.rs.whiteboard.default.cfg: default.web=false default.application.base=/ adding replace.loopback.address.with.localhost=false did the trick. Now where can i find these settings and there meanings? CXF? -- Sent