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

Georg Henzler edited comment on FELIX-3711 at 10/13/12 12:13 PM:
-----------------------------------------------------------------

See attached a patch to make REST URLs available for the most important spots, 
please note the following:
* If "Apache Felix Web Console Service Component Runtime/Declarative Services 
Plugin" is not installed, the /system/console/components/xxx urls don't work - 
there should probably be a check if the the DS web console plugin is available
* The patch doesn't include any changes for "Apache Felix Web Console Service 
Component Runtime/Declarative Services Plugin", but it would be nice to make 
component id/name clickable there as well!

Other than that the patch is tested and works fine! 
                
      was (Author: henzlerg):
    See attached a patch to make REST URLs available for the most important 
spots, please note the following:
* The "/system/console" strings are hardcoded at the moment (but should 
probably use the config from 
http://localhost:8080/system/console/configMgr/org.apache.felix.webconsole.internal.servlet.OsgiManager
 instead)
* "component.id" and "component.name" are hardcoded - there might be constants 
for it somewhere already
* If "Apache Felix Web Console Service Component Runtime/Declarative Services 
Plugin" is not installed, the /system/console/components/xxx urls don't work - 
there should probably be a check if the the DS web console plugin is available
* The patch doesn't include any changes for "Apache Felix Web Console Service 
Component Runtime/Declarative Services Plugin", but it would be nice to make 
component id/name clickable there as well!

Other than that the patch is tested and works fine! 
                  
> 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
>
> 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

Reply via email to