Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-6819

BranchInformationService is not available for plugins

    XMLWordPrintable

Details

    Description

      When trying to use BranchInformationService in a Stash plugin, adding <component-import key="branchInformationService" interface="com.atlassian.stash.branch.info.BranchInformationService"/> to atlassian-plugin.xml results in the following error:

      2014-12-02 22:11:22,208 ERROR [localhost-startStop-1] c.a.plugin.osgi.factory.OsgiPlugin Never resolved service '&branchInformationService' for plugin 'com.jeffthms.stash.myplugin' with filter (objectClass=com.atlassian.stash.branch.info.BranchInformationService)

      This is because BranchInformationService is not published for other plugins to use. Since it's publicly listed it should be available to be imported.

      Attachments

        Activity

          People

            bturner Bryan Turner (Inactive)
            jethomas Jeff Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: