aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/clds/camel/rest
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sebastien.determe@intl.att.com>2019-05-29 17:41:44 +0200
committerDeterme, Sebastien (sd378r) <sebastien.determe@intl.att.com>2019-05-29 17:41:44 +0200
commit4a9995679d6d21e96212fad33a00bde8f9149090 (patch)
tree87da4de7599c34548f2b5539adb66afcf3f38042 /src/main/resources/clds/camel/rest
parent15c9ef0d579285a7caa3a19fc33ba27ed9cfedf4 (diff)
Open DCAE deployment in all cases
Let the user deploys his micro service on DCAE even if policy check returns 4XX Issue-ID: CLAMP-399 Change-Id: Ib38eb33c9692fcc2cea6e2c655be82f48d4046af Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/main/resources/clds/camel/rest')
-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 8dfc0688..da856e94 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