[
https://issues.apache.org/jira/browse/ARIES-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857330#action_12857330
]
Lin Sun commented on ARIES-283:
-------------------------------
Hi
Thanks much for the feedback. I 've looked at your newly committed code. I
have to admit that I am not so familiar with felix bundle repo as you do and
the APIs could have caused some confusion to me as the APIs evolves quickly
between releases.
I have some questions/comments -
1. In the ObrResourceResolver.find method, I didn't quite understand how the
resource is going to be find, when loc is null. Assuming discoverResources
works well(which I cannot get it work using the bundlerepo 1.4.3), which
repositories are used by the RepositoryAdmin to discover the resource? I was
under the impression (which is probably wrong) that we need to add the
repository first then find/discover resource.
2. Thanks for the pointer of the new DataModelHelper, I think it would be very
useful
3. I didn't think I understand the subsystemContent and subsystemResource well.
In the ObrResourceResolver.resolve method, why is subsystemResource got added
the repository for admin.resolver in line 135. And why do we only resolve
subsystemContent but not subsystemResource? Why do we have the separation of
subsystemContent and subsystemResource, i.e. can resource also be content?
4. Do we allow subsystemContent to be a verion range, like
content1;version="[1.0, 2.0]" and let the find method resolve the best match?
This was supported in the application so I think it would be good to support
too.
Thanks
Lin
> Provide an implementation of ResourceResolver that can find/resolve resources
> in local .m2 repo or any other specified repo
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: ARIES-283
> URL: https://issues.apache.org/jira/browse/ARIES-283
> Project: Aries
> Issue Type: Improvement
> Components: Subsystem
> Affects Versions: Incubation
> Reporter: Lin Sun
> Assignee: Lin Sun
> Fix For: Incubation
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira