Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4931

Karaf commands should auto-export interfaces

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.1, 5.10.0
    • Component/s: OSGi/Karaf
    • Labels:
      None

      Description

      Currently, the ActiveMQ Karaf commands use the OSGi service declaration with explicitly defining the interfaces set. For instance:

      <interfaces>
      <value>org.apache.felix.service.command.Function</value>
      <value>org.apache.karaf.shell.console.CompletableFunction</value>
      </interfaces>

      This prevent some Karaf feature like the new commands RBAC mechanism.

      The service definition should use auto-export="interfaces".

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: