<div dir="ltr">Hah! I never clicked the little gear icon, I thought you were going the other 'Edit' route that opens the resource wizard, good to know that is also there too. I guess I am so used to going through the config I never checked any other places..<div><br></div><div>JASON</div><div class="gmail_extra">
<br><div class="gmail_quote">On Wed, Sep 14, 2016 at 1:26 PM, Keith Hazelton <span dir="ltr"><<a href="mailto:keith.hazelton@wisc.edu" target="_blank">keith.hazelton@wisc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Jason,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">You suggest taking the “Configuration/Repository Objects/Resources/'Localhost OpenDJ' details” path in the Admin GUI.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I was using “Resource list/Resource detail/'localhost OpenDJ' details”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Interestingly, I compared the two XML documents and they are byte-wise identical, so I think there are two Admin GUI paths to the same Localhost OpenDJ xml definition.<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> Regards, --Keith<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">______________________________<wbr>_____</span><span style="font-size:10.5pt;font-family:Calibri;color:#888888"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:#888888">email & jabber:
<a href="mailto:keith.hazelton@wisc.edu" target="_blank">keith.hazelton@wisc.edu</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:#888888">calendar:
<a href="http://go.wisc.edu/i6zxx0" target="_blank">http://go.wisc.edu/i6zxx0</a></span><span style="font-size:11.0pt;font-family:Calibri"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
</span><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.<wbr>evolveum.com</a>> on behalf of Jason Everling <<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</a>><span class=""><br>
<b>Reply-To: </b>midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
</span><span class=""><b>Date: </b>Wednesday, September 14, 2016 at 12:55 <br>
</span><span class=""><b>To: </b>midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Subject: </b>Re: [midPoint] Discovering Custom objectClasses<u></u><u></u></span></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<blockquote style="border:none;border-left:solid #b5c4df 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal">Are you meaning through the config editor? Your would edit all object XMLs under Configuration -> Repository objects,
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><img border="0" width="328" height="185" src="cid:image001.png@01D20E8B.9A251450" alt="nline image 1"><u></u><u></u></p>
</div><span class="">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">And then in the dropdown choose, resources<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</span><div>
<p class="MsoNormal"><img border="0" width="187" height="350" src="cid:image002.png@01D20E8B.9A251450" alt="nline image 2"><u></u><u></u></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">from there, you will see your resources and if you click on the name, you can edit it.<u></u><u></u></p>
</div>
</div></div></div><div><div class="h5">
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">JASON<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Sep 14, 2016 at 12:37 PM, Keith Hazelton <<a href="mailto:keith.hazelton@wisc.edu" target="_blank">keith.hazelton@wisc.edu</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Pavel,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I think I understand the changes needed to support auxiliary object classes and their attributes in midPoint resource definitions.
You provide an example using curl to PUT a revised resource definition xml file via midPoint’s RESTful API.
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">My question is would it work equally well to use the midPoint Admin GUI, browse to the ‘localhost OpenDJ’ resource and directly
edit the xml there? </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> Regards, --Keith</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">______________________________<wbr>_____</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:#888888">email & jabber:
<a href="mailto:keith.hazelton@wisc.edu" target="_blank">keith.hazelton@wisc.edu</a></span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:#888888">calendar:
<a href="http://go.wisc.edu/i6zxx0" target="_blank">http://go.wisc.edu/i6zxx0</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From:
</span></b><span style="font-family:Calibri;color:black">midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.<wbr>evolveum.com</a>> on behalf of Pavol Mederly <<a href="mailto:pavol.mederly@evolveum.com" target="_blank">pavol.mederly@evolveum.com</a>><br>
<b>Reply-To: </b>midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Date: </b>Friday, August 19, 2016 at 13:04 <br>
<b>To: </b>midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Subject: </b>Re: [midPoint] Discovering Custom objectClasses</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #b5c4df 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Matt,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">as for your second question,</span><u></u><u></u></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="color:black">Also, my resource XML that I edit and put in my source control system.... Is there a place to put that in midpoint.home that gets imported automatically
(midpoint.home/import)? Or do I need to manually import that every time I make a change to it?</span><u></u><u></u></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="color:black">We do not recommend such auto-import feature, although it could be implemented quite easily. We prefer importing the resource after a change instead. It
is not necessary to do that via GUI, however. You could prepare simple scripts that would do the same: an example is this one:</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:blue">curl.exe --user administrator:5ecr3t -H "Content-Type: application/xml" -X PUT
<a href="http://localhost:8080/midpoint/ws/rest/resources/" target="_blank">http://localhost:8080/<wbr>midpoint/ws/rest/resources/</a><strong>ef2<wbr>bc95b-76e0-48e2-86d6-<wbr>3d4f02d3e1a2</strong> -d @<strong>resource.xml</strong> -v</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Note that
</span><strong><span style="color:blue">ef2bc95b-76e0-48e2-86d6-<wbr>3d4f02d3e1a2</span></strong><span style="color:black"> is OID of the object to be imported or re-imported. (And, as of 3.4, it has to be present also in the resource.xml file that is being imported:
in oid attribute of the resource object.)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">I'd suggest creating a simple .bat (.sh) file containing the above command and invoking it after you make a change in the resource XML file.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Also, if time permits, we hope to prepare an Eclipse plugin that would allow uploading such XML files by clicking of a key. (See
<a href="https://jira.evolveum.com/browse/MID-3358" target="_blank">MID-3358</a>.)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Best regards,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Pavol</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.55pt">
<span style="color:black"> </span><span style="font-size:10.0pt"> </span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div></div></div>
</div>
</blockquote>
</div>
</div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div></div>
<br>
<font size="2"><br><br>CONFIDENTIALITY NOTICE:<br>This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s), you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the sender and delete this e-mail and any attachments from your computer. </font><br>