[
https://issues.apache.org/jira/browse/FELIX-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476047#comment-13476047
]
Felix Meschberger commented on FELIX-3711:
------------------------------------------
I understand your request, but I think the solution is not appropriate:
* Checking for a plugin's existince from another plugin (or the core by that
matter) introduces a nasty back-coupling which is error-prone should the plugin
be refactored.
* Linking to other plugins is problematic (and we only very reluctantly did it
until now).
I think the BundleInfo approach sketched by FELIX-3140 is supperior (and should
be generalized/extended to also cover other areas like:
* bundles linking to services and components
* components linking to their configuration
* components linking to services
* services linking to components
Finally, while I agree, that it would be helpful to have links to "self" other
than by bundle ID, I think such links are a presentation task better done in
the respective JavaScript file (e.g. bundles.js for the bundles list) and not
the JSON generation. I'd prefer to have the JSONs HTML-free and just provide
the raw data.
> Make more REST Urls available in UI (component id/name and service pid is
> often not clickable)
> ----------------------------------------------------------------------------------------------
>
> Key: FELIX-3711
> URL: https://issues.apache.org/jira/browse/FELIX-3711
> Project: Felix
> Issue Type: New Feature
> Components: Web Console
> Affects Versions: webconsole-4.0.0
> Reporter: Georg Henzler
> Attachments: org.apache.felix.webconsole.patch-for-FELIX-3711-v2.patch
>
>
> Many REST urls already work if created manually, but are not yet available as
> links in the UI:
> http://localhost:8080/system/console/bundles/org.apache.felix.webconsole
> http://localhost:8080/system/console/bundles/org.apache.felix.webconsole:4.0.1.SNAPSHOT
> http://localhost:8080/system/console/configMgr/org.apache.felix.webconsole.plugins.event.internal.PluginServlet
> http://localhost:8080/system/console/components/com.test.scr.ClassB
> It would be easy to put the appropriate link behind the property values in
> bundles/configuration/services detail views.
> I use the REST Urls a lot as they are really valuable in email/instant
> messenger/JIRA/WIKI to bring people with one click to the desired location,
> therefore it would be nice to not have to construct them manually.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira