[midPoint] query to get attributes

Jason Everling jeverling at bshp.edu
Sat Jan 5 23:16:31 CET 2019


Yes thanks for the extra info, on these ones I am changing throughout are
attributes managed by the end user in our campus erp system and as well as
others. I have templates that set the default value but do not want them to
be enforced with that default value. The user can change them in erp system
when they wish. The others I am changing on inbound as they only need to be
updated when they are changed in the source. This is only temporary for the
next 2 weeks until midpoint becomes the source for all, I will disable
update capabilities in all other applications so it has to be done in
midpoint and will reverse most attributes to strong

On Sat, Jan 5, 2019 at 3:54 PM Pavol Mederly <mederly at evolveum.com> wrote:

> Hello Jason,
>
> but beware! Normal-strength mappings (a.k.a. relative ones) have almost no
> effect during reconciliation.
>
> More precisely, "*Mapping is used in reconciliation only if the target
> attribute does not have any value. The information whether administrator
> provided a more specific value is not present during reconciliation any
> more. Therefore the mapping cannot be reliably applied if the attribute
> already has a value.*" (
> https://wiki.evolveum.com/display/midPoint/Mapping#Mapping-MappingStrength
> )
>
> Are you OK with that?
>
> Pavol Mederly
> Software developerevolveum.com
>
> On 05.01.2019 18:36, Jason Everling wrote:
>
> Is working out in eclipse great, trying to reduce the strong mappings that
> might not be necessary to reduce the recon time. The strengths seemed to
> have improved since 3.4
> JASON
>
>
> On Sat, Jan 5, 2019 at 8:40 AM Jason Everling <jeverling at bshp.edu> wrote:
>
>> omg!!! I have no clue how that slipped past me. maybe because I was
>> writing some for bulk tasks.
>>
>> I already use the midpoint plugin in eclipse, duhhhhhhhhhh just search it.
>>
>> m-) m-)
>>
>> On Jan 5, 2019, at 04:51, Pavol Mederly <mederly at evolveum.com> wrote:
>>>
>>> Hello Jason,
>>>
>>> this is not possible using midPoint query API. This information is
>>> stored in the database, but only in XML form. It is not "indexed" in
>>> database tables that are used for query evaluation.
>>>
>>> However, because there are only a few places where these mappings can be
>>> present (basically only the resource definitions), it is possible to export
>>> them into XML files and run a XPath/XQuery query to find all occurrences of
>>> <strength>strong</strength>. The complexity depends also on if you want to
>>> search for strong mappings also among object templates.
>>>
>>> Best regards,
>>>
>>> Pavol Mederly
>>> Software developerevolveum.com
>>>
>>> On 04.01.2019 20:33, Jason Everling wrote:
>>>
>>> Anyone have a query to get a list of all attributes that have
>>> <strength>strong</strength>
>>>
>>> Where would that be in database?
>>>
>>> Thanks!
>>>
>>> _______________________________________________
>>> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>>>
>>>  ------------------------------
>>>
>>> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>>>
>>>
> _______________________________________________
> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190105/1df21b15/attachment.htm>


More information about the midPoint mailing list