[midPoint] config for CSV file without headers

Jeria, Esteban esteban.jeria at cgi.com
Wed Dec 12 17:02:14 CET 2018


It works.... Actually columns start from col0 to colN



Thanks!



Esteban Jeria

esteban.jeria at cgi.com<mailto:esteban.jeria at cgi.com>
Conseiller CGI / CGI Consultant

Sécurité - Gestion des Identités et des Accès / Security - Identity and Access Management

________________________________
From: Devin Rosenbauer [devin at identityworksllc.com]
Sent: December 10, 2018 2:30 PM
To: midPoint General Discussion
Subject: Re: [midPoint] config for CSV file without headers

Field names are considered col1 through colN if headerExists is false.

See here: https://github.com/Evolveum/connector-csv/blob/v2.2/src/main/java/com/evolveum/polygon/connector/csv/ObjectClassHandler.java#L93<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Evolveum_connector-2Dcsv_blob_v2.2_src_main_java_com_evolveum_polygon_connector_csv_ObjectClassHandler.java-23L93&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=3iM986yl1CVC_rjHiE-INe9tiSAFCd7Ih6_50tgvu0w&m=ZasOOCi-VO9yAetRhXZIvY_aJPNSU5eBSS08zrzJ_PY&s=EMNOvfjqwNPPpB5feGiZ8PLUg7N_bKfrBuIhFH-CxXk&e=>

On Mon, Dec 10, 2018 at 2:17 PM Jeria, Esteban <esteban.jeria at cgi.com<mailto:esteban.jeria at cgi.com>> wrote:
Hi,

Is there a way to configure a CSV connector for a text file without headers? If so, what is the right way to do it?

I noticed that there is a property <headerExists> that seems to be useful for that, but there is no more details about it.
Also, I guess the headers have to be defined separately somewhere, maybe using a class file via <objectClassDefinition>, but I haven't found anything on the wiki either.

Thanks,

Esteban Jeria
Conseiller CGI / CGI Consultant
Sécurité - Gestion des Identités et des Accès / Security - Identity and Access Management

_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=3iM986yl1CVC_rjHiE-INe9tiSAFCd7Ih6_50tgvu0w&m=ZasOOCi-VO9yAetRhXZIvY_aJPNSU5eBSS08zrzJ_PY&s=QRkhioya6PkT7LpCu63Ivzw66qdIy6-qLtMHzds9HTk&e=>


--
Devin Rosenbauer
Principal Consultant
Identity Works LLC
+1 585 210 3201
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20181212/4d95dce4/attachment.htm>


More information about the midPoint mailing list