felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Henzler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3711) Make more REST Urls available in UI (component id/name and service pid is often not clickable)
Date Mon, 22 Oct 2012 08:02:11 GMT

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

Georg Henzler commented on FELIX-3711:

Ok, let's go down the original path then. I'm happy enough if we get the PermaLinks in the
UI :)

So my patchv2 should pretty much do the work (apart from the JSON refactoring). Also it would
be great if we could include the Rest URLs for the components/configurations as provided in
the patch. 

One thing that was missing in the patch: To find out if the plugin org.apache.felix.webconsole.plugins.ds
is installed, we could just get the the services references for org.apache.felix.webconsole.ConfigurationPrinter
and check for getBundle().getSymbolicName(). This should be fairly save and not cause the
problem you mentioned ("Checking for a plugin's existince from another plugin...  which is
error-prone should the plugin be refactored.") The symbolic name of the "org.apache.felix.webconsole.plugins.ds"
shouldn't change that often? 
> 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, org.apache.felix.webconsole.patch-make-rest-url-default-for-bundles.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

View raw message