[midPoint] Any type of fail safe tricks or settings?

midpoint at mybtinternet.com midpoint at mybtinternet.com
Wed Nov 11 12:11:11 CET 2015


Hi Jason,
  I've had to solve these kinds of problems for various projects in the past, admittedly
  not using midPoint. There are also other things that could be happening that cause
  similar issues; e.g. in-flight / broken transfers etc.
  Solving the problem with midPoint would imply having some sort of preview or a running
  count of changes vs non-changes, or validation in the connector. Not aware of anything
  like this ...
  Having a system with some decent scripting can help. Some strategies I used in the past:
Check that modification time on target is at least # mins ago; e.g. not in-flight transfer
Generate a checksum on the source and validate that on the target (md5sum, sha1sum, ...)
A status line at the end; e.g. end of feed, a count, checksum, etc
  You could, if using (UNIX / Linux) do a grep -v on header - check result for zero size.
  Incoming transmission write to a filename different from what your resource expects; validation
  copies / renames to resource input name is validation ok.
Regards,
  Anton
----Original message----
>From : jeverling at bshp.edu
Date : 05/11/2015 - 18:16 (GMT)
To : midpoint at lists.evolveum.com
Subject : [midPoint] Any type of fail safe tricks or settings?
I was thinking about this today..
What if one day my CSV file sends out a file that is blank with just the headers, like if something just goes wrong with the connection or base query. Since my CSV resource is authoritative for who should be enabled or disabled, it would disable everyone because they are missing from the file.
I don't think that could happen, I wrote in as many fail safes as I could into the Talend job that creates the CSV but....
Is there any type of mechanism that I can set that says if accounts to be changed is more than {n} then stop or suspend task?
Just thinking!
JASON
CONFIDENTIALITY NOTICE:
This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s), you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the sender and delete this e-mail and any attachments from your computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20151111/39f68722/attachment.htm>


More information about the midPoint mailing list