From 667cb72d3ab1578afc78a77c72b65238df741cd1 Mon Sep 17 00:00:00 2001 From: sebdet Date: Thu, 11 Apr 2019 02:07:44 +0200 Subject: Add pdp group Add pdp group code to add/remove policies from active PDP group Issue-ID: CLAMP-303 Change-Id: I3fcffd229bc7703231b813948aac14ce63437127 Signed-off-by: sebdet --- .../resources/clds/camel/rest/clamp-api-v2.xml | 73 ++++++++++++---------- 1 file changed, 39 insertions(+), 34 deletions(-) (limited to 'src/main/resources/clds/camel/rest/clamp-api-v2.xml') 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 ffa4719f0..e6dc27cec 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -43,8 +43,14 @@ + + ${body} + + + + uri="bean:org.onap.clamp.loop.log.LoopLogService?method=addLog('Global Properties UPDATED','INFO',${header.LoopObject})" /> + + ${body} + + + uri="bean:org.onap.clamp.loop.LoopController?method=updateOperationalPolicies(${header.loopName},${header.OperationalPoliciesArray})" /> + + + ${body} + + + + uri="bean:org.onap.clamp.loop.LoopController?method=updateMicroservicePolicy(${header.loopName},${header.MicroServicePolicyObject})" /> + - + - - ${header.loopName} - + + false + + @@ -125,9 +148,6 @@ - - true - @@ -148,9 +168,6 @@ - - true - - - true - - - true - - - + + + @@ -195,12 +208,10 @@ message="Receive DELETE request for loop: ${header.loopName}" /> - - ${header.loopName} - + ${header.LoopObject.getMicroServicePolicies()} @@ -210,9 +221,7 @@ - - true - + @@ -228,9 +237,7 @@ - - true - + - - true - - + -- cgit 1.2.3-korg