Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mPresourceDef/demoGrouperSqlSis.xml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
312 lines (312 sloc)
17.2 KB
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
<resource xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" oid="4d70a0da-02dd-41cf-b0a1-00e75d3eaa15" version="1"> | |
<name>SQL SIS persons (sources)</name> | |
<metadata> | |
<requestTimestamp>2020-03-10T15:18:44.447Z</requestTimestamp> | |
<createTimestamp>2020-03-10T15:18:44.468Z</createTimestamp> | |
<createChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#init</createChannel> | |
</metadata> | |
<iteration>0</iteration> | |
<iterationToken/> | |
<operationalState> | |
<lastAvailabilityStatus>up</lastAvailabilityStatus> | |
</operationalState> | |
<connectorRef oid="d792f266-e3a8-427e-bca6-2b8b1dcd929d" relation="org:default" type="c:ConnectorType"> | |
<!-- ConnId net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLConnector v2.2.6-SNAPSHOT --> | |
<filter> | |
<q:equal> | |
<q:path>connectorType</q:path> | |
<q:value>net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLConnector</q:value> | |
</q:equal> | |
</filter> | |
</connectorRef> | |
<connectorConfiguration xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"> | |
<icfc:configurationProperties xmlns:gen602="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/net.tirasa.connid.bundles.db.scriptedsql/net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLConnector"> | |
<gen602:quoting/> | |
<gen602:host>sources</gen602:host> | |
<gen602:port>3306</gen602:port> | |
<gen602:user>root</gen602:user> | |
<gen602:password> | |
<t:encryptedData> | |
<t:encryptionMethod> | |
<t:algorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</t:algorithm> | |
</t:encryptionMethod> | |
<t:keyInfo> | |
<t:keyName>x48hU9530g2xP0NJksy0w8ZrtZw=</t:keyName> | |
</t:keyInfo> | |
<t:cipherData> | |
<t:cipherValue>nyD4E26fRNeXUMeolIU6M39QTDuFK/i669MVFJLB5nU=</t:cipherValue> | |
</t:cipherData> | |
</t:encryptedData> | |
</gen602:password> | |
<gen602:database>sis</gen602:database> | |
<gen602:jdbcDriver>org.mariadb.jdbc.Driver</gen602:jdbcDriver> | |
<gen602:jdbcUrlTemplate>jdbc:mysql://%h:%p/%d?useUnicode=true&characterEncoding=utf8&connectionCollation=utf8_bin</gen602:jdbcUrlTemplate> | |
<gen602:enableEmptyString>true</gen602:enableEmptyString> | |
<gen602:rethrowAllSQLExceptions>true</gen602:rethrowAllSQLExceptions> | |
<gen602:nativeTimestamps>false</gen602:nativeTimestamps> | |
<gen602:allNative>false</gen602:allNative> | |
<gen602:validConnectionQuery/> | |
<gen602:datasource/> | |
<gen602:scriptingLanguage>GROOVY</gen602:scriptingLanguage> | |
<gen602:jndiProperties/> | |
<gen602:reloadScriptOnExecution>false</gen602:reloadScriptOnExecution> | |
<gen602:searchScriptFileName>/opt/midpoint/var/res/sis-persons/SearchScript.groovy</gen602:searchScriptFileName> | |
<gen602:schemaScriptFileName>/opt/midpoint/var/res/sis-persons/SchemaScript.groovy</gen602:schemaScriptFileName> | |
<gen602:testScriptFileName>/opt/midpoint/var/res/sis-persons/TestScript.groovy</gen602:testScriptFileName> | |
</icfc:configurationProperties> | |
</connectorConfiguration> | |
<schema> | |
<cachingMetadata> | |
<retrievalTimestamp>2020-03-10T15:18:50.015Z</retrievalTimestamp> | |
<serialNumber>eabbbfcd21c1ab55-8e0565a1d4713c64</serialNumber> | |
</cachingMetadata> | |
<definition> | |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" elementFormDefault="qualified" targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"> | |
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-3"/> | |
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"/> | |
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"/> | |
<xsd:complexType name="AccountObjectClass"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<ra:resourceObject/> | |
<ra:identifier>icfs:uid</ra:identifier> | |
<ra:secondaryIdentifier>icfs:name</ra:secondaryIdentifier> | |
<ra:displayNameAttribute>icfs:name</ra:displayNameAttribute> | |
<ra:namingAttribute>icfs:name</ra:namingAttribute> | |
<ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass> | |
<ra:kind>account</ra:kind> | |
<ra:default>true</ra:default> | |
</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element name="uid" type="xsd:string"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<a:displayOrder>120</a:displayOrder> | |
<ra:frameworkAttributeName>uid</ra:frameworkAttributeName> | |
</xsd:appinfo> | |
</xsd:annotation> | |
</xsd:element> | |
<xsd:element minOccurs="0" name="surname" type="xsd:string"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<a:displayOrder>130</a:displayOrder> | |
<ra:frameworkAttributeName>surname</ra:frameworkAttributeName> | |
</xsd:appinfo> | |
</xsd:annotation> | |
</xsd:element> | |
<xsd:element minOccurs="0" name="mail" type="xsd:string"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<a:displayOrder>140</a:displayOrder> | |
<ra:frameworkAttributeName>mail</ra:frameworkAttributeName> | |
</xsd:appinfo> | |
</xsd:annotation> | |
</xsd:element> | |
<xsd:element ref="icfs:name"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<a:displayName>ConnId Name</a:displayName> | |
<a:displayOrder>110</a:displayOrder> | |
<ra:frameworkAttributeName>__NAME__</ra:frameworkAttributeName> | |
</xsd:appinfo> | |
</xsd:annotation> | |
</xsd:element> | |
<xsd:element minOccurs="0" name="fullName" type="xsd:string"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<a:displayOrder>150</a:displayOrder> | |
<ra:frameworkAttributeName>fullName</ra:frameworkAttributeName> | |
</xsd:appinfo> | |
</xsd:annotation> | |
</xsd:element> | |
<xsd:element minOccurs="0" name="givenName" type="xsd:string"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<a:displayOrder>160</a:displayOrder> | |
<ra:frameworkAttributeName>givenName</ra:frameworkAttributeName> | |
</xsd:appinfo> | |
</xsd:annotation> | |
</xsd:element> | |
<xsd:element minOccurs="0" ref="icfs:uid"> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<a:displayName>ConnId UID</a:displayName> | |
<a:displayOrder>100</a:displayOrder> | |
<a:access>read</a:access> | |
</xsd:appinfo> | |
</xsd:annotation> | |
</xsd:element> | |
</xsd:sequence> | |
</xsd:complexType> | |
</xsd:schema> | |
</definition> | |
</schema> | |
<schemaHandling> | |
<objectType id="1"> | |
<kind>account</kind> | |
<displayName>Normal Account</displayName> | |
<default>true</default> | |
<objectClass>ri:AccountObjectClass</objectClass> | |
<attribute id="2"> | |
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:uid</c:ref> | |
<displayName>UID</displayName> | |
<inbound id="7"> | |
<target> | |
<c:path>name</c:path> | |
</target> | |
</inbound> | |
<inbound id="8"> | |
<strength>strong</strength> | |
<expression> | |
<assignmentTargetSearch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:AssignmentTargetSearchExpressionEvaluatorType"> | |
<targetType>RoleType</targetType> | |
<oid>c89f31dd-8d4f-4e0a-82cb-58ff9d8c1b2f</oid> | |
<assignmentProperties xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:AssignmentPropertiesSpecificationType"> | |
<subtype>grouper-basic</subtype> | |
</assignmentProperties> | |
</assignmentTargetSearch> | |
</expression> | |
<target> | |
<c:path>assignment</c:path> | |
<set> | |
<condition> | |
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:ScriptExpressionEvaluatorType"> | |
<code> | |
assignment.subtype.contains('grouper-basic') | |
</code> | |
</script> | |
</condition> | |
</set> | |
</target> | |
</inbound> | |
<inbound id="9"> | |
<strength>strong</strength> | |
<expression> | |
<assignmentTargetSearch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:AssignmentTargetSearchExpressionEvaluatorType"> | |
<targetType>ArchetypeType</targetType> | |
<oid>958da09c-fefb-11e9-892d-975972472527</oid> | |
<assignmentProperties xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:AssignmentPropertiesSpecificationType"> | |
<subtype>grouper-basic</subtype> | |
</assignmentProperties> | |
</assignmentTargetSearch> | |
</expression> | |
<target> | |
<c:path>assignment</c:path> | |
<set> | |
<condition> | |
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:ScriptExpressionEvaluatorType"> | |
<code> | |
assignment.subtype.contains('grouper-basic') | |
</code> | |
</script> | |
</condition> | |
</set> | |
</target> | |
</inbound> | |
</attribute> | |
<attribute id="3"> | |
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:fullName</c:ref> | |
<displayName>Full Name</displayName> | |
<inbound id="10"> | |
<target> | |
<c:path>fullName</c:path> | |
</target> | |
</inbound> | |
</attribute> | |
<attribute id="4"> | |
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:surname</c:ref> | |
<displayName>Surname</displayName> | |
<inbound id="11"> | |
<target> | |
<c:path>familyName</c:path> | |
</target> | |
</inbound> | |
</attribute> | |
<attribute id="5"> | |
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:givenName</c:ref> | |
<displayName>Given Name</displayName> | |
<inbound id="12"> | |
<target> | |
<c:path>givenName</c:path> | |
</target> | |
</inbound> | |
</attribute> | |
<attribute id="6"> | |
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:mail</c:ref> | |
<displayName>Mail</displayName> | |
<matchingRule xmlns:mr="http://prism.evolveum.com/xml/ns/public/matching-rule-3">mr:stringIgnoreCase</matchingRule> | |
<inbound id="13"> | |
<target> | |
<c:path>emailAddress</c:path> | |
</target> | |
</inbound> | |
</attribute> | |
</objectType> | |
</schemaHandling> | |
<capabilities> | |
<cachingMetadata> | |
<retrievalTimestamp>2020-03-10T15:18:50.010Z</retrievalTimestamp> | |
<serialNumber>d9ce05b786196784-992300bab34ca713</serialNumber> | |
</cachingMetadata> | |
<native xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:CapabilityCollectionType"> | |
<cap:schema/> | |
<cap:liveSync/> | |
<cap:testConnection/> | |
<cap:create/> | |
<cap:update> | |
<cap:addRemoveAttributeValues>true</cap:addRemoveAttributeValues> | |
</cap:update> | |
<cap:delete/> | |
<cap:script> | |
<cap:host> | |
<cap:type>connector</cap:type> | |
</cap:host> | |
</cap:script> | |
<cap:read> | |
<cap:returnDefaultAttributesOption>false</cap:returnDefaultAttributesOption> | |
</cap:read> | |
</native> | |
</capabilities> | |
<synchronization> | |
<objectSynchronization> | |
<enabled>true</enabled> | |
<correlation> | |
<q:equal> | |
<q:path>name</q:path> | |
<expression> | |
<path xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"> | |
declare namespace ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"; | |
$projection/attributes/ri:uid | |
</path> | |
</expression> | |
</q:equal> | |
</correlation> | |
<reaction> | |
<situation>linked</situation> | |
<synchronize>true</synchronize> | |
</reaction> | |
<reaction> | |
<situation>deleted</situation> | |
<synchronize>true</synchronize> | |
<action> | |
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri> | |
</action> | |
</reaction> | |
<reaction> | |
<situation>unlinked</situation> | |
<synchronize>true</synchronize> | |
<action> | |
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri> | |
</action> | |
</reaction> | |
<reaction> | |
<situation>unmatched</situation> | |
<synchronize>true</synchronize> | |
<action> | |
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri> | |
</action> | |
</reaction> | |
</objectSynchronization> | |
</synchronization> | |
</resource> |