[ANN] Aries JAX-RS Whiteboard version 1.1.0 Released

2021-01-09 Thread Raymond Auge
fail if Java Earler Access (ea) build job fails Raymond Auge (13): - d4e36e8 add dependabot - 825b1d1 add bnd-run-maven-plugin plugin - 597168b update gogo dependency - ee74c89 [ARIES-2026] Update/unify integrations into the main build - 2f40ceb update jdks tested via github actions

[ANN] Aries Spi-Fly version 1.3.2 Released

2020-10-18 Thread Raymond Auge
The Aries team is pleased to announce the release of Aries Spi-Fly version 1.3.2 This version fixes a packaging bug with the OSGi metadata. This release is available from https://downloads.apache.org/aries/ and Maven: org.apache.aries.spifly org.apache.aries.spifly.XXX 1.3.2

problem with new release spi-fly 1.3.1

2020-10-15 Thread Raymond Auge
Hey all, Bad news. Apparently the tests we have for spi-fly are not sufficient to catch issues with some tricky aspects of OSGi metadata (even if you run it through a resolver it's not enough) and so we got hit by https://issues.apache.org/jira/browse/FELIX-6337 which breaks the

[ANN] Aries Spi-Fly version 1.3.1 Released

2020-10-15 Thread Raymond Auge
The Aries team is pleased to announce the release of Aries Spi-Fly version 1.3.1 This version fixes a few bugs as well as adding support for Java 16 by updating to ASM 9. This release is available from https://downloads.apache.org/aries/ and Maven: org.apache.aries.spifly

Re: JAX-RS Whiteboard: non accessible REST service

2020-01-10 Thread Raymond Auge
_NAME + "=" + > RESTConstants.JAX_RS_NAME + ")") > @JSONRequired > @Path("/services") > public class RESTResource { > ... > } > > I already tried to use configurations for the application component, but > did not succeed. > > > Am F

Re: Jax-RS Whiteboard and OpenAPI

2019-11-21 Thread Raymond Auge
Hey Oliver, Could you send a PR to Aries JAXRS whiteboard project? We'd love to add this as a module in the integration group. - Ray On Thu, Nov 21, 2019 at 7:47 AM Oliver Schweitzer wrote: > Hi, > > Yes, I got it to work - this class > > >

Re: SPI loader and static method issue

2019-09-18 Thread Raymond Auge
The SPi-Fly never consumes OSGi services on the SPI consumer side of the equation. It only makes OSGi services available from the provider side for non-SPI consumers (like DS, OSGiCDI, Blueprint, and so on.) - Ray On Wed, Sep 18, 2019 at 11:56 AM Cyrille Duret wrote: > OK I will stick with

Re: Aries Async Service and Timeouts

2019-01-25 Thread Raymond Auge
get the effect you want, a failure or success with a value. - Ray > > Can't have everything I guess. > > Ben > > On Fri, 25 Jan 2019, 2:58 pm Raymond Auge, > wrote: > >> I'm not sure if Aries Async uses the Promise API in a substitutable way, >> but the latest vers

Re: Aries Async Service and Timeouts

2019-01-25 Thread Raymond Auge
I'm not sure if Aries Async uses the Promise API in a substitutable way, but the latest version of the Promise API has timeout methods [1]. Perhaps Tim Ward could shed some light on this? One option is simply to try to use the lastest Promise API along with Aries Async. Sincerely, - Ray [1]

Re: Bundles waiting for JPATemplate service on Apache Karaf startup

2018-12-19 Thread Raymond Auge
I'm not sure if it's the case in Karaf, but isn't the "bundle cache" where Configuration Admin configurations are stored? I wouldn't delete the bundle cache unless you are prepared to recreate all the configurations that would be deleted each time. Note that the "bundle cache" is also a

[ANN] Aries SpiFly 1.2

2018-11-25 Thread Raymond Auge
The Apache Aries project is happy to announce the release of SpiFly 1.2 which is significant in that: - it supports the two main ServiceLoader.load methods, (used to only support load(Class) - no external dependencies are needed when deploying the OSGi bundles, bundles are standalone making

Re: Hardcoded port in fastbin provider

2018-11-15 Thread Raymond Auge
I think what is missing is some actor to load the configuration from properties file. Normally that's something like Felix Fileinstall, or perhaps more recently Felix Configurator. - Ray On Thu, Nov 15, 2018 at 9:37 AM "Jörn Schumann ( joern.schum...@hs-furtwangen.de)" wrote: > Config Admin is

Re: Conflict between aries-jax-rs-whiteboard and pax-web jetty handler

2018-09-06 Thread Raymond Auge
dynamically generated > and the generator does not know in advance which bundle should provides the > icon so it just generated something like "http://mysite.com/icons/car.png > ". > > Thai > > > > On Thu, Sep 6, 2018 at 10:05 AM, Raymond Auge > wrote: &

Re: Conflict between aries-jax-rs-whiteboard and pax-web jetty handler

2018-09-06 Thread Raymond Auge
You don't need any extra bundles to serve static resources because Aries JAX-RS whiteboard is built using Http Whiteboard which means that all you need to serve your static resources is to place them in a bundle with the following component: @Component( property= {

Re: aries-jax-rs-whiteboard filter not triggered

2018-08-29 Thread Raymond Auge
Nhut, could you provide a link to a sample repo that we could use to debug? - Ray On Wed, Aug 29, 2018 at 9:44 AM, Nhut Thai Le wrote: > Hi Carlos, > > As you can see from previous email, when listing the service provided by > the bundle, I can see my filter listed with component.id=0, I also

[ANN] SpiFly 1.0.14 released

2018-08-24 Thread Raymond Auge
The Aries team is happy to announce the release of SpiFly 1.0.14. The major feature of this release is the addition of a Framework Extension [1] bundle which, due to enhancements in R7 framework that allow for dynamic installation and resolution of system bundle fragments, solves the start

Re: JAX-RS Whiteboard and Swagger

2018-08-16 Thread Raymond Auge
Carlos and I discussed this a long time ago. It's something I would like to support. But we didn't make any progress on it and I'm not aware of any other efforts to do it. I'd love to see something like this, but honestly my preference would for OpenAPI rather than Swagger. - Ray On Thu, Aug

Re: What happened to Aries JaxRS Whiteboard jsonb component before 1.0.0 release?

2018-07-05 Thread Raymond Auge
rs it may be best to keep that code in Aries. We'll see. > In any case we'll need better documentation and sample projects. > For certain! Sincerely, - Ray > > Toni > > On Thu, Jul 5, 2018 at 3:19 AM, Raymond Auge > wrote: > >> The goal was simply to reduce t

Re: What happened to Aries JaxRS Whiteboard jsonb component before 1.0.0 release?

2018-07-04 Thread Raymond Auge
The goal was simply to reduce the number of moving parts for the first release to satisfy the RI requirements. Now that it's out we can proceed with additional features which weren't required by the spec, such as a good JSONP & JSONB support. The steps I'd personally like to see will require

Re: Service Loader Mediator (spifly)

2018-05-21 Thread Raymond Auge
ntainer can use ServiceLoader (or whatever else it wants) and > you can use OSGi services when in OSGi… > > Tim > > On 18 May 2018, at 21:41, Raymond Auge <raymond.a...@liferay.com> wrote: > > > > On Thu, May 17, 2018 at 10:52 AM, David Bosschaert < > david.bossc

Re: Service Loader Mediator (spifly)

2018-05-18 Thread Raymond Auge
ld be possible to enhance SPI Fly so that it > can act on existing bundles by refreshing them. Would this make sense for > this use-case? > I believe this is the approach I would prefer. - Ray > > Best regards, > > David > > On 17 May 2018 at 15:53, Raymond Auge <raymond.a..

Re: Service Loader Mediator (spifly)

2018-05-17 Thread Raymond Auge
in others, which is why I wasn't sure. Sincerely, - Ray > > cheers > Pierre > > On Thu, May 17, 2018 at 12:42 PM, Raymond Auge <raymond.a...@liferay.com> > wrote: > >> Ok, that's all I needed to hear. I'll file a bug report and try to make a >> test case. &g

Re: Service Loader Mediator (spifly)

2018-05-17 Thread Raymond Auge
uld it be possible to file a bug? > > Best regards, > > David > > On 16 May 2018 at 18:38, Raymond Auge <raymond.a...@liferay.com> wrote: > >> Is the Service Loader Mediator known to be constrained by start ordering? >> >> In other words, I'm finding

Service Loader Mediator (spifly)

2018-05-16 Thread Raymond Auge
Is the Service Loader Mediator known to be constrained by start ordering? In other words, I'm finding that spifly is having issues when not "started" before other bundles that specify the requirements and or capabilities on osgi.serviceloader. -- *Raymond Augé*

Component DSL

2016-11-24 Thread Raymond Auge
Hello All, My very shy colleague Carlos has just added a very nice new project in Aries here [1] called "component-dsl" It's a functional DSL for OSGi. - Ray [1] http://svn.apache.org/repos/asf/aries/trunk/component-dsl/

Re: Implementation of RFC-193 CDI

2016-11-23 Thread Raymond Auge
actually, I have to correct myself because after a little more consideration, it seems that @ApplicationScoped and @Singleton map quite literally to osgi's "bundle scope" and "singleton scope" respectively. - Ray On Wed, Nov 23, 2016 at 1:48 PM, Raymond Auge <raymond.

Re: Implementation of RFC-193 CDI

2016-11-23 Thread Raymond Auge
Ray On Wed, Nov 23, 2016 at 12:48 PM, Guillaume Nodet <gno...@apache.org> wrote: > > > 2016-11-23 18:40 GMT+01:00 Raymond Auge <raymond.a...@liferay.com>: > >> >> >> On Wed, Nov 23, 2016 at 12:34 PM, Guillaume Nodet <gno...@apache.org> &g

Re: Implementation of RFC-193 CDI

2016-11-23 Thread Raymond Auge
One more thing, Guillaume, you have much much much more knowledge of CDI than I. There is no debate there. So let's just put that out there to start so that no one get's confused about it. - Ray On Wed, Nov 23, 2016 at 12:40 PM, Raymond Auge <raymond.a...@liferay.com> wrote: > > &

Re: Implementation of RFC-193 CDI

2016-11-23 Thread Raymond Auge
Actually, we have a perfect solution in OSGi for the scenario of intermittent scopes like web requests, session scope, etc. That is prototype scope! This is already suggested by the requirements and works very well with the scoped bean concept. You need a Provider for those beans and an OSGi

Re: Implementation of RFC-193 CDI

2016-11-23 Thread Raymond Auge
y at eclipsecon 2015 :-) > > Christian > > > On 23.11.2016 16:33, Raymond Auge wrote: > > Hello All, > > I've been working through implementing RFC-193 [1] and have a relatively > decent initial cut with most major details already sorted out. > > I'm wonderi

Re: [spi-fly] using pure wiring API

2016-08-15 Thread Raymond Auge
, 2016 at 3:42 AM, David Bosschaert < david.bosscha...@gmail.com> wrote: > Hi Ray, > > This sounds like a bug to me... Could you please file a JIRA with a small > test case? > > Cheers, > > David > > On 12 August 2016 at 19:15, Raymond Auge <raymond

[spi-fly] using pure wiring API

2016-08-12 Thread Raymond Auge
Hey guys, It would appear that spi-fly is not purely using the osgi wiring's view of requirements and capabilities as opt-in. i.e. if I augment at runtime the bundles I want to enhance with spi-fly with the proper capabilities it doesn't work. However, if I attach a fragment to the bundle which

Re: CDI+DS extension

2016-07-12 Thread Raymond Auge
immediately, or knows how to deal with the dynamics. - Ray On Tue, Jul 12, 2016 at 1:07 PM, Raymond Auge <raymond.a...@liferay.com> wrote: > > > On Tue, Jul 12, 2016 at 12:54 PM, Brad Johnson < > brad.john...@mediadriver.com> wrote: > >> Raymond, >> &g

Re: CDI+DS extension

2016-07-12 Thread Raymond Auge
omers, we have transactions, we have AOP, we have tones of proxies, we pretty much have the entire Java EE stack to support. But I simply will not subject them to the pain of service damping! - Ray Insights are always welcome. > > Brad > > On Tue, Jul 12, 2016 at 11:43 AM,

Re: blueprint:cm multiple bundle but same config file

2016-07-07 Thread Raymond Auge
ion knows about. Is > that really instructions to create a new configuration and populate it with > data (what a management agent does)? > > david jencks > > On Jul 7, 2016, at 8:19 AM, Raymond Auge <raymond.a...@liferay.com> wrote: > > David, I agree with everything you've sa

Re: blueprint:cm multiple bundle but same config file

2016-07-07 Thread Raymond Auge
ough blueprint > binds the PID to the first bundle using it > > > best > Pablo > > > On 07/07/2016 4:41 PM, Raymond Auge wrote: > > As long as configurations are not bound to a bundle they can be used by > any bundle. > > The exception clearly shows that the confi

Re: blueprint:cm multiple bundle but same config file

2016-07-07 Thread Raymond Auge
; > When you say bound to the bundle do you mean that it physically resides in > the jar/bundle or do you mean bound via the blueprint properties > persistent-id? > > Brad > > On Thu, Jul 7, 2016 at 9:41 AM, Raymond Auge <raymond.a...@liferay.com> > wrote: > >>

Re: blueprint:cm multiple bundle but same config file

2016-07-07 Thread Raymond Auge
As long as configurations are not bound to a bundle they can be used by any bundle. The exception clearly shows that the configuration is bound to a bundle. Creating an unbound configuration requires passing a "?" as the second arguments to getConfiguration/createFactoryConfiguration methods of

Re: JAX-RS RI for OSGi RFC-217

2016-05-12 Thread Raymond Auge
e could implement the new spec using Aries RSA. > > If you prefer to create a separate project for the spec then I would not > block this but I think it makes sense to consider simply adding this in > Aries RSA. > > Christian > > 2016-05-12 21:32 GMT+02:00 Raymond Auge &l

Re: JAX-RS RI for OSGi RFC-217

2016-05-12 Thread Raymond Auge
tional provider for Aries RSA. It should not be difficult to extend >> your code to make it a RSA provider. >> >> Christian >> >> 2016-05-12 18:09 GMT+02:00 Raymond Auge <raymond.a...@liferay.com>: >> >>> Oh, here is a link to the current implem

JAX-RS RI for OSGi RFC-217

2016-05-12 Thread Raymond Auge
Hello all, Some of you may be aware of the R7 work toward a spec for JAX-RS Whitaboard [1]. There's some interest in developing an RI based on some open source work by Liferay starting from it's existing JAX-RS whiteboard implementation (which is already relatively close to the current RFC). The