[midPoint] Changes to Resource Object Template not affecting existing Objects

Ivan Noris Ivan.Noris at evolveum.com
Fri Jan 19 21:31:18 CET 2018


That was all related to midpoint 3.0 with generic synchronization :) Since that we can synchronize much more than just users and accounts. defaultUserTemplate was pre-3.0 setting. 

I'm glad it worked. 

Best regards, 
Ivan 

----- Original Message -----

> From: "Alcides Carlos de Moraes Neto" <alcides.neto at gmail.com>
> To: "midPoint General Discussion" <midpoint at lists.evolveum.com>
> Sent: Friday, January 19, 2018 6:43:09 PM
> Subject: Re: [midPoint] Changes to Resource Object Template not affecting
> existing Objects

> Yes! Did not know about defaultObjectPolicyConfiguration, only
> defaultUserTemplate.
> It's now working, thank you very much! :)

> 2018-01-19 15:12 GMT-02:00 Ivan Noris < ivan.noris at evolveum.com > :

> > 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 > :
> > 
> 

> > > > 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 > :
> > > > 
> > > 
> > 
> 

> > > > > > 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 > :
> > > > > 
> > > > 
> > > 
> > 
> 

> > > > > > > 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
> > > > > > 
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > > http://lists.evolveum.com/mailman/listinfo/midpoint
> > > > > > 
> > > > > 
> > > > 
> > > 
> > 
> 

> > > > > > --
> > > > > 
> > > > 
> > > 
> > 
> 

> > > > > > Arnošt Starosta
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > solution architect
> > > > > 
> > > > 
> > > 
> > 
> 

> > > > > > gsm: [+420] 603 794 932
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > e-mail: arnost.starosta at ami.cz
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > 
> > > > > 
> > > > 
> > > 
> > 
> 

> > > > > > AMI Praha a.s.
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > Pláničkova 11
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > 162 00 Praha 6
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > tel.: [+420] 274 783 239
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > web: www.ami.cz
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > 
> > > > > 
> > > > 
> > > 
> > 
> 

> > > > > > 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
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > 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
> > > 
> > 
> 

> > > > _______________________________________________
> > > 
> > 
> 
> > > > midPoint mailing list
> > > 
> > 
> 
> > > > midPoint at lists.evolveum.com
> > > 
> > 
> 
> > > > 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
> 

> > _______________________________________________
> 
> > midPoint mailing list
> 
> > midPoint at lists.evolveum.com
> 
> > 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/e251d892/attachment.htm>


More information about the midPoint mailing list