You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (Jira)" <ji...@apache.org> on 2021/01/20 23:03:00 UTC

[jira] [Commented] (FELIX-6282) Felix Connect R7 support

    [ https://issues.apache.org/jira/browse/FELIX-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268909#comment-17268909 ] 

Pierre De Rop commented on FELIX-6282:
--------------------------------------

Hello Karl,

I'm getting back to this old issue (I was busy so far).

So, I have committed the patch last Jun (and I actually don't need the other fix from  FELIX-6284). Then I think we are now ready to go for a release.

So, are you fine if I do it now ? I will use version *0.2.2*, is it ok ?

however, there is one remaining question: it's easy to integrate OSGi R8 API,  so may I do it before doing the release ? To add support for R8, we only need to do the following:
 * the org.osgi:osgi.core:8.0.0 can just be included in the felix connect jar
 * the ServiceReference.adapt() method must be implemented.
 * the pom.xml has to be updated to use java8 (because the org.osgi:osgi.core:8.0.0 jar is requiring java 8)
 * finally, the Copyright year should be updated in the LICENSE file

So, are you ok if I add support for OSGI R8 before doing the release ?

PS: please let me know in case you prefer to do the release yourself ?

thanks.

 

> Felix Connect R7 support
> ------------------------
>
>                 Key: FELIX-6282
>                 URL: https://issues.apache.org/jira/browse/FELIX-6282
>             Project: Felix
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: connect-0.2.0
>            Reporter: Pierre De Rop
>            Assignee: Pierre De Rop
>            Priority: Major
>
> The Felix Connect library seems to be almost ready for OSGi R7 support.
> At least, modifying the project's pom in order to depend on org.osgi:osgi.core:7.0.0 allows to use recent declarative service, configadmin, metatype, etc ...
> There is one minor issue: the support for FrameworkWiringDTO is missing (even if it's not really useful in the context of felix connect): in the following code, the adapt method returns null:
> {code:java}
> Bundle system = _ctx.getBundle(0);
> FrameworkWiringDTO wiring = system.adapt(FrameworkWiringDTO.class);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)