X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fclds%2Fcamel%2Frest%2Fclamp-api-v2.xml;h=fbf90712a59be0d25fc64b3b0d4b9e93ecd1aea0;hb=897a3e004a858ef68d989dad15dde91a69e151a5;hp=3bcfc06bbe0091fd7d9f0cab735de3b7dbc25cc5;hpb=95fc10c2f7db4ac8279e9eb595380b265e1614e8;p=clamp.git 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 3bcfc06b..fbf90712 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -377,51 +377,56 @@ ${exchangeProperty[loopObject].getMicroServicePolicies()} - + ${body} + message="Processing Micro Service Policy: ${exchangeProperty[policy].getName()}" /> false - - + + ${exchangeProperty[loopObject].getOperationalPolicies()} - + ${body} + message="Processing Operational Policy: ${exchangeProperty[policy].getName()}" /> false - - + + + + + ${exchangeProperty['policy'].isLegacy()} == true + + + + ${exchangeProperty[operationalPolicy].createGuardPolicyPayloads().entrySet()} + + + ${body} + + - - - ${exchangeProperty[operationalPolicy].createGuardPolicyPayloads().entrySet()} - - - ${body} - - - - - false - - - - + + false + + + + + + @@ -569,29 +574,21 @@ - + - + - + uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=startLog(*, 'Add operational Policy')" /> + uri="bean:org.onap.clamp.authorization.AuthorizationController?method=authorize(*,'cl','','update')" /> - - - - - - + uri="bean:org.onap.clamp.loop.LoopController?method=addOperationalPolicy(${header.loopName},${header.policyType},${header.policyVersion})" /> + + java.lang.Exception @@ -602,13 +599,8 @@ + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('ADD OperationalPolicy request failed','ERROR',${exchangeProperty[loopObject]})" /> - - - ${exchangeProperty[loopObject]} - - @@ -923,13 +915,12 @@ - - + @@ -939,7 +930,7 @@ ${body} + uri="bean:org.onap.clamp.loop.template.PolicyModelsService?method=createNewPolicyModelFromTosca(${exchangeProperty[PolicyModelTosca]})" />