Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5761

Expose service information by type (and not only by id)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • webconsole-4.3.4
    • None
    • Web Console
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: