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 <gr.grzy...@gmail.com> 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 <j...@nanthrax.net> 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 <gr.grzy...@gmail.com> 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 <j...@nanthrax.net>
>> 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
>> 
>> 

Reply via email to