Merge "Open DCAE deployment in all cases"
authorGervais-Martial Ngueko <gervais-martial.ngueko@intl.att.com>
Wed, 29 May 2019 15:44:09 +0000 (15:44 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 29 May 2019 15:44:09 +0000 (15:44 +0000)
src/main/resources/clds/camel/rest/clamp-api-v2.xml

index 8dfc068..da856e9 100644 (file)
                                                <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