<div dir="ltr">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.<div><br></div><div>The update to the wiki helped me understand the setup a little better.</div><div><br></div><div>JASON</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 3:34 AM, Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello Jason,<br>
<br>
I've updated java connector server documentation here: <a href="https://wiki.evolveum.com/display/midPoint/Java+Connector+Server" target="_blank">https://wiki.evolveum.com/display/midPoint/Java+Connector+Server</a>.<br>
<br>
After installing the server (please use current version of
1.4.0.49) you can proceed just as you described: <br>
- import the connectorHost object<br>
- run "discovery" on that connector host<br>
- import your csv resource (see below)<br>
<br>
Beware that when importing the resource, the filter would now
match 2 CSV connectors (local and remote one), and so the import
would fail.<br>
- 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.)<br>
- Another possibility is to remove filter from
<connectorRef> altogether and replace it with oid='...'
attribute pointing to remote csv connector object<br>
- Yet another possibility is to enhance filter to match only your
remote connector.<br>
<br>
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. :-)<br>
<br>
Best regards,<br>
Pavol<div><div class="h5"><br>
<br>
On 10. 2. 2015 20:22, Jason Everling wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">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?
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>
<div><connectorHost xmlns="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" target="_blank">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"></div>
<div> <name>SIS System</name></div>
<div> <hostname>10.10.10.10</hostname></div>
<div> <port>8759</port></div>
<div> <sharedSecret>secret</sharedSecret></div>
<div></connectorHost></div>
</div>
<div><br>
</div>
<div>Also, the CSV resource I have is there anything I need to
change in the connector configuration, I have currently.</div>
<div><br>
</div>
<div>
<div> <!-- Reference to the ICF CSVFile connector.
--></div>
<div> <connectorRef type="ConnectorType"></div>
<div> <filter></div>
<div> <q:equal></div>
<div>
<q:path>c:connectorType</q:path></div>
<div>
<q:value>com.evolveum.polygon.csvfile.CSVFileConnector</q:value></div>
<div> </q:equal></div>
<div> </filter></div>
<div> </connectorRef></div>
<div><br>
</div>
<div> <!-- Configuration Section --></div>
<div> <c:connectorConfiguration></div>
<div><br>
</div>
<div> <!-- Configuration specific for the
CSVfile connector --></div>
<div> <icfc:configurationProperties</div>
<div> xmlns:icfccsvfile="<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csvfile/com.evolveum.polygon.csvfile.CSVFileConnector" target="_blank">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csvfile/com.evolveum.polygon.csvfile.CSVFileConnector</a>"></div>
<div>
<icfccsvfile:filePath>/opt/midpoint/import/sis-export.csv</icfccsvfile:filePath></div>
</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>JASON</div>
</div>
</div>
<br>
</div></div><font><br>
<br>
CONFIDENTIALITY NOTICE:<br>
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. </font><br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div>
<br>
<font size="2"><br><br>CONFIDENTIALITY NOTICE:<br>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. </font><br>