[midPoint] Ldap connector objectSynchronization conditions not executing

Dmitriy Berezkin berezkin.dmitriy at gmail.com
Wed Nov 8 06:42:17 CET 2023


Gary,

As I know ICF&ConnId connectors don’t have any logic about that. Connectors just provide data. So it’s resource configuration issue (or data). Try to dig a bit into this way. Were AD objects skipped when you run a task?

–––
Dmitry Berezkin
7 нояб. 2023 г., 21:31 +0300, Maxwell, Gary <Maxwell_G at fortlewis.edu>, писал:
> 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>, писал:
>
> > quote_type
> > 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>
> >     </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
> > https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231108/14208025/attachment.htm>


More information about the midPoint mailing list