[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forgerock-openidm
Subject:    [OpenIDM] Sync errors causing managed object error responses
From:       neil.stevenson () intragen ! com (Neil Stevenson)
Date:       2014-02-25 8:10:40
Message-ID: 001501cf3201$130a9350$391fb9f0$ () intragen ! com
[Download RAW message or body]

I've set up two provisioning connectors, one to OpenDJ and one to a REST
service, and appropriate sync.json entries.  When everything is working
normally I get a synchronous call chain from the creation of a new managed
object, e.g.:

  POST Request -> Create managed user -> provision to OpenDJ -> provision to
REST -> success response

But when one of the target systems returns an error (e.g. is temporarily
unavailable), the managed user create also returns an error, e.g.

  POST  Request -> Create managed user -> provision to OpenDJ -> provision
to REST (fail) -> error response

however the manage user has been created successfully and the OpenDJ account
(in this case) has been successfully created.  Since the caller sees an
error, it naturally would assume nothing has succeeded, and it also does not
have the generated managed object ID.

Two questions: 

a) Is there a simple way of returning success if the managed user create is
successful and simply handle the provisioning errors in some other way?
Perhaps as an async sync job for the new account?

b) What would be the best retry strategy to apply in this case?

Thanks,

Neil.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.forgerock.org/pipermail/openidm/attachments/20140225/d5fd2c2b/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic