[midPoint] Oh, another question
Belleville-Rioux, Vincent
rioux.vincent at uqam.ca
Thu Sep 26 22:16:59 CEST 2013
Also, any way to prevent having all that namespacing spam generated when I save XMLs inside midPoint?
It gets almost unreadable... Like so :
<resource xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
oid="4e2e5de9-7aa1-11e2-a914-001e8c717e5b"
version="12">
<name>
<orig xmlns="http://prism.evolveum.com/xml/ns/public/types-2">Registrariat importation CSV</orig>
<norm xmlns="http://prism.evolveum.com/xml/ns/public/types-2">registrariat importation csv</norm>
</name>
<operationalState>
<c:lastAvailabilityStatus xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-2"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"
xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2"
xmlns:wfcf="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2"
xmlns:m="http://midpoint.evolveum.com/xml/ns/public/model/model-context-2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:enc="http://www.w3.org/2001/04/xmlenc#">up</c:lastAvailabilityStatus>
</operationalState>
<connectorRef xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
oid="6b776736-77ac-4a58-ba6b-0a0e7bf796ae"
type="c:ConnectorType">
<filter>
<q:equal xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<q:path>c:connectorType</q:path>
<q:value>org.forgerock.openicf.csvfile.CSVFileConnector</q:value>
</q:equal>
</filter>
</connectorRef>
<connectorConfiguration>
<icfc:configurationProperties xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2">
<gen110:usingMultivalue xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">false</gen110:usingMultivalue>
<gen110:encoding xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">utf-8</gen110:encoding>
<gen110:uniqueAttribute xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">id</gen110:uniqueAttribute>
<gen110:valueQualifier xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">"</gen110:valueQualifier>
<gen110:filePath xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">e:/midpoint/csv/registrariat.csv</gen110:filePath>
<gen110:fieldDelimiter xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">,</gen110:fieldDelimiter>
<gen110:passwordAttribute xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">password</gen110:passwordAttribute>
<gen110:multivalueDelimiter xmlns:gen110="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/org.forgerock.openicf.connectors.csvfile-connector/org.forgerock.openicf.csvfile.CSVFileConnector">;</gen110:multivalueDelimiter>
</icfc:configurationProperties>
</connectorConfiguration>
<schema>
<c:cachingMetadata xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-2"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"
xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2"
xmlns:wfcf="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2"
xmlns:m="http://midpoint.evolveum.com/xml/ns/public/model/model-context-2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:enc="http://www.w3.org/2001/04/xmlenc#">
<c:retrievalTimestamp>2013-09-26T10:50:12.025-04:00</c:retrievalTimestamp>
<c:serialNumber>ce36d300d27ff016-5fee5ac78b0e18df</c:serialNumber>
</c:cachingMetadata>
<definition>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-2"
xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-2"
elementFormDefault="qualified"
targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"/>
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-2"/>
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-2"/>
<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 minOccurs="0" ref="icfs:uid">
<xsd:annotation>
<xsd:appinfo>
<a:displayName>ICF UID</a:displayName>
<a:access>read</a:access>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="codeProgramme" type="xsd:string"/>
<xsd:element minOccurs="0" name="firstname" type="xsd:string"/>
<xsd:element minOccurs="0" name="startDate" type="xsd:string"/>
<xsd:element ref="icfs:name">
<xsd:annotation>
<xsd:appinfo>
<a:displayName>ICF NAME</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="disabled" type="xsd:string">
<xsd:annotation>
<xsd:appinfo>
<a:ignore>true</a:ignore>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="endDate" type="xsd:string"/>
<xsd:element minOccurs="0" name="lastname" type="xsd:string"/>
<xsd:element minOccurs="0" name="employeeType" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</definition>
</schema>
<c:schemaHandling xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-2"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"
xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2"
xmlns:wfcf="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2"
xmlns:m="http://midpoint.evolveum.com/xml/ns/public/model/model-context-2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:enc="http://www.w3.org/2001/04/xmlenc#">
<c:objectType>
<c:kind>account</c:kind>
<c:intent>default</c:intent>
<c:displayName>Default Account</c:displayName>
<c:default>true</c:default>
<c:objectClass xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">ri:AccountObjectClass</c:objectClass>
<c:attribute>
<c:ref>icfs:name</c:ref>
<c:outbound>
<c:strength>weak</c:strength>
<c:source>
<c:path xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">$user/name</c:path>
</c:source>
</c:outbound>
<c:inbound>
<c:target>
<c:path xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">$user/name</c:path>
</c:target>
</c:inbound>
</c:attribute>
<c:attribute>
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">ri:firstname</c:ref>
<c:displayName>First Name</c:displayName>
<c:outbound>
<c:strength>weak</c:strength>
<c:source>
<c:path xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">$user/givenName</c:path>
</c:source>
</c:outbound>
<c:inbound>
<c:target>
<c:path xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">$user/givenName</c:path>
</c:target>
</c:inbound>
</c:attribute>
<c:attribute>
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">ri:lastname</c:ref>
<c:displayName>Last Name</c:displayName>
<c:outbound>
<c:strength>weak</c:strength>
<c:source>
<c:path xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">$user/familyName</c:path>
</c:source>
</c:outbound>
<c:inbound>
<c:target>
<c:path xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">$user/familyName</c:path>
</c:target>
</c:inbound>
</c:attribute>
<c:attribute>
<c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">ri:employeeType</c:ref>
<c:displayName>Employee Type</c:displayName>
<c:inbound>
<c:expression>
<c:description>Expression that assigns a fixed value</c:description>
<c:value xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">Etudiant</c:value>
</c:expression>
<c:target>
<c:path xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">$user/employeeType</c:path>
</c:target>
</c:inbound>
</c:attribute>
<c:activation>
<c:administrativeStatus>
<c:outbound/>
<c:inbound>
<c:strength>weak</c:strength>
</c:inbound>
</c:administrativeStatus>
</c:activation>
<c:credentials>
<c:password>
<c:outbound>
<c:expression>
<c:asIs/>
</c:expression>
</c:outbound>
<c:inbound>
<c:strength>weak</c:strength>
<c:expression>
<c:generate/>
</c:expression>
</c:inbound>
</c:password>
</c:credentials>
</c:objectType>
</c:schemaHandling>
<c:capabilities xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-2"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"
xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2"
xmlns:wfcf="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2"
xmlns:m="http://midpoint.evolveum.com/xml/ns/public/model/model-context-2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:enc="http://www.w3.org/2001/04/xmlenc#">
<c:cachingMetadata>
<c:retrievalTimestamp>2013-09-26T10:50:12.027-04:00</c:retrievalTimestamp>
<c:serialNumber>b6d29d3bcdfcec87-2aba7aed6f205c34</c:serialNumber>
</c:cachingMetadata>
<c:native>
<cap:credentials>
<cap:password>
<cap:returnedByDefault>false</cap:returnedByDefault>
</cap:password>
</cap:credentials>
<cap:liveSync/>
<cap:testConnection/>
<cap:script>
<cap:host>
<cap:type>resource</cap:type>
</cap:host>
<cap:host>
<cap:type>connector</cap:type>
</cap:host>
</cap:script>
</c:native>
<c:configured>
<cap:activation>
<cap:status>
<cap:attribute xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">ri:disabled</cap:attribute>
<cap:enableValue>false</cap:enableValue>
<cap:disableValue>true</cap:disableValue>
</cap:status>
</cap:activation>
</c:configured>
</c:capabilities>
<c:synchronization xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-2"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"
xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2"
xmlns:wfcf="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2"
xmlns:m="http://midpoint.evolveum.com/xml/ns/public/model/model-context-2"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:enc="http://www.w3.org/2001/04/xmlenc#">
<c:objectSynchronization>
<c:enabled>true</c:enabled>
<c:correlation>
<q:equal xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
xmlns:my="http://myself.me/schemas/whatever"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd">
<q:path>c:name</q:path>
<c:expression>
<c:path>$account/attributes/icfs:name</c:path>
</c:expression>
</q:equal>
</c:correlation>
<c:reaction>
<c:situation>linked</c:situation>
<c:action ref="http://midpoint.evolveum.com/xml/ns/public/model/action-2#modifyUser"/>
</c:reaction>
<c:reaction>
<c:situation>deleted</c:situation>
<c:action ref="http://midpoint.evolveum.com/xml/ns/public/model/action-2#addAccount"/>
</c:reaction>
<c:reaction>
<c:situation>unlinked</c:situation>
<c:action ref="http://midpoint.evolveum.com/xml/ns/public/model/action-2#linkAccount"/>
</c:reaction>
<c:reaction>
<c:situation>unmatched</c:situation>
<c:action ref="http://midpoint.evolveum.com/xml/ns/public/model/action-2#addUser">
<c:objectTemplateRef xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gen914="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd"
oid="c0c010c0-d34d-b33f-f00d-777222222222"/>
</c:action>
</c:reaction>
</c:objectSynchronization>
</c:synchronization>
</resource>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20130926/383b04a0/attachment.htm>
More information about the midPoint
mailing list