[midPoint] Midpoint Beginners Guide

Chris Moore chris.moore5 at wisc.edu
Mon Nov 27 15:49:00 CET 2017


Arnost,

Thanks for your input, I was able to get it working.

I can’t remember where, but I believe I got <valueExpresssion> from one of the samples, there are a ton of them out there, and they seem to change with midpoint versions, must have stumbled upon an example that didn’t meet my situation.

Chris Moore | EIS / Middleware | chris.moore5 at wisc.edu


From: midPoint <midpoint-bounces at lists.evolveum.com> on behalf of "Arnošt Starosta - AMI Praha a.s." <arnost.starosta at ami.cz>
Reply-To: midPoint General Discussion <midpoint at lists.evolveum.com>
Date: Thursday, November 23, 2017 at 3:21 AM
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Subject: Re: [midPoint] Midpoint Beginners Guide

Hi Chris,

i would blame your correlation expression, 'valueExpressionexpression' seems odd. Please try

<correlation>
   <q:equal>
      <q:path>c:name</q:path>
      <expression>
         <path>$shadow/attributes/icfs:uid</path>
      </expression>
   </q:equal>
</correlation>

also if you are stuck, check midpoint samples for other ok configuration examples

https://github.com/Evolveum/midpoint/tree/master/samples

arnost

2017-11-22 18:46 GMT+01:00 Chris Moore <chris.moore5 at wisc.edu<mailto:chris.moore5 at wisc.edu>>:
Hello,

I am new to midpoint, and am trying to get a PoC environment off of the ground.  After looking at the wiki, and midpoint documentation, I am struggling to get a simple DB collection and resource configuration off of the ground.

I am trying to collect from a sample table, and add those records as users in midpoint (authoritative source), I can define the schema handling section, but when trying to perform an unmatched sync, I get the following error.

Error occurred during resource object shadow owner lookup, reason: Couldn't convert query.

Attached is my Correlation Query.

<attribute>
   <ref>icfs:uid</ref>
   <displayName>Entry UUID</displayName>
   <limitations>
      <access>
         <read>true</read>
      </access>
   </limitations>
</attribute>

<attribute>
   <ref>icfs:name</ref>
   <displayName>Name</displayName>
   <limitations>
      <minOccurs>0</minOccurs>
      <access>
        <read>true</read>
         <add>true</add>
         <modify>true</modify>
      </access>
   </limitations>
</attribute>

<attribute>
   <ref>ri:uid</ref>
      <outbound>
         <source>
            <path>$user/Name</path>
         </source>
      </outbound>
      <inbound>
         <target>
            <path>$user/Name</path>
         </target>
      </inbound>
</attribute>



<correlation>
   <q:equal>
      <q:path>c:name</q:path>
      <valueExpressionexpression>
         <path>$account/attributes/ri:uid</path>
      </valueExpressionexpression>
   </q:equal>
</correlation>



Chris Moore | EIS / Middleware | chris.moore5 at wisc.edu<mailto:chris.moore5 at wisc.edu>


_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint



--

Arnošt Starosta
solution architect

gsm: [+420] 603 794 932
e-mail: arnost.starosta at ami.cz<mailto:arnost.starosta at ami.cz>






AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel.: [+420] 274 783 239
web: www.ami.cz<http://www.ami.cz/>






[mage removed by sender. AMI Praha a.s.]


[mage removed by sender. AMI Praha a.s.]<http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>


Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171127/2ff7973b/attachment.htm>


More information about the midPoint mailing list