diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-05-23 21:08:29 +0200 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-05-23 21:08:29 +0200 |
commit | 300c813bcf7677b9d6c8508f3c19e53abf39b7be (patch) | |
tree | 5bbe88481e027959e766cf5fcc6ad15fded690a8 /src/main/resources | |
parent | 0c2ab13d9082643188690e31d82cdf7a32449a2e (diff) |
Add 30s waiting time
Add 30s waiting time between Config policy and Brms policy
Issue-ID: POLICY-854
Change-Id: I27e46536a12fac19378344f74ec2da93471213f9
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/clds/camel/flexible-flow.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/main/resources/clds/camel/flexible-flow.xml b/src/main/resources/clds/camel/flexible-flow.xml index b2a728d1..16daec92 100644 --- a/src/main/resources/clds/camel/flexible-flow.xml +++ b/src/main/resources/clds/camel/flexible-flow.xml @@ -6,23 +6,34 @@ <simple> ${exchangeProperty.actionCd} == 'SUBMIT' || ${exchangeProperty.actionCd} == 'RESUBMIT'</simple> <to uri="bean:org.onap.clamp.clds.client.TcaPolicyDelegate" /> <to uri="bean:org.onap.clamp.clds.client.HolmesPolicyDelegate" /> + <delay> + <constant>30000</constant> + </delay> <to uri="bean:org.onap.clamp.clds.client.OperationalPolicyDelegate" /> </when> <when> <simple> ${exchangeProperty.actionCd} == 'DELETE'</simple> <to uri="bean:org.onap.clamp.clds.client.TcaPolicyDeleteDelegate" /> <to uri="bean:org.onap.clamp.clds.client.HolmesPolicyDeleteDelegate" /> - <to uri="bean:org.onap.clamp.clds.client.OperationalPolicyDeleteDelegate" /> + <delay> + <constant>30000</constant> + </delay> + <to + uri="bean:org.onap.clamp.clds.client.OperationalPolicyDeleteDelegate" /> </when> <when> <simple> ${exchangeProperty.actionCd} == 'UPDATE'</simple> <to uri="bean:org.onap.clamp.clds.client.TcaPolicyDelegate" /> <to uri="bean:org.onap.clamp.clds.client.HolmesPolicyDelegate" /> + <delay> + <constant>30000</constant> + </delay> <to uri="bean:org.onap.clamp.clds.client.OperationalPolicyDelegate" /> </when> <when> <simple> ${exchangeProperty.actionCd} == 'STOP'</simple> - <to uri="bean:org.onap.clamp.clds.client.OperationalPolicyDeleteDelegate" /> + <to + uri="bean:org.onap.clamp.clds.client.OperationalPolicyDeleteDelegate" /> </when> <when> <simple> ${exchangeProperty.actionCd} == 'RESTART'</simple> |