[ 
https://issues.apache.org/jira/browse/FELIX-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roshan Punnoose updated FELIX-399:
----------------------------------

    Attachment: felix-obr-referral-2.patch

In my last patch. I added resources from the referral directly to the 
repository that held the referral. I believe that the referral should use the 
RepositoryAdmin to add a repository from the referral url. That way if there is 
more than one referral in the future to the same url, the 
felix-bundle-repository can use they same url and not create duplicate 
resources.

> OBR referrals
> -------------
>
>                 Key: FELIX-399
>                 URL: https://issues.apache.org/jira/browse/FELIX-399
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Roshan Punnoose
>         Attachments: felix-obr-referral-2.patch, felix-obr-referral.patch
>
>
> I noticed that Felix does not have support right now for OBR referrals. So I 
> added a patch, and I was hoping you guys could look at it and make sure it 
> makes sense. The only issue is that my code does not take into account the 
> attribute "depth", it will go through every referral and add all the 
> resources. I couldn't figure out a good way to make use of the depth 
> attribute to make it work in the framework. 

-- 
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