[midPoint] Changes to Resource Object Template not affecting existing Objects
Ivan Noris
ivan.noris at evolveum.com
Fri Jan 19 18:12:18 CET 2018
Hi,
yes certainly. Go to to same place where you define default user
template (in GUI, but it differs a little for 3.7 and earlier versions),
and add another entry using "+" button: object type = OrgType and refer
to your template. Do not forget to save. And comment the template
reference in the resource before trying.
Ivan
On 19.01.2018 18:06, Alcides Carlos de Moraes Neto wrote:
> Hi Ivan,
>
> Yes, it is a resource referenced template for OrgType objects. I
> understand now why it doesn't work, thanks!
>
> Is there a way to create a default Org Template in system
> configuration? I already have a default user template.
>
> 2018-01-19 14:45 GMT-02:00 Ivan Noris <ivan.noris at evolveum.com
> <mailto:ivan.noris at evolveum.com>>:
>
> Hi,
>
> where is your object template? Is it global (i.e. set in System
> configuration) or is it a template in your resource referenced in
> your synchronization actions?
>
> Because if it's resource-referenced object template, maybe it is
> not processed if you change something in organization in midPoint.
> It should be however processed if the change comes from your resource.
>
> Globally configured object template with strong authoritative
> mappings should work in any case...
>
> Best regards,
>
> Ivan
>
>
> On 19.01.2018 17:37, Alcides Carlos de Moraes Neto wrote:
>> Hi Arnošt,
>>
>> The new mappings are all strong and authoritative.
>>
>> I'm logging to TRACE and the template is not even mentioned in
>> the CLOCKWORK SUMMARY, and the expressions are not called for
>> existing objects, only new ones.
>> I tested deleting one Org and Reimporting it, and that worked.
>> But I cannot delete all the Org Structure everytime I change the
>> template...
>>
>>
>> 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s.
>> <arnost.starosta at ami.cz <mailto:arnost.starosta at ami.cz>>:
>>
>> Hi Carlos,
>>
>> is the strength of your mappings normal or weak? Than they
>> would be 'applied' to existing objects, but since there is no
>> change in source attributes or target attributes already have
>> values, the mapping would be skipped.
>>
>> You can try changing the mapping strength to strong to
>> compute the target values all the time.
>>
>> arnost
>>
>> 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto
>> <alcides.neto at gmail.com <mailto:alcides.neto at gmail.com>>:
>>
>> Hello List,
>>
>> I have a very simple SQL Resource that creates Org
>> Strutucture from HR System.
>>
>> I have a Template for this resource and it is working OK.
>> However, I made some changes to this template, added some
>> mappings with conditions, and these are not applied to
>> existing objects. I have tried Recompute, Reconcile,
>> Import accounts.
>> Only the new Orgs that were imported got the new
>> mappings/assignments.
>>
>> How can I apply my template changes to my existing objects?
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> <mailto:midPoint at lists.evolveum.com>
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>> <http://lists.evolveum.com/mailman/listinfo/midpoint>
>>
>>
>>
>>
>> --
>>
>> Arnošt Starosta
>> solution architect
>>
>> gsm: [+420] 603 794 932 <tel:+420%20603%20794%20932>
>> e-mail: arnost.starosta at ami.cz <mailto:arnost.starosta at ami.cz>
>>
>>
>>
>> AMI Praha a.s.
>> Pláničkova 11
>> 162 00 Praha 6
>> tel.: [+420] 274 783 239 <tel:+420%20274%20783%20239>
>> web: www.ami.cz <http://www.ami.cz/>
>>
>>
>>
>> AMI Praha a.s.
>>
>>
>> AMI Praha a.s.
>> <http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
>>
>>
>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani
>> neuzavírá za společnost AMI Praha a.s.
>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí
>> mít výhradně písemnou formu.
>>
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>> <http://lists.evolveum.com/mailman/listinfo/midpoint>
>>
>>
>>
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>> <http://lists.evolveum.com/mailman/listinfo/midpoint>
>
> --
> Ivan Noris
> Senior Identity Engineer
> evolveum.com <http://evolveum.com>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
> http://lists.evolveum.com/mailman/listinfo/midpoint
> <http://lists.evolveum.com/mailman/listinfo/midpoint>
>
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
--
Ivan Noris
Senior Identity Engineer
evolveum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180119/d9fec8b7/attachment.htm>
More information about the midPoint
mailing list