Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
Thanks JBO! I'll play with Karaf 4.4 + Pax Web 8 soon. regards Grzegorz Grzybek pon., 11 paź 2021 o 17:04 Jean-Baptiste Onofré napisał(a): > Hi guys, > > A quick update about this: > > - main branch has been updated to version 4.4.0-SNAPSHOT, R8 > spec/framework and single spec bundle are now used > - karaf-4.3.x branch has been created > > Both are built on Jenkins. > > Regards > JB > > On 21/09/2021 08:44, 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 > > >
Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
Hi guys, A quick update about this: - main branch has been updated to version 4.4.0-SNAPSHOT, R8 spec/framework and single spec bundle are now used - karaf-4.3.x branch has been created Both are built on Jenkins. Regards JB On 21/09/2021 08:44, 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
Re: 回复:Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
Hi Ken, it's something we discussed during a recent call in the Eclipse OSGi Specification group. cmpn won't be maintained anymore. Bascially cmpn (formerly compendium) was an "uber" bundle gathering bunch of spec: configadmin, eventadmin, etc. Now, the OSGi Specification group recommendation is to *not* use cmpn but the individual spec bundle instead, aka org.osgi.service.cm, org.osgi.service.log, org.osgi.service.event, etc Karaf 4.4.x now provides all versions in the BoM. Regards JB On 24/09/2021 06:52, ken longnan wrote: Hi JB, I am very interested to know what is single spec bundles instead of cmpn, do you have more detailed introduction for that? Thanks & Br, Ken 发自 Android 版 Yahoo 邮箱 2021 年 9 月 24 日周五上午 12:41,Jean-Baptiste Onofré 写道: Hi guys, Just to let you know that, we now have: - karaf-4.3.x branch (https://github.com/apache/karaf/tree/karaf-4.3.x) - main branch has been upgraded to 4.4.0-SNAPSHOT with OSGi R8 and single spec bundles instead of cmpn (https://github.com/apache/karaf/tree/main) I'm triggering a new build on Jenkins to be sure all is OK. I will move forward on other updates. Regards JB On 21/09/2021 08:44, 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
回复:Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
Hi JB, I am very interested to know what is single spec bundles instead of cmpn, do you have more detailed introduction for that? Thanks & Br, Ken 发自 Android 版 Yahoo 邮箱 2021 年 9 月 24 日周五上午 12:41,Jean-Baptiste Onofré 写道: Hi guys, Just to let you know that, we now have: - karaf-4.3.x branch (https://github.com/apache/karaf/tree/karaf-4.3.x) - main branch has been upgraded to 4.4.0-SNAPSHOT with OSGi R8 and single spec bundles instead of cmpn (https://github.com/apache/karaf/tree/main) I'm triggering a new build on Jenkins to be sure all is OK. I will move forward on other updates. Regards JB On 21/09/2021 08:44, 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 >
Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
Hi guys, Just to let you know that, we now have: - karaf-4.3.x branch (https://github.com/apache/karaf/tree/karaf-4.3.x) - main branch has been upgraded to 4.4.0-SNAPSHOT with OSGi R8 and single spec bundles instead of cmpn (https://github.com/apache/karaf/tree/main) I'm triggering a new build on Jenkins to be sure all is OK. I will move forward on other updates. Regards JB On 21/09/2021 08:44, 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
Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
Hi guys, quick update about that: I detected an issue in feature.core service (due to the use of atomatic spec bundles instead of cmpn). I'm fixing that and I will push on gitbox. Regards JB On 21/09/2021 08:44, 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
Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
> Jean-Baptiste Onofre : > 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 ? LGTM! (ie. "Looks Good To Me!") :-)
Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
+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
Re: Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
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
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
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
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
Main updated to 4.4.0-SNAPSHOT and karaf-4.3.x branch
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