You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Tom De Wolf (JIRA)" <ji...@apache.org> on 2017/03/17 15:33:41 UTC

[jira] [Commented] (ARIES-1666) Sharing policy is importing from requirements not included as part of the subsystem

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

Tom De Wolf commented on ARIES-1666:
------------------------------------

[~tjwatson] also 'resolved'? part of subsystem 2.1.0?

> Sharing policy is importing from requirements not included as part of the subsystem
> -----------------------------------------------------------------------------------
>
>                 Key: ARIES-1666
>                 URL: https://issues.apache.org/jira/browse/ARIES-1666
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>            Reporter: Thomas Watson
>
> When resolving a subsystem the implementation uses the Resolver service to determine the subsystem's dependencies.  For application type subsystems this causes the sharing policy to be computed according to the wires returned by the resolver.
> The subsystems implementation is doing a 'full' resolve to do this.  This includes re-resolving bundles already resolved in the system repository as part of the subsystem resolution or installation process.  As a result the resolution map used to calculate the import sharing policy contains wires for many resources that are not considered as part of the subsystem content.  But the import policy is updated with the requirements for all wires which do not get wired to a provider contained in the subsystem.
> This results in a explosion of filters in the equinox region edge which connects the subsystem region to its parent region.  This is bad for several reasons.  1) may give access to things that the subsystem should not have access to 2) will slowdown performance when the list of filters gets large.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)