Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"guid","uname","firstname","lastname","disabled","password" | ||
"001","user01","Firstname","Lastname","false","secret" | ||
"002","user02","Test","Lastname","false","secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"username","firstname","lastname","disabled","password" | ||
"user01","Firstname","Lastname","false","secret" | ||
"user02","Test","Lastname","false","secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<resource oid="b39e0b10-2449-11e7-b0c1-73f52bb2a496" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" | ||
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3" | ||
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"> | ||
|
||
<name>Test CSV: guid</name> | ||
|
||
<description>Simple CSV resource that is using primary identifier (guid) and secondary identifier (uname)</description> | ||
|
||
<connectorRef type="ConnectorType"> | ||
<filter> | ||
<q:equal> | ||
<q:path>c:connectorType</q:path> | ||
<q:value>com.evolveum.polygon.connector.csv.CsvConnector</q:value> | ||
</q:equal> | ||
</filter> | ||
</connectorRef> | ||
|
||
<connectorConfiguration xmlns:icfi="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csv/com.evolveum.polygon.connector.csv.CsvConnector"> | ||
|
||
<icfc:configurationProperties> | ||
<icfi:filePath>target/midpoint.csv</icfi:filePath> | ||
<icfi:encoding>utf-8</icfi:encoding> | ||
<icfi:fieldDelimiter>,</icfi:fieldDelimiter> | ||
<icfi:multivalueDelimiter>;</icfi:multivalueDelimiter> | ||
<icfi:uniqueAttribute>guid</icfi:uniqueAttribute> | ||
<icfi:nameAttribute>uname</icfi:nameAttribute> | ||
<icfi:passwordAttribute>password</icfi:passwordAttribute> | ||
</icfc:configurationProperties> | ||
|
||
</connectorConfiguration> | ||
|
||
<!-- Schema is empty. Schema should be generated by provisioning on the first use of this resource. --> | ||
|
||
<!-- No need to schemaHandling in this case. Everything is in schema (annotations) --> | ||
|
||
<capabilities> | ||
<configured> | ||
<cap:activation> | ||
<cap:status> | ||
<cap:attribute>ri:disabled</cap:attribute> | ||
<cap:enableValue>false</cap:enableValue> | ||
<cap:disableValue>true</cap:disableValue> | ||
</cap:status> | ||
</cap:activation> | ||
</configured> | ||
</capabilities> | ||
</resource> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<resource oid="ef2bc95b-76e0-59e2-86d6-9999cccccccc" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" | ||
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3" | ||
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"> | ||
|
||
<name>Test CSV: username</name> | ||
|
||
<description>Simple CSV resource that is using single identifier (username)</description> | ||
|
||
<connectorRef type="ConnectorType"> | ||
<filter> | ||
<q:equal> | ||
<q:path>c:connectorType</q:path> | ||
<q:value>com.evolveum.polygon.connector.csv.CsvConnector</q:value> | ||
</q:equal> | ||
</filter> | ||
</connectorRef> | ||
|
||
<connectorConfiguration xmlns:icfi="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csv/com.evolveum.polygon.connector.csv.CsvConnector"> | ||
|
||
<icfc:configurationProperties> | ||
<icfi:filePath>target/midpoint.csv</icfi:filePath> | ||
<icfi:encoding>utf-8</icfi:encoding> | ||
<icfi:fieldDelimiter>,</icfi:fieldDelimiter> | ||
<icfi:multivalueDelimiter>;</icfi:multivalueDelimiter> | ||
<icfi:uniqueAttribute>username</icfi:uniqueAttribute> | ||
<icfi:passwordAttribute>password</icfi:passwordAttribute> | ||
</icfc:configurationProperties> | ||
|
||
</connectorConfiguration> | ||
|
||
<!-- Schema is empty. Schema should be generated by provisioning on the first use of this resource. --> | ||
|
||
<!-- No need to schemaHandling in this case. Everything is in schema (annotations) --> | ||
|
||
<capabilities> | ||
<configured> | ||
<cap:activation> | ||
<cap:status> | ||
<cap:attribute>ri:disabled</cap:attribute> | ||
<cap:enableValue>false</cap:enableValue> | ||
<cap:disableValue>true</cap:disableValue> | ||
</cap:status> | ||
</cap:activation> | ||
</configured> | ||
</capabilities> | ||
</resource> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The CSVFile connector is deprecated. Please use CSV connector instead. | ||
See https://wiki.evolveum.com/display/midPoint/CSVFile+Connector+Migration |