Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-4149

availableConnectors are not updated after remote ICF shut down

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: OpenIDM 4.0.0
    • Fix Version/s: None
    • Environment:
      OpenIDM Version: 4.0.0-SNAPSHOT (revision: 0b7d18b), Remote OpenICF 1.5.0.0-SNAPSHOT (build details in description), Ubuntu 14.04
    • Story Points:
      3

      Description

      The ICF build used

      The list of available connectors (action=availableConnectors) appears not to be updated after the remote ICF is shut down.

      Steps to reproduce:
      1) Deploy the remote ICF
      2) copy the groovy connector from openidm/connectors to openicf/bundles
      3) delete all files from openidm/connectors. This way you'll see only the remote connectors
      4) unzip the attached configuration to openidm/conf
      5) unzip the scripts to openicf/scripts folder
      6) startup the ICF

      ./bin/ConnectorServer.sh /run 

      7) startup openidm
      8) list the available connectors

      curl --header "Content-Type: application/json" --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --request POST "http://localhost:8080/openidm/system?_action=availableConnectors" | jq .
      
      {
        "connectorRef": [
          {
            "bundleVersion": "1.4.2.0-SNAPSHOT",
            "systemType": "provisioner.openicf",
            "bundleName": "org.forgerock.openicf.connectors.groovy-connector",
            "displayName": "Scripted Poolable Groovy Connector",
            "connectorName": "org.forgerock.openicf.connectors.groovy.ScriptedPoolableConnector",
            "connectorHostRef": "remote"
          },
          {
            "bundleVersion": "1.4.2.0-SNAPSHOT",
            "systemType": "provisioner.openicf",
            "bundleName": "org.forgerock.openicf.connectors.groovy-connector",
            "displayName": "Scripted Groovy Connector",
            "connectorName": "org.forgerock.openicf.connectors.groovy.ScriptedConnector",
            "connectorHostRef": "remote"
          }
        ]
      }
      

      9) shut down the ICF
      10) wait heartbeat interval (10s) and list the connectors again and they are still present (which is not possible because the ICF is down)

      note: the query on the system works fine. (ICF UP - returns results, ICF DOWN - returns 503)

      as per Laszlo - this issue might be related to the Felix SCR problem.

        Attachments

          Activity

            People

            • Assignee:
              tal.herman Tal Herman
              Reporter:
              Ladislav.Folta Ladislav Folta
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: