<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Jason,<br>
<br>
I've updated java connector server documentation here: <a
href="https://wiki.evolveum.com/display/midPoint/Java+Connector+Server">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<br>
<br>
On 10. 2. 2015 20:22, Jason Everling wrote:<br>
</div>
<blockquote
cite="mid:CAFkZXY7HOQGw5W6Qxv2yEPv1pMti5u909Z2a6_Q7UCraEGNoMQ@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">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
moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csvfile/com.evolveum.polygon.csvfile.CSVFileConnector">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 class=""
style="line-height:20px;font-family:Consolas,'Bitstream Vera
Sans Mono','Courier
New',Courier,monospace;font-size:14px;white-space:pre-wrap;color:rgb(51,51,51);border-radius:0px!important;border:0px!important;float:none!important;height:auto!important;margin:0px!important;outline:0px!important;overflow:visible!important;padding:0px
1em 0px
0em!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;background-image:none!important;background-repeat:initial!important"><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>JASON</div>
</div>
</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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>