[midPoint] Issues importing CSV-file to "Users"

Christian Skøt Hoelgaard choel at frederikssund.dk
Mon Dec 4 13:07:51 CET 2017


Hi all,

I am in the process of exploring the possibilities of midPoint to see if it is a viable IDM solution for my organization.

So now I have been "trial-and-erroring" for a couple of weeks - trying to get an understanding of the concept...  :o)

I am beginning to grasp the workings of resources, but I still seems like things are not working as they should.

Presently I am trying to make a simple (?) import of users from a CSV file. I have managed to import them manually ("Cog" > "Import") from the "Accounts" view of the resource. But any form of synchronization is simply not happening. If I make changes in the CSV I need to manually do a reconciliation (in the "User" view) for the changes to take effect.

For every single account the result in the above view is "FailedOperationTypeType.null:Fatal Error" and the error message is this:

Operation: operation.com.evolveum.midpoint.schema.result.searchResult
Message: Failed to import: com.evolveum.midpoint.util.exception.ConfigurationException: Action definition in resource resource:86b229c0-7396-45f0-b1bd-f11e732ffe59(CSV Import Test) doesn't contain handler URI

I don't understand this, as the oid of the resource is in fact "86b229c0-7396-45f0-b1bd-f11e732ffe59" and the XML has a "handlerUri" for each action defined:

<synchronization>
      <objectSynchronization>
         <name>SyncCsvUser</name>
         <kind>account</kind>
         <focusType>c:UserType</focusType>
         <enabled>true</enabled>
         <correlation>
            <q:description>Correlation</q:description>
            <q:equal>
               <q:path>c:name</q:path>
               <expression xmlns="">
                  <path>$c:account/c:attributes/ri:samaccountname</path>
               </expression>
            </q:equal>
         </correlation>
         <reconcile>false</reconcile>
         <reaction>
            <situation>linked</situation>
            <synchronize>true</synchronize>
            <reconcile>false</reconcile>
            <action>
               <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri>
            </action>
         </reaction>
         <reaction>
            <situation>deleted</situation>
            <synchronize>true</synchronize>
            <reconcile>false</reconcile>
            <action>
               <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#inactivateFocus</handlerUri>
            </action>
         </reaction>
         <reaction>
            <situation>unlinked</situation>
            <synchronize>true</synchronize>
            <reconcile>false</reconcile>
            <action>
               <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
            </action>
         </reaction>
         <reaction>
            <situation>unmatched</situation>
            <reconcile>false</reconcile>
            <action>
               <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri>
            </action>
         </reaction>
      </objectSynchronization>
   </synchronization>

I hope someone can point me in the right direction, so I can get on testing. Thanks in advance!



Kind regards,



Christian Skøt Hoelgaard

IT Support Specialist

www.frederikssund.dk





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171204/33ed20d9/attachment.htm>


More information about the midPoint mailing list