Add 30s waiting time 85/48785/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Wed, 23 May 2018 19:08:29 +0000 (21:08 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Wed, 23 May 2018 19:08:29 +0000 (21:08 +0200)
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>
src/main/resources/clds/camel/flexible-flow.xml

index b2a728d..16daec9 100644 (file)
@@ -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>