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

Richard S. Hall commented on FELIX-2106:
----------------------------------------

The main issue with the former is that means that the lifetime of the 
repositories is not the same as the lifetime of the resolver object. This is 
not a big deal, necessarily, but we just need to define what it means when 
these change.

For example, if they change during a resolve operation are they ignored? What 
happens if they are changed after a resolve, does that invalidate the result? 
Not too big of a deal, but we just need to define it.

> Resolver scoped Repository
> --------------------------
>
>                 Key: FELIX-2106
>                 URL: https://issues.apache.org/jira/browse/FELIX-2106
>             Project: Felix
>          Issue Type: Improvement
>          Components: Bundle Repository (OBR)
>            Reporter: Alasdair Nottingham
>
> I'm a committer on the apache aries podling and I have been involved
> in creating an application resolver that makes use of OBR to resolve
> dependencies. In our model we resolve applications against configure
> OBR repositories, and against a private repository that exists just
> for that application.
> From what I can tell when you add a repository to RepositoryAdmin it
> has a global effect which means that any other calls to resolve will
> use the repository. This means my private repository isn't necessarily
> private. I currently remove it again after resolving and synchronise
> so I only resolve one application at a time, but any other
> RepositoryAdmin client will be exposed to my externals.
> I am raising this JIRA to get an enhancement to the Resolver interface to
> add an addRepository method so I can add a repository that is only
> used by that Resolver instance and isn't global.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to