[midPoint] configuring resource

Sylvaire kevin TIPA sylvaire-kevin.tipa at mythalesgroup.io
Mon May 28 09:42:53 CEST 2018


Hey,


I think you need to add inbound mapping for name. You need to specify what value need to be import from DB to MP name's field. You can do it with inbound value (in shema handling) or with template. Check the documentation for more sample.

https://wiki.evolveum.com/display/midPoint/Resource+Schema+Handling

Resource Schema Handling - midPoint - Evolveum Confluence<https://wiki.evolveum.com/display/midPoint/Resource+Schema+Handling>
wiki.evolveum.com
Introduction. Resource Schema Handling is a definition of how the Resource Schema is used by midPoint. Simply speaking, Resource Schema Handling defines how the individual attributes should be named, whether they are readable or writeable, how to fill the values of such attributes if new account is being created, how to use the attributes if a ...





Cordialement.


Sylvaire-Kevin TIPA
Thales Services / OIC INFRAS
Devops Infrastructure Automation

        [cid:3030a6dc-a49d-42e9-b425-fa7d667e6778]





THALES SERVICES SAS
44 Quai Charles de Gaulle
CS 20100
69463 Lyon Cedex 06



--------------------------------------------------
www.thalesgroup.com<http://www.thalesgroup.com>

________________________________
De : midPoint <midpoint-bounces at lists.evolveum.com> de la part de Frigerio, Joshua <joshua at uic.edu>
Envoyé : vendredi 25 mai 2018 20:37:01
À : midPoint General Discussion
Objet : [midPoint] configuring resource


Hey all,
Newbie question here, I’m having trouble trying to get the most basic resource setup working. It’s for a “database table”, and it connects to the DB fine and the schema is generated and I created a simple inbound mapping and synchronization, but I can’t get a user to import. :-(
I get this null pointer exception below.
I’ve attached the resource xml file.  If anyone can point me in the right direction I’d appreciate it.  Thanks.




Operation
Import object (GUI)
Message
Failed to import: java.lang.NullPointerException
 Failed to import: java.lang.NullPointerException
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
Import accounts from resource
Message
Failed to import: java.lang.NullPointerException
Parameters
task    [Task(id:1527273111629-0-1, name:null, oid:null)]
oid     [d21f1466-47cd-4c08-9b59-35a2a26558ca]
 Failed to import: java.lang.NullPointerException
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
operation.com.evolveum.midpoint.model.impl.sync.SynchronizeAccountResultHandler.handle
Message
Failed to import: java.lang.NullPointerException
Parameters
object  [shadow:d21f1466-47cd-4c08-9b59-35a2a26558ca(676680716)]
Context
progress        [1]
Error
java.lang.NullPointerException
show
 Notify change
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
Notify change
Error
show
 Get version (Repository)
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
Get version (Repository)
Parameters
oid     [00000000-0000-0000-0000-000000000001]
type    [com.evolveum.midpoint.xml.ns._public.common.common_3.SystemConfigurationType]
 Check synchronization situation
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-1-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
Check synchronization situation
 operation.com.evolveum.midpoint.repo.api.RepositoryService.searchShadowOwner
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-1-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
operation.com.evolveum.midpoint.repo.api.RepositoryService.searchShadowOwner
Parameters
shadowOid       [d21f1466-47cd-4c08-9b59-35a2a26558ca]
 Search objects (Repository)
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-2-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
Search objects (Repository)
Parameters
query   [Q{EQUAL: employeeNumber,PPV(String:676680716),null paging]
type    [com.evolveum.midpoint.xml.ns._public.common.common_3.UserType]
 Modify object (Repository)
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-1-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
Modify object (Repository)
Parameters
oid     [d21f1466-47cd-4c08-9b59-35a2a26558ca]
type    [com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType]
modifications   [PropertyDelta( / {.../common/common-3}synchronizationSituationDescription, ADD), PropertyDelta( / {.../common/common-3}synchronizationSituationDescription, DELETE), PropertyDelta( / {.../common/common-3}synchronizationTimestamp, REPLACE), PropertyDelta( / {.../common/common-3}fullSynchronizationTimestamp, REPLACE)]
 Change listener has thrown unexpected exception
 <http://midpoint-dev.vm.uic.edu:8080/admin/resource?12-1.ILinkListener-feedbackContainer-feedback-list-0-message-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-0-subresult-detailsBox-details-type-subresults-2-subresult-detailsBox-downloadXml&pathParameter=94748298-4471-434f-9705-c420109b56dc&tab=2>

Operation
Notify change
Message
Change listener has thrown unexpected exception
Error
java.lang.NullPointerException
show

This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180528/d2ec647f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-nlsu5b4m.png
Type: image/png
Size: 6112 bytes
Desc: Outlook-nlsu5b4m.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180528/d2ec647f/attachment.png>


More information about the midPoint mailing list