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

Karaf commands should auto-export interfaces

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.9.1, 5.10.0
    • OSGi/Karaf
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment