You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2011/03/18 14:13:29 UTC

[jira] Created: (FELIX-2885) The config admin bundle does not indicate its provided and required services dependencies

The config admin bundle does not indicate its provided and required services dependencies
-----------------------------------------------------------------------------------------

                 Key: FELIX-2885
                 URL: https://issues.apache.org/jira/browse/FELIX-2885
             Project: Felix
          Issue Type: Bug
          Components: Configuration Admin
            Reporter: Guillaume Nodet
            Assignee: Guillaume Nodet
            Priority: Minor
             Fix For: configadmin-1.2.10




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-2885) The config admin bundle does not indicate its provided and required services dependencies

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009945#comment-13009945 ] 

Felix Meschberger commented on FELIX-2885:
------------------------------------------

What is the problem here ? Thanks.

Background: We added the obr.xml file for the bundle plugin to be able to update the OBR with the required information without polluting the bundle manifest with deprecated headers....

> The config admin bundle does not indicate its provided and required services dependencies
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2885
>                 URL: https://issues.apache.org/jira/browse/FELIX-2885
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: configadmin-1.2.10
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-2885) The config admin bundle does not indicate its provided and required services dependencies

Posted by "Felix Meschberger (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated FELIX-2885:
-------------------------------------

    Fix Version/s:     (was: configadmin-1.2.10)
                   configadmin-1.4.0
    
> The config admin bundle does not indicate its provided and required services dependencies
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2885
>                 URL: https://issues.apache.org/jira/browse/FELIX-2885
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: configadmin-1.4.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (FELIX-2885) The config admin bundle does not indicate its provided and required services dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-2885.
------------------------------------

    Resolution: Fixed

> The config admin bundle does not indicate its provided and required services dependencies
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2885
>                 URL: https://issues.apache.org/jira/browse/FELIX-2885
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: configadmin-1.2.10
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-2885) The config admin bundle does not indicate its provided and required services dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010076#comment-13010076 ] 

Guillaume Nodet commented on FELIX-2885:
----------------------------------------

So the overall idea is to have the bundle being self-described in terms of capabilities and requirements.  The manifest already contains all of the information at the module layer level (package imports, required bundles, etc...), but is missing the service level.   Tools such as OBR are able to recreate the OBR Resource based on the manifest (see the createResource methods on http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/DataModelHelper.java?view=markup), and that's what is actually used by the maven bundle plugin when generating the obr xml description.

About those headers, I think the manifest is in 90% of the bundles quite unreadable for humans, mostly due to the use constraints which can generate very long headers, I'm not really convinced that adding this addition information will make it less usable.   In that case, I've made sure to generate the exact same information in the obr xml, but we could trim it down a bit by not adding the service.description and other fields.   On the fact that those headers are deprecated, I that's really a problem, I can change the header names, but I don't think the names are a real problem here, are they ?

Anyway, my use case is to use OBR to compute a transitive closure of the dependencies for a given bundle, but I don't necessarily have an real xml obr describing all the bundles.  Most of the time, bundles are self-describing, but the ConfigAdmin isn't.

> The config admin bundle does not indicate its provided and required services dependencies
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2885
>                 URL: https://issues.apache.org/jira/browse/FELIX-2885
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: configadmin-1.2.10
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira