[midPoint] SAP-Connector - update of ACTIVITYGROUPS

Martin Lízner - AMI Praha a.s. martin.lizner at ami.cz
Tue Feb 22 14:33:09 CET 2022


Hi, personally I recommend handling SAP roles as XML via attribute
ri:ACTIVITYGROUPS. You would need special meta role that creates the XML
for respective role and derives dates from focusAssignment?.activation
field. Using flat list leads to problems you described.

Thank you for your pull request, its a workaround, but probably necessary
if you go with the flat list :-) Anyway please make sure that the change
does not fiddle with ACTIVITYGROUPS XML behaviour. If only midPoint has
support for complex resource attributes, that would make things much easier.

Regards, Martin

po 21. 2. 2022 v 14:26 odesílatel Emil.Militzer--- via midPoint <
midpoint at lists.evolveum.com> napsal:

> Dear midPoint Community,
>
> we came across some interesting behavior in the handling of
> activivitygroups.
>
> We implemented the association between accounts and acitivitygroups via
> the ACITIVITYGROUPS.AGR_NAME field like it is done in the example.
>
> This introduced some strange effects in the SAP. Because the AGR_NAME
> field is missing the from/to dates and midpoint does not know which
> attribute entry changed it will rewrite
> every activitygroup if one has been added or deleted. SAP will generate
> the current date as the from date which will create audit events for each
> role (delete old role, add it again with new date).
>
> Does anybody experience the same behavior?
>
> I prepared a connector fix which will load the current values from the sap
> and matches them agains the new values:
> https://github.com/Evolveum/connector-sap/pull/9
>
> This could also be useful for the profile handling, i would implement this
> there too if needed. Whar are your experiences with this and what do you
> think of the change?
>
> Kind Regards
>
> Emil Militzer
>
> __________________________
>
>
>
> <https://www.tk.de/>
>
>
>
> Techniker Krankenkasse
>
> Headquaters
>
> Bramfelder Straße 140, 22305 Hamburg
>
>
>
> *Emil Militzer*
>
> Systemdevelopment
>
> Tel. 040 - 69 09-33 52
>
> emil.militzer at tk.de
>
>
> _______________________________________________
> 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/20220222/98d32d14/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1496 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220222/98d32d14/attachment.jpg>


More information about the midPoint mailing list