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

OpenIDM does not check availability of remote connectors.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • OpenIDM 3.0.0
    • OpenIDM 3.0.0
    • OpenICF Framework 1.4.0.0 rev.6610 (Java), OpenIDM 3.0.0-SNAPSHOT (revision: 3511)
    • Sprint 20, Sprint 21

    Description

      OpenIDM should be checking availability of remote connectors in heartbeat intervals. This function seems to be broken.

      Steps to reproduce:

      1) install remote java connector server (JCS)
      2) deploy csv connector into remote JCS and delete it from openidm/connectors
      3) configure openidm to connect to the remote JCS. Make sure you set the heartbeat interval property in connectorinfoprovider.json

      {
          "connectorsLocation" : "connectors",
          "remoteConnectorServers" : [
              {
                  "name" : "remote",
                  "host" : "127.0.0.1",
                  "port" : 8759,
                  "useSSL" : false,
                  "timeout" : 0,
                  "key" : {"Passw0rd"},
                  "heartbeatInterval" : 10
              }
          ]
      }
      

      4) start openidm
      5) call CREATECONFIGURATION to get list of 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=CREATECONFIGURATION"
      

      the csv connector should be missing
      6) start remote JCS and wait for heartbeat interval
      7) call the CREATECONFIGURATION again
      8) the connector should become available. However, the list is NOT updated and the connector stays unavailable.

      Attachments

        Activity

          People

            alin Alin Brici
            Ladislav.Folta Ladislav Folta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: