Skip to content
Permalink
Newer
Older
100644 102 lines (96 sloc) 3.43 KB
1
<!--
2
~ Copyright (c) 2019 Evolveum and contributors
3
~
4
~ This work is dual-licensed under the Apache License 2.0
5
~ and European Union Public License. See LICENSE file for details.
6
-->
7
8
<resource oid="fe805d13-481b-43ec-97d8-9d2df72cd38e" xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
9
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
10
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:my="http://myself.me/schemas/whatever"
11
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
12
13
<name>Target: Mailing lists (CSV)</name>
14
15
<connectorRef type="ConnectorType">
16
<filter>
17
<q:equal>
18
<q:path>c:connectorType</q:path>
19
<q:value>com.evolveum.polygon.connector.csv.CsvConnector</q:value>
20
</q:equal>
21
</filter>
22
</connectorRef>
23
24
<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">
25
26
<icfc:configurationProperties>
27
<icfi:filePath>/opt/midpoint/var/mailing-lists.csv</icfi:filePath>
28
<icfi:encoding>utf-8</icfi:encoding>
29
<icfi:fieldDelimiter>,</icfi:fieldDelimiter>
30
<icfi:multivalueDelimiter>;</icfi:multivalueDelimiter>
31
<icfi:uniqueAttribute>uid</icfi:uniqueAttribute>
32
</icfc:configurationProperties>
33
34
</connectorConfiguration>
35
<schemaHandling>
36
<objectType>
37
<displayName>Default Account</displayName>
38
<default>true</default>
39
<objectClass>ri:AccountObjectClass</objectClass>
40
<attribute>
41
<ref>ri:uid</ref>
42
<outbound>
43
<strength>strong</strength>
44
<source>
45
<path>name</path>
46
</source>
47
</outbound>
48
</attribute>
49
<attribute>
50
<ref>ri:mail</ref>
51
<outbound>
52
<strength>strong</strength>
53
<source>
54
<path>emailAddress</path>
55
</source>
56
</outbound>
57
</attribute>
58
<attribute>
59
<ref>ri:lists</ref>
60
<limitations>
61
<maxOccurs>unbounded</maxOccurs>
62
</limitations>
63
<tolerant>false</tolerant>
64
<!-- outbound is in metarole-mailing-list -->
65
</attribute>
66
</objectType>
67
</schemaHandling>
68
<synchronization>
69
<objectSynchronization>
70
<enabled>true</enabled>
71
<correlation>
72
<q:equal>
73
<q:path>name</q:path>
74
<expression>
75
<path>$projection/attributes/uid</path>
76
</expression>
77
</q:equal>
78
</correlation>
79
<reaction>
80
<situation>linked</situation>
81
<synchronize>true</synchronize>
82
</reaction>
83
<reaction>
84
<situation>deleted</situation>
85
<synchronize>true</synchronize>
86
<action>
87
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri>
88
</action>
89
</reaction>
90
<reaction>
91
<situation>unlinked</situation>
92
<synchronize>true</synchronize>
93
<action>
94
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
95
</action>
96
</reaction>
97
<reaction>
98
<situation>unmatched</situation>
99
</reaction>
100
</objectSynchronization>
101
</synchronization>
102
</resource>
You can’t perform that action at this time.