[midPoint] ModelClient 3.0 SNAPSHOT

Alexander Grzesik alexander.grzesik at medisite.de
Thu May 8 18:49:14 CEST 2014


Hi Pavol,
 
thank you for your great support J
regards
Alexander
 
Von: midpoint-bounces at lists.evolveum.com [mailto:midpoint-bounces at lists.evolveum.com] Im Auftrag von Pavol Mederly
Gesendet: Donnerstag, 8. Mai 2014 17:51
An: midpoint at lists.evolveum.com
Betreff: Re: [midPoint] ModelClient 3.0 SNAPSHOT
 
Hello Alexander,

as for the delete bug, a quick workaround is to execute the delete operation in raw mode (exactly the same as if you execute it manually from Configuration->Repository Objects menu). I've added it to the model client sample that I just pushed to the github.

Concerning options, I've enhanced the sample to contain them as well (https://github.com/Evolveum/midpoint/commit/b1feb020514124bc34f5f6a5721c325b1fd87efe):

- In listUsers method you can see paging set to retrieve 3 users only, sorted using 'name' attribute.
- In listTasks method there is a RETRIEVE option set to nextRunStartTimestamp property (which is not returned by default because of performance reasons).

Hope this helps. If you would need any assistance, just let me know.

By the way, the WSDL for the service will very probably change one more time (only in form, not in content). The reason is that yesterday we've found that .Net client does not work with our new API and we have to fix that somehow.

Best regards,
Pavol
Hi Pavol,
 
I successfully updated my integration to the new api. Besides the broken delete function, everything works as expected. Btw. Is there any ETA for the delete fix or a workaround, as it is a little nasty not be able to delete test users?
But I have one question about the new api:
With api before the refactoring, it was possible to use paging and order options for searching and listing objects. I was not able to figure out how this is possible with the changes api. I assume it can be done with the SelectorQualifiedGetOptionsType parameter, but this object has no way to set anything on it. Is ordering and paging possible currently? If so could you give me a short example?
Best Regards
Alexander
 
 
Von: midpoint-bounces at lists.evolveum.com [mailto:midpoint-bounces at lists.evolveum.com] Im Auftrag von Pavol Mederly
Gesendet: Dienstag, 6. Mai 2014 20:29
An: midpoint at lists.evolveum.com
Betreff: Re: [midPoint] ModelClient 3.0 SNAPSHOT
 
Hello Alexander,

are you sure you use really the latest sources, both on client and the server? Because this is one of bugs I've fixed yesterday :)
(This one was on the server side.)

Best regards,
Pavol

On 6. 5. 2014 18:00, Alexander Grzesik wrote:
Hi Pavol,
 
I tried the new midpoint SNAPSHOT and when I run the Main.java sample on create User I get an exception and I do not really understand what ist he problem:
com.evolveum.midpoint.xml.ns._public.common.fault_3.FaultMessage: Null norm in property value PPV(PolyString:guybrush) (name in user:null(guybrush))
 
Is this a bug or some missing setting in the sample?
Thank You
Alexander
 
 
Von: midpoint-bounces at lists.evolveum.com [mailto:midpoint-bounces at lists.evolveum.com] Im Auftrag von Pavol Mederly
Gesendet: Montag, 5. Mai 2014 23:01
An: midpoint at lists.evolveum.com
Betreff: Re: [midPoint] ModelClient 3.0 SNAPSHOT
 
Hello Alexander,

it took a little more than expected; however, the model client sample is now working correctly.

Please see last few commits dealing with Main.java to learn about the changes. I think the changes done are quite self-explanatory. If you would need any assistance, just let me know.

(The delete operation currently does not work because of https://jira.evolveum.com/browse/MID-1862; however, this would be probably fixed soon.)

Best regards,
Pavol
Great, thank you.
I will put aside my integration work and wait for your changes.
Regards
Alexander
 
 
Von: midpoint-bounces at lists.evolveum.com [mailto:midpoint-bounces at lists.evolveum.com] Im Auftrag von Pavol Mederly
Gesendet: Montag, 5. Mai 2014 10:42
An: midpoint at lists.evolveum.com
Betreff: Re: [midPoint] ModelClient 3.0 SNAPSHOT
 
Hello Alexander,

we are working on that. Besides some minor fixes that are already done, it has turned out that it's necessary to implement one feature to model service API.
Hopefully it will be done today.

Best regards,
Pavol
Hi,
 
I used the development SNAPSHOT model client to build an integration between our application and midpoint. The api changed recently and I modified my code accordingly. But now the creation of objects does no longer work. I also tried the model client sample and get also an error on user creation that marshalling com.evolveum.midpoint.xml.ns._public.common.common_3.UserType is not possible because of missing XmlRootElement Annotation.
I know you are currently working on the release, but could you give a broad estimate, when the webservice api will work again and become more or less stable?
Thank You
Alexander






_______________________________________________midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint 





_______________________________________________midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint 




_______________________________________________midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint 



_______________________________________________midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20140508/75bfcceb/attachment.htm>


More information about the midPoint mailing list