<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
Perhaps the best way is to implement this behaviour in the
connector. This obviously needs read-change-write cycle. MidPoint
can (theoreticlaly) do that. But as there are absolutely no
consistency guarantees in ConnId API then this may be a risk to
resource data consistency. If it is implemented in the connector
then the connector may use any resource-specific consistency
mechanisms available.<br>
<br>
Please note that midPoint does not have this read-change-write
mechanism implemented yet. Not for a complete account anyway. We
have not yet encoutered any resource that required it. However,
there are few resources that can only replace attribute values
(cannot add or delete them). Therefore there is a read-and-replace
mode that can be turned on for individual attributes. But that
won't help you if you need all account attributes on update. Of
course, we could implement this feature in midPoint if there is a
funding for that. But I think that modification of the connector
is the way to go.<br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
On 09/29/2017 04:21 PM, Tomáš Mráz - AMI Praha a.s. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+KxMqCn9MPcv48FXrwt27eLnt_ROLmBgjxuovBkhjfvn-ALXA@mail.gmail.com">
<div dir="ltr">Hi,<br>
We are facing integration Midpoint with service which need all
properties for update request(just one direction sync(out:
Midpoint->service)). So We tried set schema handling(strong
etc.) to get all account properties to connector on update(not
just changed properties). Without success.<br>
I found "optimistic locking" but there is a lot of "TODO" places
in wiki. So I please for some informations. Is that what I need?<br>
<br>
Can I make some settings in Midpoint (schema handling?) and get
in connector all properties on every update?<br>
<br>
I read about problem with consistency. I read "sending changes
is good way". But it looks like I simply need just all
properties for update request, nothing more and everything will
be fine.<br>
<br>
Thank You for advice.<br>
<br>
Tomas Mraz<br>
AMI Praha a.s.
<div>Prague<br>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>