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

New service:list command focused on services instead of bundles

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • karaf
    • 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

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: