[midPoint] Issue while uploading resource xml
Nitin G. Prabhu
Nitin.Prabhu at mastek.com
Tue Apr 8 21:24:20 CEST 2014
Thanks a lot Radovan for your reply .Just had a query how does midpoint synchronizes database table I guess it's the change log column which does the work? but wanted to know how it works how midpoint identifies whether value in the row has changed or whether it is a new row .
Also do we have connectors for Postgres DB instead of Data table.
If I have say 5 tables to synchronize then will I need to configure 5 different xml files if I use datatable connector or can I specify it in only one resource xml file
Regards,
Nitin
From: midpoint-bounces at lists.evolveum.com [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of Radovan Semancik
Sent: 08 April 2014 15:36
To: midpoint at lists.evolveum.com
Subject: Re: [midPoint] Issue while uploading resource xml
Hi Nitin,
The answer is a bit tricky but it is essentially "yes".
MidPoint can synchronize resource objects (on resource side) with anything that is subclass of FocusType (on midPoint side). The object on midPoint side has to be subclass of FocusType beause this type has the data items that are necessary to keep the track of synchronization (linkRef, assignment).
But object definitions in midPoint are fairly static. We need this to accomplish our strategy of getting a lot of features out of the box. We also need this for database optimization and therefore also scalability. There is a GenericObjectType that can be used to represent a new types of objects. But this one is *not* subclass of FocusType as we didn't want to limit the extensibility possibilities.
However there is an elegant solution. MidPoint has RoleType and OrgType which represent role and organization unit respectively. However the RoleType and OrgType concepts in midPoint are much more generic that you are probably used to. Role is designed to represent a lot of different things not just the "role proper". E.g. a role can represent an access privilege, employee work position, physical access clearance and so on. OrgType can prepresent project, team, workgroup and so on. So I suggest that you can represent your AccessObject as a midPoint Role. You can place all your custom data items in role <extension> part and you will gain all the existing advantages of roles (e.g. authorizations).
We have been thinking about adding some kind of GenericFocusType to midPoint. But as RoleType and OrgType are such a nice and generic concepts we have actually been able to model all the case by just using these two. But in case these concepts do not suit your needs please let me know. We can reconsider the GenericFocusType idea.
(BTW, generic synchronization is a feature of midPoint 3.0 which is scheduled to be released in May. Therefore all of this applies to version 3.0)
--
Radovan Semancik
Software Architect
evolveum.com
On 04/08/2014 12:00 PM, Nitin G. Prabhu wrote:
Thanks a lot Deepak.Can you please let me know if we can define our set of custom objects which midpoint can synchronize
For example apart from User object if I want to synchronize say AccessObject[custom] then can we do this using midpoint
Regards,
Nitin
From: midpoint-bounces at lists.evolveum.com<mailto:midpoint-bounces at lists.evolveum.com> [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of Deepak Natarajan
Sent: 08 April 2014 09:41
To: midPoint General Discussion
Subject: Re: [midPoint] Issue while uploading resource xml
Hi Nitin -
I would recommend you upgrade to/try out Midpoint v2.2.1 :
https://wiki.evolveum.com/display/midPoint/Release+2.2.1
You can find good examples for configuring MySQL and LDAP resources here :
https://github.com/Evolveum/midpoint/tree/v2.2-support/samples/resources (from the 2.2 support branch)
And this is the documentation from their Wiki (specific to Resource Configuration) :
https://wiki.evolveum.com/display/midPoint/Resource+Configuration
Rgds/Deepak
[cid:image001.jpg at 01CF5368.85A10420]
Nitin G. Prabhu<mailto:Nitin.Prabhu at mastek.com>
April 8, 2014 at 11:34 AM
Hi Pavol,
Thanks for your reply I have downloaded the war from http://www.evolveum.com/downloads/midpoint/2.1/midpoint.war
Version I am using is 2.1.
Also I have one more query as below
I am trying to synchronize database with LDAP but some how I am finding difficult to configure the xml definition for mappings do you have any documentation or steps or examples which can guide me to use midpoint
Regards,
Nitin
From: midpoint-bounces at lists.evolveum.com<mailto:midpoint-bounces at lists.evolveum.com> [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of Pavol Mederly
Sent: 08 April 2014 06:39
To: midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>
Subject: Re: [midPoint] Issue while uploading resource xml
Hello Nitin,
which version of midPoint are you using? Because, as for tasks, the exclusivityStatus element was removed almost a year ago! (Before releasing midPoint 2.2.)
Best regards,
Pavol
On 7. 4. 2014 21:20, Nitin G. Prabhu wrote:
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint
[cid:image001.jpg at 01CF5368.85A10420]
Pavol Mederly<mailto:mederly at evolveum.com>
April 8, 2014 at 8:39 AM
Hello Nitin,
which version of midPoint are you using? Because, as for tasks, the exclusivityStatus element was removed almost a year ago! (Before releasing midPoint 2.2.)
Best regards,
Pavol
On 7. 4. 2014 21:20, Nitin G. Prabhu wrote:
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint
[cid:image001.jpg at 01CF5368.85A10420]
Nitin G. Prabhu<mailto:Nitin.Prabhu at mastek.com>
April 7, 2014 at 10:20 PM
Hi,
I am getting below error when I am trying to import resource xml file.
Basically it says that as below.Can you please help it seems that some elements cannot be found in midpoint namespace
Schema validation
* Validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'cap:status'. One of '{"http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"<http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2>:enabled, "http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"<http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2>:enableDisable}' is expected.
* Cause:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'cap:status'. One of '{"http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"<http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2>:enabled, "http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"<http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2>:enableDisable}' is expected.
[ SHOW ERROR STACK ]
* Import object
* Schema validation
* Validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'handlerUri'. One of '{"http://midpoint.evolveum.com/xml/ns/public/common/common-2a"<http://midpoint.evolveum.com/xml/ns/public/common/common-2a>:exclusivityStatus}' is expected.
* Cause:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'handlerUri'. One of '{"http://midpoint.evolveum.com/xml/ns/public/common/common-2a"<http://midpoint.evolveum.com/xml/ns/public/common/common-2a>:exclusivityStatus}' is expected.
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint
--
Deepak Natarajan
Director
Trilobyte Systems ApS
Falkoner Alle 1, 3
2000 Frederiksberg
Denmark
+45 29375068
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20140409/f93da197/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 770 bytes
Desc: image001.jpg
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20140409/f93da197/attachment.jpg>
More information about the midPoint
mailing list