[midPoint] Filter data while importing
Marvel Krafts
marvel.krafts at gmail.com
Sat Sep 17 18:15:39 CEST 2022
My query condition in my previous mail was incorrect which is corrected
(the documentation is exemplary). However, the connector continues to take
a long time in reading through all the records in the source Azure AD until
it finds the record that matches the condition and then pulls into the
mindpoint repository. This does not work as intended since the time taken
for the job to complete is still the same. Any other way?
<synchronization>
<objectSynchronization id="31">
<objectClass>ri:AccountObjectClass</objectClass>
<kind>account</kind>
<intent>default</intent>
<focusType>c:UserType</focusType>
<enabled>true</enabled>
<condition>
<script>
*<code>basic.getAttributeValue(shadow,
'http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3
<http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3>',
'mail').equals("test_user at mydomain.com <test_user at mydomain.com>")</code>*
</script>
</condition>
Appreciate all the help.
On Fri, Sep 16, 2022 at 8:42 AM Marvel Krafts <marvel.krafts at gmail.com>
wrote:
> Here you go
>
> Thanks
>
> On Fri, Sep 16, 2022 at 8:12 AM Emil Militzer <emil.militzer at posteo.de>
> wrote:
>
>> Hi,
>>
>> could you attach some of your config?
>>
>> Kind Regards
>> Emil
>>
>> Am 16.09.2022 um 13:48 schrieb Marvel Krafts via midPoint <
>> midpoint at lists.evolveum.com>:
>>
>>
>> Thanks for the response. It looks like MP still reconciles all the data
>> and executes the code when the condition is true. I am trying to save time
>> for import/reconciliation by putting a filer criteria but looks like the
>> time is till the same. Am I doing something wrong?
>>
>> Regards
>> Sunil
>>
>>
>>
>> On Fri, Sep 16, 2022 at 2:30 AM Pálos Gustáv via midPoint <
>> midpoint at lists.evolveum.com> wrote:
>>
>>> Hi,
>>>
>>> you can use condition in resource in
>>> synchronization/objectSynchronization/condition/script/code
>>> When you return false, MP will skip the current shadow/account on import.
>>>
>>> best regards,
>>>
>>> Gustav
>>>
>>> st 14. 9. 2022 o 22:26 Marvel Krafts via midPoint <
>>> midpoint at lists.evolveum.com> napísal(a):
>>>
>>>> Hi,
>>>>
>>>> I am using the Azure Graph connector to import data from Azure AD into
>>>> Midpoint. The data is huge in my source Azure AD. Is there a way to filter
>>>> data based on attributes? Example, import only those records with givenName
>>>> starting with "test".
>>>>
>>>> Thanks
>>>> _______________________________________________
>>>> midPoint mailing list
>>>> midPoint at lists.evolveum.com
>>>> https://lists.evolveum.com/mailman/listinfo/midpoint
>>>>
>>>
>>>
>>> --
>>> s pozdravom
>>>
>>> Gustáv Pálos
>>> _______________________________________________
>>> midPoint mailing list
>>> midPoint at lists.evolveum.com
>>> https://lists.evolveum.com/mailman/listinfo/midpoint
>>>
>> _______________________________________________
>> 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/20220917/a41b69df/attachment.htm>
More information about the midPoint
mailing list