Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1077

New service:list command focused on services instead of bundles

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      The current service:list command shows bundles and the services they offer or use.
      I propose to move that functionality to the bundle:list command or to a new bundle:services command as the main resource ist the bundle and the service only shows at the second level. As there are already commands like bundle:headers the bundle:services variant sounds like a good option for me? Any opionions here?

      For service:list I would like to change the functionality to focus on services as the first level. Here is my current design:

      SYNTAX

      service:list [-p] [-u] [servicename] [filter]

      ARGUMENTS

      fqServiceName fully qualified service name or service name or wildcard like MySer*
      filter ldap filter to query for properties

      OPTIONS
      -p Show bundles providing this service
      -u Show bundles using this service
      --prop Showw service properties

      Output is the list of matching services. Depending on the options different levels of details are shown

      <objectClass1, objectClass2, ...>
      =============
      <key1>=<value1>
      <key2>="<value2>", ...
      Provided by :
      -------------
      <bundle1>

      Used by :
      ---------
      <bundle2> <query used to bind the service>
      <bundle3> ...

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              chris@die-schneider.net Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: