Details

    • Changelog:
      The ConnectorManager now provides a new method called "connectorExists". This method needs the id of a connector as parameter and returns true if there exist a connector with the given id and returns false otherwise.

      Description

      currently the only way to check if a connector exists is to call "getAttributeValues" and check for an IllegalArgumentException

        Gliffy Diagrams

        Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerritreviewsmodule'. Please contact your JIRA administrators.

          Activity

          Hide
          Andreas Pieber added a comment -

          are we talking about a remote or a local connector? Shouldn't it be enough querying the osgi registry?

          Show
          Andreas Pieber added a comment - are we talking about a remote or a local connector? Shouldn't it be enough querying the osgi registry?
          Hide
          Christoph Gritschenberger added a comment -

          well my intention was to provide an easy way to check if a remote-connector is already created on the OpenEngSB, so I can use it in loom. But it should work the same for local connectors.

          Show
          Christoph Gritschenberger added a comment - well my intention was to provide an easy way to check if a remote-connector is already created on the OpenEngSB, so I can use it in loom. But it should work the same for local connectors.
          Hide
          Andreas Pieber added a comment -

          how do you plan to do this?

          Show
          Andreas Pieber added a comment - how do you plan to do this?
          Hide
          Christoph Gritschenberger added a comment -

          adding a connectorExists-method to the ConnectorManager-interface

          Show
          Christoph Gritschenberger added a comment - adding a connectorExists-method to the ConnectorManager-interface

            People

            • Assignee:
              Lukas Kavicky
              Reporter:
              Christoph Gritschenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: