summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-04-21 11:52:50 +0200
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-04-21 09:55:23 +0000
commit3d2de0bf73022f07c75e3b9c828f5e7f37b30347 (patch)
tree2281b356aa418ba07f530603aafb48ea6af9adc8
parent9004a9df7804621e9f8b02509f2414b3603ed9e9 (diff)
Fix 401 returned by PAP
The direct call from Policy clamp Ui to Pap returns 401 because UI info are forwarded by Camel Issue-ID: POLICY-3203 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id24b45afc05b2d308f6062b22d9e2b4a040f1d93
-rw-r--r--src/main/resources/clds/camel/rest/clamp-api-v2.xml5
1 files changed, 2 insertions, 3 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 50e8d5850..bba76f7ed 100644
--- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml
+++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml
@@ -1461,10 +1461,9 @@
</route>
</delete>
- <put uri="/v2/policies/pdpDeployment"
- type="com.google.gson.JsonElement"
- consumes="application/json">
+ <put uri="/v2/policies/pdpDeployment" type="com.google.gson.JsonElement" consumes="application/json">
<route>
+ <removeHeaders pattern="*"/>
<doTry>
<to
uri="bean:org.onap.policy.clamp.flow.log.FlowLogOperation?method=startLog(*, 'Pdp group deployment update')"/>