[midPoint] Scripted SQL connector example? Getting errors when testing

Graham Ballantyne grahamb at sfu.ca
Fri Jan 12 01:30:27 CET 2024


Hi folks,

I'm trying to set up an inbound Scripted SQL connector against a Postgres database and having no luck. I have what I think should be a minimal configuration with only the test capability turned on, but it's throwing errors.

My resource configuration is here: https://gist.github.com/grahamb/f9cc16a28de7b29665f3bd9b81aa34af

An Upload/Execute from midPoint studio works and the resource is created, but if I try to test the resource, either using the Upload/Test function in Studio, or the Test Connection button on the edit resource screen, it throws an error:

groovy.lang.MissingMethodException(No signature of method: org.forgerock.openicf.connectors.scriptedsql.ScriptedSQLConfiguration.validate() is applicable for argument types: () values: []?Possible solutions: validate(), validate(), validate(), wait(), release(), release())'

and

groovy.lang.MissingMethodException(No signature of method: org.forgerock.openicf.connectors.scriptedsql.ScriptedSQLConfiguration.validate() is applicable for argument types: () values: []?Possible solutions: validate(), validate(), validate(), wait(), release(), release())

I've been using the samples from https://github.com/Evolveum/midpoint-samples/tree/master/samples/resources/scriptedsql as my basis. I had to make some changes to the XML to get it to upload (mostly the username and JDBC URL parameters).

Any guidance would be much appreciated.

Thanks,
Graham.


–
Graham Ballantyne (he/him)
IAM Architect —  IT Services
Simon Fraser University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240112/36ffd667/attachment.htm>


More information about the midPoint mailing list