summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGervais-Martial Ngueko <gervais-martial.ngueko@intl.att.com>2019-05-29 15:44:09 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-29 15:44:09 +0000
commitf5a414bd326aa0163ceba6b51b14b7c80feae64b (patch)
tree652078592de09e51c1ad41f8f5d4c70eb994b5da
parent187aa0e8bfe23a216a5e88ff78349aaecd0d800a (diff)
parent4a9995679d6d21e96212fad33a00bde8f9149090 (diff)
Merge "Open DCAE deployment in all cases"
-rw-r--r--src/main/resources/clds/camel/rest/clamp-api-v2.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/resources/clds/camel/rest/clamp-api-v2.xml b/src/main/resources/clds/camel/rest/clamp-api-v2.xml
index 8dfc06883..da856e947 100644
--- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml
+++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml
@@ -227,9 +227,10 @@
<otherwise>
<log
loggingLevel="INFO"
- message="Loop is in state ${exchangeProperty[policyStatus]}, it can only be deployed when in state SUBMIT" />
+ message="POLICY status ${exchangeProperty[policyStatus]}/DCAE status ${exchangeProperty[dcaeStatus]}, DCAE deployment will be started anyway" />
<to
- uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('Loop is in state ${exchangeProperty[policyStatus]}, it can only be deployed when in state SUBMIT','ERROR',${exchangeProperty[loopObject]})" />
+ uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('POLICY status ${exchangeProperty[policyStatus]}/DCAE status ${exchangeProperty[dcaeStatus]}, DCAE deployment will be started anyway','ERROR',${exchangeProperty[loopObject]})" />
+ <to uri="direct:deploy-loop" />
</otherwise>
</choice>
<log