[midPoint] Filtering inbound data from Postgres table

Collins, Kevin K.J.Collins at hw.ac.uk
Mon Oct 17 20:10:08 CEST 2022


Hi everyone,


I’ve been working through the MidPoint book and the samples in midPoint 4.4.3 to try answer a couple of problems I’m having putting together a PoC midPoint demo:


  *   How do I filter inbound data from a (Postgres) db table so that it doesn’t try to import stale data? Simplified use case is that an HR system writes data about staff to a Postgres db table.  That data is more or less authoritative for staff. The db table contains details about every member of staff who is current but also contains details of every staff person it has ever known about.  This sounds like an ideal job for a scripted-sql connector but I can’t get that to work at all in midPoint. So I’m looking at filtering on the inbound data. Unless, of course, anyone has good worked example of a scripted-sql resource that they’d be willing to share…
  *
  *   How do I prevent the Idm from deleting the entire record from the Postgres db table when I delete it in the IDM ?

The HR people “own” the data in the table except for the username, emailAddress and initial password, which are generated by the Idm and passed back to the table.

Thanks in advance.


-Kev_C


--
Kevin Collins,
Senior Specialist,
Information Services
Heriot-Watt University,
EDINBURGH, EH14 4AS,
Scotland, UK

For IT support queries or requests, please navigate to https://hwu.topdesk.net/, email ishelp at hw.ac.uk<mailto:ishelp at hw.ac.uk> or phone ext 4045, with full details of your query or request and your contact details.

http://www.hw.ac.uk/is



________________________________

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20221017/36bcb65c/attachment.htm>


More information about the midPoint mailing list