[midPoint] Discovering Custom objectClasses

Jason Everling jeverling at bshp.edu
Wed Sep 14 20:34:02 CEST 2016


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..

JASON

On Wed, Sep 14, 2016 at 1:26 PM, Keith Hazelton <keith.hazelton at wisc.edu>
wrote:

> Jason,
>
>
>
> You suggest taking the “Configuration/Repository
> Objects/Resources/'Localhost OpenDJ' details” path in the Admin GUI.
>
> I was using “Resource list/Resource detail/'localhost OpenDJ' details”
>
>
>
> 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.
>
>
>
>         Regards,   --Keith
>
> ___________________________________
>
> email & jabber: keith.hazelton at wisc.edu
>
> calendar: http://go.wisc.edu/i6zxx0
>
>
>
> *From: *midPoint <midpoint-bounces at lists.evolveum.com> on behalf of Jason
> Everling <jeverling at bshp.edu>
> *Reply-To: *midPoint General Discussion <midpoint at lists.evolveum.com>
> *Date: *Wednesday, September 14, 2016 at 12:55
> *To: *midPoint General Discussion <midpoint at lists.evolveum.com>
> *Subject: *Re: [midPoint] Discovering Custom objectClasses
>
>
>
> Are you meaning through the config editor? Your would edit all object XMLs
> under Configuration -> Repository objects,
>
>
>
> [image: nline image 1]
>
>
>
> And then in the dropdown choose, resources
>
>
>
> [image: nline image 2]
>
>
>
> from there, you will see your resources and if you click on the name, you
> can edit it.
>
>
> JASON
>
>
>
> On Wed, Sep 14, 2016 at 12:37 PM, Keith Hazelton <keith.hazelton at wisc.edu>
> wrote:
>
> Pavel,
>
>
>
> 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.
>
>
>
> 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?
>
>
>
>              Regards,    --Keith
>
> ___________________________________
>
> email & jabber: keith.hazelton at wisc.edu
>
> calendar: http://go.wisc.edu/i6zxx0
>
>
>
> *From: *midPoint <midpoint-bounces at lists.evolveum.com> on behalf of Pavol
> Mederly <pavol.mederly at evolveum.com>
> *Reply-To: *midPoint General Discussion <midpoint at lists.evolveum.com>
> *Date: *Friday, August 19, 2016 at 13:04
> *To: *midPoint General Discussion <midpoint at lists.evolveum.com>
> *Subject: *Re: [midPoint] Discovering Custom objectClasses
>
>
>
> Matt,
>
>
>
> as for your second question,
>
> 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?
>
> 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:
>
>
>
> curl.exe --user administrator:5ecr3t -H "Content-Type: application/xml" -X
> PUT http://localhost:8080/midpoint/ws/rest/resources/
> *ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2* -d @*resource.xml* -v
>
>
>
> Note that *ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2* 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.)
>
>
>
> 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.
>
>
>
> Also, if time permits, we hope to prepare an Eclipse plugin that would
> allow uploading such XML files by clicking of a key. (See MID-3358
> <https://jira.evolveum.com/browse/MID-3358>.)
>
>
>
> Best regards,
>
> Pavol
>
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>

-- 


CONFIDENTIALITY NOTICE:
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. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160914/67353918/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 16446 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160914/67353918/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 23254 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160914/67353918/attachment-0001.png>


More information about the midPoint mailing list