You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/12/10 11:38:01 UTC

[jira] [Created] (FELIX-5761) Expose service information by type (and not only by id)

Konrad Windszus created FELIX-5761:
--------------------------------------

             Summary: Expose service information by type (and not only by id)
                 Key: FELIX-5761
                 URL: https://issues.apache.org/jira/browse/FELIX-5761
             Project: Felix
          Issue Type: Improvement
          Components: Web Console
    Affects Versions: webconsole-4.3.4
            Reporter: Konrad Windszus


Currently service information can only be retrieved for all services (via /system/console/services.json) or for a particular service by id (/system/console/services/<service id>.json). Since the ID is something which is impossible to predict it would be useful to list those services implementing a given type. For that https://github.com/apache/felix/blob/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/ServicesServlet.java needs to be extended so that not only an ID is extracted from the last path part of the request url, but also optionally a type information. The returned JSON should expose all services implementing that type.

This is e.g. useful in the context where an IT needs to wait for a particular service to be registered (SLING-7297).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)