[midPoint] File x doesn't exist, at least file with CSV
Vitor Alves | Gerencianet
vitor.alves at gerencianet.com.br
Tue Aug 24 14:17:31 CEST 2021
Hi David,
I still haven't seen your HR resource configuration XML file, but when I was implementing I had the same problem and hit my head a little kkk You can leave the "*.csv" file anywhere or name, just point correctly, below is the configuration.
<connectorConfiguration xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
<icfc:configurationProperties xmlns:gen53="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csv/com.evolveum.polygon.connector.csv.CsvConnector">
<gen53:multivalueDelimiter>;</gen53:multivalueDelimiter>
<gen53:fieldDelimiter>,</gen53:fieldDelimiter>
<gen53:filePath>/opt/midpoint/var/resources/rh.csv</gen53:filePath>
<gen53:encoding>utf-8</gen53:encoding>
<gen53:passwordAttribute>password</gen53:passwordAttribute>
<gen53:uniqueAttribute>username</gen53:uniqueAttribute>
</icfc:configurationProperties>
</connectorConfiguration>
The item:
<gen53:filePath>/opt/midpoint/var/resources/rh.csv</gen53:filePath>
You will enter the full path of your file. The other parameters I also sent because they can help in some way.
And yes, there has to be a CSV file with read permission for the linux account that runs midpoint. I hope I have answered your question =D
-----
Vitor Alves
Analista Cloud Pleno II
Infraestrutura de TI e Segurança
-----
Vitor Alves
Analista Cloud Pleno II
vitor.alves at gerencianet.com.br
Infraestrutura de TI e Segurança
gerencianet.com.br | 1ª Região - Brasil
Atendimento a clientes:
4000 1234 para capitais e regiões metropolitanas e 0800 941 2343 para demais cidades.
Expediente: de segunda a segunda, das 07h às 22h (horário de Brasília), inclusive em feriados nacionais.
AVISO DE CONFIDENCIALIDADE - Esta mensagem da Gerencianet é enviada exclusivamente a seus destinatários e pode conter informações confidenciais, protegidas por sigilo profissional. Se você a recebeu indevidamente, a utilização posterior desta mensagem é desautorizada. Solicitamos que seja devolvida ao remetente para esclarecimento do equívoco.
-----Mensagem original-----
De: midPoint <midpoint-bounces at lists.evolveum.com> Em nome de midpoint-request at lists.evolveum.com
Enviada em: terça-feira, 24 de agosto de 2021 07:00
Para: midpoint at lists.evolveum.com
Assunto: midPoint Digest, Vol 112, Issue 9
Send midPoint mailing list submissions to
midpoint at lists.evolveum.com
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.evolveum.com/mailman/listinfo/midpoint
or, via email, send a message with subject or body 'help' to
midpoint-request at lists.evolveum.com
You can reach the person managing the list at
midpoint-owner at lists.evolveum.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of midPoint digest..."
Today's Topics:
1. File x doesn't exist, at least file with CSV header must
exist (David Gregor)
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Aug 2021 15:12:08 +0200
From: David Gregor <davidgregor7 at gmail.com>
To: midpoint at lists.evolveum.com
Subject: [midPoint] File x doesn't exist, at least file with CSV
header must exist
Message-ID:
<CAJCDxdasP4-BkKCVbR9ZOBq1a+itq=WmbYhwgB5vc9tBEnzzZw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello,
I woud like to ask how to fix this error.
When I want to change file path in edit configuration and test the connection, it always throws this error : Configuration error: File 'pathToFile/file' doesn't exists. At least file with CSV header must exist.
I tried many paths, there are some examples :
/opt/midpoint/var/resources/hr.csv, /opt/midpoint/var/hr.csv
I also tried my Dmidpoint.home path. But I keep getting the same error.
Is there any specific path that I must use to make it work ? Or am I typing the path in an incorrect format ?
Thanks for help !
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Bez
virů. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210823/e3f9fcb4/attachment-0001.htm>
------------------------------
Subject: Digest Footer
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
https://lists.evolveum.com/mailman/listinfo/midpoint
------------------------------
End of midPoint Digest, Vol 112, Issue 9
****************************************
More information about the midPoint
mailing list