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

Connector info provider needs to be updated to connect to .NET server

    Details

    • Sprint:
      OpenIDM Sprint 78
    • Story Points:
      0.5

      Description

      With everything configured correctly, one has to update the provisioner.openicf.connectorinfoprovider.json in order to connect the OpenIDM to remote .NET connector server.

      To reproduce:

      • setup openidm with adpowershell sample
      • startup the .NET connector server (does not matter if ConnectorServer.exe or ConnectorServerService.exe)
      • then start the openidm and try action test
        curl --header "Content-Type: application/json" --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --request POST "http://10.0.0.22:8080/openidm/system/adpowershell/?_action=test" | jq .
        
        {
          "message": "Resource 'system/adpowershell' not found",
          "reason": "Not Found",
          "code": 404
        }
        
      • now update the connector info provider file - add 2 spaces or so.
      • wait few second for openidm to connect and run the action test again
        curl --header "Content-Type: application/json" --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --request POST "http://10.0.0.22:8080/openidm/system/adpowershell/?_action=test" | jq .
        
        {
          "ok": true,
          "displayName": "PowerShell Connector ",
          "connectorRef": {
            "bundleVersion": "[1.4.1.0,2.0.0.0]",
            "bundleName": "MsPowerShell.Connector",
            "connectorName": "Org.ForgeRock.OpenICF.Connectors.MsPowerShell.MsPowerShellConnector"
          },
          "objectTypes": [
            "__ALL__",
            "group",
            "account"
          ],
          "config": "config/provisioner.openicf/adpowershell",
          "enabled": true,
          "name": "adpowershell"
        }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alin Alin Brici
                Reporter:
                Ladislav.Folta Ladislav Folta
                QA Assignee:
                Ladislav Folta
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: