[midPoint] Ldap connector objectSynchronization conditions not executing

Maxwell, Gary Maxwell_G at fortlewis.edu
Tue Nov 7 19:31:42 CET 2023


Hi Dmitriy,
It is not working in the synchronization object or in the reaction. I am able to add conditions on other resources, It is only the AdLdap connector that seems to have this problem.
-Gary

From: Dmitriy Berezkin <berezkin.dmitriy at gmail.com>
Sent: Tuesday, November 7, 2023 11:19 AM
To: midpoint at lists.evolveum.com; midPoint General Discussion <midpoint at lists.evolveum.com>
Cc: Maxwell, Gary <Maxwell_G at fortlewis.edu>
Subject: Re: [midPoint] Ldap connector objectSynchronization conditions not executing

Hi Gary!

I’m not sure that it’s possible to use condition into reaction. Condition works for whole syncronization object. Please, check this resource as example: https://github.com/Evolveum/midpoint-samples/blob/98fcbc8ddf72c5c4a331c528a8dcaf1f2272f96f/samples/stories/multitenant-idm-saas/resources/openldap-customers.xml#L735

–––
Dmitry Berezkin
7 нояб. 2023 г., 20:57 +0300, Maxwell, Gary via midPoint <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>>, писал:

Hello All,

Can anyone explain how com.evolveum.polygon.connector.ldap.ad.AdLdapConnector v3.3 resource performs “unmatched”, “linked” and “unlinked” processing however does not execute the code within the condition tags?

<resource>
<synchronization>
    <objectSynchronization>
…….
<reaction>
    <situation>unmatched</situation>
    <synchronize>true</synchronize>
    <action>
        <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri<http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus%3C/handlerUri>>
    </action>
    <condition>
        <script>
            <code>
                log.info("executing unmatched")
                return true
            </code>
        </script>
    </condition>
</reaction>
  </objectSynchronization>
    </synchronization>
</resource>


Any thoughts?
Thanks Gary
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231107/3c6ce6e6/attachment.htm>


More information about the midPoint mailing list