Re: [osgi-dev] Reference not injected to component

2018-08-07 Thread Nhut Thai Le via osgi-dev
Thanks Tim, I overlooked this one will try it out. Thai On Tue, Aug 7, 2018 at 12:56 PM, Tim Ward wrote: > According to the documentation KeyCloak can be provided as a Servlet > Filter, which would avoid the need for a web.xml/WAB. https://www. >

[osgi-dev] How to set up logging in OSGi

2018-08-07 Thread Christian Schneider via osgi-dev
I just finished a small article and example for how to setup logging in OSGi using the new Apache Felix logback bundle. Article http://blog.liquid-reality.de/2018/08/07/logging-osgi.html Example https://github.com/cschneider/osgi-ds-hello-world Apache Felix logback

Re: [osgi-dev] Angular New Enroute

2018-08-07 Thread Matthews, Kevin via osgi-dev
Hi David, I am going to try what Joao suggested with ng maven plugin. I think that direction should work. From: David Leangen [mailto:o...@leangen.net] Sent: Friday, August 03, 2018 7:42 PM To: Matthews, Kevin; OSGi Developer Mail List Subject: Re: [osgi-dev] Angular New Enroute Hi, Angular

Re: [osgi-dev] Angular New Enroute

2018-08-07 Thread Matthews, Kevin via osgi-dev
Thanks Joao, this helps the maven plugin. I will use REST as endpoint for communication layer between angular and server side as shown in the sample enroute project. From: João Assunção [mailto:joao.assun...@exploitsys.com] Sent: Monday, August 06, 2018 12:12 PM To: OSGi Developer Mail List Cc:

Re: [osgi-dev] Liferay Portlet created with BndTools and Gradle not outputting the right package versioning when building the JAR file

2018-08-07 Thread Raymond Auge via osgi-dev
Forgive me for misspelling your name Ramazan. Sincerely, - Ray On Tue, Aug 7, 2018 at 9:01 AM, Raymond Auge wrote: > Hello Raman, > > Since many of the aspects could be related to Liferay specifics, you may > have better luck asking on the Liferay forums here [1] or even on the > Liferay

Re: [osgi-dev] Reference not injected to component

2018-08-07 Thread Tim Ward via osgi-dev
Hi, I’m afraid that if you’re using a WAB file then you absolutely can’t use DS, and vice versa. The Web Application Bundle specification exists as a mechanism to allow people to move from a non-OSGi world into OSGi, and there are a number of restrictions as a result. The one that you’re

Re: [osgi-dev] Reference not injected to component

2018-08-07 Thread Nhut Thai Le via osgi-dev
Thanks Tim, I'll stick with the WAB for now and use the BundleContext to get my service since I need to config some security filter on the web.xml. Thai On Tue, Aug 7, 2018 at 4:15 AM, Tim Ward wrote: > Hi, > > I’m afraid that if you’re using a WAB file then you absolutely can’t use > DS, and

Re: [osgi-dev] Reference not injected to component

2018-08-07 Thread Tim Ward via osgi-dev
You are aware that Servlet Filters are also supported by the whiteboard? See https://osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html#d0e121055 Just to reiterate my warning, continuing to

Re: [osgi-dev] Enabling debug of SCR with Equinox

2018-08-07 Thread Raymond Auge via osgi-dev
Here's a few additional comments to Critiano's suggestion: On Mon, Aug 6, 2018 at 8:38 PM, Cristiano via osgi-dev < osgi-dev@mail.osgi.org> wrote: > hi, > > if you are using the latest equinox, one good alternative is to use the > recently released org.apache.felix.logback. > You can even use

Re: [osgi-dev] Enabling debug of SCR with Equinox

2018-08-07 Thread Alain Picard via osgi-dev
Thanks Ray and Cristiano. will try that shortly. Alain On Tue, Aug 7, 2018 at 9:24 AM Raymond Auge via osgi-dev < osgi-dev@mail.osgi.org> wrote: > Here's a few additional comments to Critiano's suggestion: > > > On Mon, Aug 6, 2018 at 8:38 PM, Cristiano via osgi-dev < > osgi-dev@mail.osgi.org>

Re: [osgi-dev] Reference not injected to component

2018-08-07 Thread Nhut Thai Le via osgi-dev
Thanks Tim, My bad not explaining the situation well, it's actually not the filter itself but rather what the filter uses that prevent me from using whiteboard . My servlet filter is using some attributes on the request set by keycloak authenticator: public void doFilter(final ServletRequest

Re: [osgi-dev] Reference not injected to component

2018-08-07 Thread Tim Ward via osgi-dev
According to the documentation KeyCloak can be provided as a Servlet Filter, which would avoid the need for a web.xml/WAB. https://www.keycloak.org/docs/2.5/securing_apps/topics/oidc/java/servlet-filter-adapter.html#_servlet_filter_adapter Best Regards, Tim Sent from my iPhone > On 7 Aug