Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-7409

Update documentation and examples for scriptedsql 2.x connector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.5, 4.4.1
    • Component/s: Connectors, Documentation
    • Labels:
      None
    • Environment:

      Midpoint 4.3.1 running on Debian 10 with PostrgreSQL 11

    • Subscription:
      Active subscription

      Description

      I have a scriptedSQL MSSQL resource working with the old forgerock connector version 1.1.2.0.em3 that I want to migrate to the latest scriptedSQL connector version 2.2.1, but I have found several issues with the documentation/examples :

       

      ScriptedSQL connector page : https://docs.evolveum.com/connectors/connectors/com.evolveum.polygon.connector.scripted.sql.ScriptedSQLConnector/

      Information about the migration between 1.x and 2.x connector is insufficient. in addition to "user", "password", required properties :

      • "scriptRoots" property is also required : not a big deal, it is easy to understand what it is for.
      • "classpath" property is also required. It is not indicated as required in the GUI, but if not set, I get the error com.evolveum.midpoint.util.exception.ConfigurationException: Configuration error: Missing required 'classpath' configuration property.
        The help popup in the GUI says "classpath for use during compilation" but I do not know what to put in there.

       

      Resource example for scriptedSQL connector page : https://docs.evolveum.com/connectors/resources/sql/

       

      midpoint-sample github project page: https://github.com/Evolveum/midpoint-samples/tree/master/samples/resources/scriptedsql

      • The subfolder samples/resources/scriptedsql of the midpoint-samples projects contains examples of groovy script, but some of them seems incomplete, like CreateScript.groovy which contains "// todo fix sample".
      • The subfolder samples/resources/scriptedsql of the midpoint-samples projects does not contains a resource.xml example.

        Attachments

          Activity

            People

            Assignee:
            Frederic_L Frederic Lohier
            Reporter:
            Frederic_L Frederic Lohier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: