Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch

2021-09-21 Thread Matt Pavlovich
+1  looking forward to all the pax-web 8 goodies =)

> On Sep 21, 2021, at 1:44 AM, Jean-Baptiste Onofre  wrote:
> 
> Hi guys,
> 
> I have almost finished the main branch update with:
> 
> - OSGi R8 (Felix Framework 7.0.1)
> - remove of OSGi cmpn and use of single spec bundle now (recommended now)
> - update to Pax Web 8.0.0
> 
> You can take a look on the working branch here:
> 
> https://github.com/jbonofre/karaf/tree/K44
> 
> I’m running several builds now to verify all tests are OK, etc.
> 
> If there’s no objection, I would like to push:
> 
> - create karaf-4.3.x branch with the current main HEAD
> - update main branch with K44 branch
> 
> Thoughts ?
> 
> Thanks
> Regards
> JB



[ANN] Apache Karaf Decanter 2.8.0 has been released!

2021-09-21 Thread Jean-Baptiste Onofre
The Apache Karaf team is pleased to announce Apache Karaf Decanter 2.8.0 
release.

 This release contains bug fixes, dependencies upgrade, and new features, 
especially:

- fix on InfluxDB appender startup
- improvements on the Prometheus appender
- warning message when the socket collector bounded stream is larger
- be able to define topic name in all collectors
- bunch of collector/appender dependency updates

You can take a look on Release Notes for details:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12349716

The release and installation instructions are available on Apache Karaf website:
http://karaf.apache.org/download.html

Enjoy!
Apache Karaf team

Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch

2021-09-21 Thread Jean-Baptiste Onofre
Yeah, we already discussed about this and it makes sense.

So, let me update main and then we can work directly on main for Pax Web 8.0.0 
compliant commands.

Regards
JB

> Le 21 sept. 2021 à 09:05, Grzegorz Grzybek  a écrit :
> 
> Hi
> 
> Visibility has changed slightly, but the main problem is that:
> 
>   - http:* commands relied on stored "initial servlet events" which IMO is
>   bad pattern - first, http:* commands (in Karaf with Pax Web 7) could
>   investigate servlets only. But also it's better to check the current state
>   of Pax Web runtime directly (in kind of HttpServiceRuntime DTO way) instead
>   of relying on past events.
>   - web:* commands relied on weird WarManager interface/service from Pax
>   Web 7, which only exposed bundle IDs of web bundles - it doesn't give any
>   insight into the WAB's content and also we couldn't observe contexts
>   (context paths) created by Whiteboard and HttpService - like "/" context to
>   which CXF registers it's /cxf servlet for example
> 
> The above problems are easily fixable in Pax Web 8, just give me some time
> ;)
> 
> regards
> Grzegorz Grzybek
> 
> wt., 21 wrz 2021 o 08:52 Jean-Baptiste Onofre  napisał(a):
> 
>> Hi
>> 
>> I have couple of issue with SPI visibility as some packages/classes are
>> not « public » anymore (I’m thinking about WebEvent).
>> 
>> It’s especially true in the Karaf http commands, so, this should be
>> updated.
>> 
>> Anyway, I propose to push main with 4.4.0-SNAPSHOT with Pax Web 7.3.x and
>> update to Pax Web 8.0.0 directly on main.
>> 
>> Regards
>> JB
>> 
>>> Le 21 sept. 2021 à 08:50, Grzegorz Grzybek  a
>> écrit :
>>> 
>>> Thanks JBO!
>>> 
>>> I'll have a look at Pax Web 8 integration with Karaf - generally it
>> works,
>>> but I want something "special" here.
>>> Pax Web 8 (historically) re-exports org.osgi.service.http.* packages -
>> I'll
>>> think about moving the HttpService/Whiteboard APIs to external
>>> org.osgi/org.osgi.service.http bundle, but I have no clear opinion yet.
>>> 
>>> regards
>>> Grzegorz Grzybek
>>> 
>>> wt., 21 wrz 2021 o 08:44 Jean-Baptiste Onofre 
>> napisał(a):
>>> 
 Hi guys,
 
 I have almost finished the main branch update with:
 
 - OSGi R8 (Felix Framework 7.0.1)
 - remove of OSGi cmpn and use of single spec bundle now (recommended
>> now)
 - update to Pax Web 8.0.0
 
 You can take a look on the working branch here:
 
 https://github.com/jbonofre/karaf/tree/K44
 
 I’m running several builds now to verify all tests are OK, etc.
 
 If there’s no objection, I would like to push:
 
 - create karaf-4.3.x branch with the current main HEAD
 - update main branch with K44 branch
 
 Thoughts ?
 
 Thanks
 Regards
 JB
>> 
>> 



Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch

2021-09-21 Thread Grzegorz Grzybek
Hi

Visibility has changed slightly, but the main problem is that:

   - http:* commands relied on stored "initial servlet events" which IMO is
   bad pattern - first, http:* commands (in Karaf with Pax Web 7) could
   investigate servlets only. But also it's better to check the current state
   of Pax Web runtime directly (in kind of HttpServiceRuntime DTO way) instead
   of relying on past events.
   - web:* commands relied on weird WarManager interface/service from Pax
   Web 7, which only exposed bundle IDs of web bundles - it doesn't give any
   insight into the WAB's content and also we couldn't observe contexts
   (context paths) created by Whiteboard and HttpService - like "/" context to
   which CXF registers it's /cxf servlet for example

The above problems are easily fixable in Pax Web 8, just give me some time
;)

regards
Grzegorz Grzybek

wt., 21 wrz 2021 o 08:52 Jean-Baptiste Onofre  napisał(a):

> Hi
>
> I have couple of issue with SPI visibility as some packages/classes are
> not « public » anymore (I’m thinking about WebEvent).
>
> It’s especially true in the Karaf http commands, so, this should be
> updated.
>
> Anyway, I propose to push main with 4.4.0-SNAPSHOT with Pax Web 7.3.x and
> update to Pax Web 8.0.0 directly on main.
>
> Regards
> JB
>
> > Le 21 sept. 2021 à 08:50, Grzegorz Grzybek  a
> écrit :
> >
> > Thanks JBO!
> >
> > I'll have a look at Pax Web 8 integration with Karaf - generally it
> works,
> > but I want something "special" here.
> > Pax Web 8 (historically) re-exports org.osgi.service.http.* packages -
> I'll
> > think about moving the HttpService/Whiteboard APIs to external
> > org.osgi/org.osgi.service.http bundle, but I have no clear opinion yet.
> >
> > regards
> > Grzegorz Grzybek
> >
> > wt., 21 wrz 2021 o 08:44 Jean-Baptiste Onofre 
> napisał(a):
> >
> >> Hi guys,
> >>
> >> I have almost finished the main branch update with:
> >>
> >> - OSGi R8 (Felix Framework 7.0.1)
> >> - remove of OSGi cmpn and use of single spec bundle now (recommended
> now)
> >> - update to Pax Web 8.0.0
> >>
> >> You can take a look on the working branch here:
> >>
> >> https://github.com/jbonofre/karaf/tree/K44
> >>
> >> I’m running several builds now to verify all tests are OK, etc.
> >>
> >> If there’s no objection, I would like to push:
> >>
> >> - create karaf-4.3.x branch with the current main HEAD
> >> - update main branch with K44 branch
> >>
> >> Thoughts ?
> >>
> >> Thanks
> >> Regards
> >> JB
>
>