[midPoint] CSV connector with single identifier
Petr Gašparík - AMI Praha a.s.
petr.gasparik at ami.cz
Fri Sep 8 10:23:34 CEST 2017
Hi,
we are on master, and there are different samples, I am afraid - look here:
https://github.com/Evolveum/midpoint/tree/master/samples
However, my coworker remembers that we needed to change icfs:uid for
icfs:name, since some midPoint version.
So, the sample may be outdated.
Try to do something like changing <ref>icfs:uid</ref>
to <ref>icfs:name</ref>
--
s pozdravem
Petr Gašparík
solution architect
gsm: [+420] 603 523 860
e-mail: petr.gasparik at ami.cz
AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel.: [+420] 274 783 239
web: www.ami.cz
[image: AMI Praha a.s.]
Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.
2017-09-07 19:41 GMT+02:00 Jeria, Esteban <esteban.jeria at cgi.com>:
> Hi Petr,
>
>
>
> I'm talking about the sample "/sample/evolveum/resource-hr.xml" comming
> with Midpoint version 3.6, which uses the new CSV connector 2.0 so indeed
> it uses ri:name instead of icfs:name.. but I use the config as is, without
> any change.
>
>
>
> I imported the xml file into a fresh installation of Midpoint 3.6 and of
> course, I copied the csv file on my system on the right directory
> (/var/opt/midpoint-evolveum/resources/hr.csv), then I created a
> reconciliation task to test, but I'm getting the error mentioned below.
>
>
>
>
>
> Does it work on your side?
>
>
>
>
>
>
>
> *Esteban Jeria*
>
> 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:* Petr Gašparík - AMI Praha a.s. [petr.gasparik at ami.cz]
> *Sent:* September 7, 2017 2:19 AM
> *To:* midPoint General Discussion
> *Subject:* Re: [midPoint] CSV connector with single identifier
>
> BTW which sample you are referencing? samples\resources\csvfile\HR-csvfile-resource.xml
> ? (from current master)
>
> --
>
> s pozdravem
>
> Petr Gašparík
> solution architect
>
> gsm: [+420] 603 523 860 <603%20523%20860>
> e-mail: petr.gasparik at ami.cz
>
>
> AMI Praha a.s.
> Pláničkova 11
> 162 00 Praha 6
> tel.: [+420] 274 783 239 <274%20783%20239>
> web: www.ami.cz
>
>
> [image: AMI Praha a.s.]
>
> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
> společnost AMI Praha a.s.
> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
> písemnou formu.
>
>
> 2017-09-06 20:15 GMT+02:00 Martin Lízner - AMI Praha a.s. <
> martin.lizner at ami.cz>:
>
>> Just a wild guess, but do you happen to use icfs:name? I think you may
>> use ri namespace instead + real column name. M.
>>
>> Martin Lízner
>> solution architect
>>
>> gsm: [+420] 737 745 571 <737%20745%20571>
>> e-mail: martin.lizner at ami.cz
>>
>>
>> AMI Praha a.s.
>> Pláničkova 11
>> 162 00 Praha 6
>> tel.: [+420] 274 783 239 <274%20783%20239>
>> web: www.ami.cz
>>
>>
>>
>> [image: AMI Praha a.s.] <http://www.skyidentity.com/>
>>
>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
>> společnost AMI Praha a.s.
>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
>> písemnou formu.
>>
>>
>> 2017-08-24 17:11 GMT+02:00 Jeria, Esteban <esteban.jeria at cgi.com>:
>>
>>> Hi,
>>>
>>>
>>>
>>> I started testing your application with version 3.5.1 and my PoC works
>>> properly, then now I would like to test the other recents features like
>>> escalation or password reset by email so I installed version 3.6, but I'm
>>> unable to make work the CSV connector 2.0.
>>> My CSV file has a single unique identifier so I tried to figure out how
>>> that it works by using the sample on /sample/ressource/evolveum/resource-hr.xml,
>>> but it doesn't work either.
>>> It's complaining about that there is no value for "name" attribute.
>>>
>>>
>>>
>>> 001: No name in new object null as produced by template null in
>>> iteration 0, we cannot process an object without a name
>>>
>>>
>>>
>>> How can I properly test your sample?
>>>
>>>
>>>
>>> *Esteban Jeria*
>>> Conseiller *CGI* / *CGI* Consultant
>>>
>>> Sécurité - Gestion des accès / Security - Access Management
>>>
>>> _______________________________________________
>>> midPoint mailing list
>>> midPoint at lists.evolveum.com
>>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>>
>>>
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170908/90fe824e/attachment.htm>
More information about the midPoint
mailing list