[midPoint] Remote CSV File

Jason Everling jeverling at bshp.edu
Thu Feb 12 00:18:30 CET 2015


Thanks for the information, I'm going to give this a go tomorrow and I
think I am going to just try and use the filter to match the remote
connector.

The update to the wiki helped me understand the setup a little better.

JASON

On Wed, Feb 11, 2015 at 3:34 AM, Pavol Mederly <mederly at evolveum.com> wrote:

>  Hello Jason,
>
> I've updated java connector server documentation here:
> https://wiki.evolveum.com/display/midPoint/Java+Connector+Server.
>
> After installing the server (please use current version of 1.4.0.49) you
> can proceed just as you described:
> - import the connectorHost object
> - run "discovery" on that connector host
> - import your csv resource (see below)
>
> Beware that when importing the resource, the filter would now match 2 CSV
> connectors (local and remote one), and so the import would fail.
> - One possibility is to manually remove local CSV connector from
> repository and then run the import. (Note that after restart of midPoint it
> will appear again, but your newly imported resource would be unaffected by
> this.)
> - Another possibility is to remove filter from <connectorRef> altogether
> and replace it with oid='...' attribute pointing to remote csv connector
> object
> - Yet another possibility is to enhance filter to match only your remote
> connector.
>
> I've briefly tested CSV connector (version 1.4.0.49) with connector server
> (1.4.1.0-SNAPSHOT ... but 1.4.0.49 should work the same), and basic
> functionality - test connection, import accounts, simple changes - works
> well. If you would find any problems, please let us know, as usual. :-)
>
> Best regards,
> Pavol
>
>
> On 10. 2. 2015 20:22, Jason Everling wrote:
>
> Would you have a sample for a remote CSV File Connector host to add in
> midPoint? I am guessing this will show up like Active Directory under
> Connector Hosts or no?
>
>  So far I have been testing by moving the CSV file to the test server and
> local path using WinSCP command line in a scheduled task in Windows. Is
> this Ok or should I use the remote CSV connector server?
>
>  The connector server I think I got going but it is the adding the
> connector host into midPoint, is this the same as AD configuration and
> would be this?
>
>  <connectorHost xmlns="
> http://midpoint.evolveum.com/xml/ns/public/common/common-3">
>     <name>SIS System</name>
>     <hostname>10.10.10.10</hostname>
>     <port>8759</port>
>     <sharedSecret>secret</sharedSecret>
> </connectorHost>
>
>  Also, the CSV resource I have is there anything I need to change in the
> connector configuration, I have currently.
>
>          <!-- Reference to the ICF CSVFile connector. -->
>         <connectorRef type="ConnectorType">
>             <filter>
>                 <q:equal>
>                     <q:path>c:connectorType</q:path>
>
> <q:value>com.evolveum.polygon.csvfile.CSVFileConnector</q:value>
>                 </q:equal>
>             </filter>
>         </connectorRef>
>
>          <!-- Configuration Section -->
>         <c:connectorConfiguration>
>
>              <!-- Configuration specific for the CSVfile connector -->
>             <icfc:configurationProperties
>                     xmlns:icfccsvfile="
> http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csvfile/com.evolveum.polygon.csvfile.CSVFileConnector
> ">
>
> <icfccsvfile:filePath>/opt/midpoint/import/sis-export.csv</icfccsvfile:filePath>
>
>
>  Thanks,
> 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.
>
>
> _______________________________________________
> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>

-- 


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/20150211/97c22f35/attachment.htm>


More information about the midPoint mailing list