Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1179

Framework: availableConnectors are not updated after remote ICF shut down



      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": "",
            "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": "",
            "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.


        1. conf.zip
          25 kB
        2. scripts.zip
          20 kB

          Issue Links



              • Assignee:
                gael Gael Allioux
                Ladislav.Folta Ladislav Folta
                QA Assignee:
                Son Nguyen
              • Votes:
                0 Vote for this issue
                5 Start watching this issue


                • Created: