You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by "udaykiran.vasireddy" <ud...@compass-usa.com> on 2018/03/16 20:20:48 UTC
Propagation Tasks Not Executing on Failure
Hi,
We have Three Propagation Tasks in Syncope. One for LDAP and two REST API
calls using Groovy scripts.
When the First Propagation Task with REST call gets executed, we are
throwing an exception when we get any response other than Status code 200 to
return Propagation Task as Failure in the "/Users" API Response for POST and
PUT. Whenever we get the failure for first propagation task, it is not
executing the remaining two Propagation Tasks.
We are passing all three resources in the body. This is working fine if we
remove "throw exception" from the Groovy Scripts but it will return Success.
Thanks,
Udaykiran
--
Sent from: http://syncope-user.1051894.n5.nabble.com/
Re: Propagation Tasks Not Executing on Failure
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 16/03/2018 21:20, udaykiran.vasireddy wrote:
> Hi,
>
> We have Three Propagation Tasks in Syncope. One for LDAP and two REST API
> calls using Groovy scripts.
>
> When the First Propagation Task with REST call gets executed, we are
> throwing an exception when we get any response other than Status code 200 to
> return Propagation Task as Failure in the "/Users" API Response for POST and
> PUT. Whenever we get the failure for first propagation task, it is not
> executing the remaining two Propagation Tasks.
>
> We are passing all three resources in the body. This is working fine if we
> remove "throw exception" from the Groovy Scripts but it will return Success.
Hi Udaykiran,
which Syncope version are you running?
Could you check what is the priority values set for your three External
Resources? Preferably, via REST / Swagger UI.
If one or more priority values are non-null in fact, then the behavior
described in [1] for the PriorityPropagationTaskExecutor matches what
you currently experience in your deployment.
Regards.
[1] https://syncope.apache.org/docs/reference-guide.html#propagation
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/