From: sebdet Date: Wed, 21 Apr 2021 10:01:28 +0000 (+0200) Subject: Add Camel flows to create policy-type X-Git-Tag: 6.1.1~6^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5ce5937197df5eed3895e2590ea31b23207026b4;p=policy%2Fclamp.git Add Camel flows to create policy-type Add the required camel flows to create a policy type in the clamp BE Issue-ID: POLICY-3228 Signed-off-by: sebdet Change-Id: I5c89823eb5f3f0e369fae5b27a803cb509cef128 --- 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 bba76f7ed..3238822d3 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -1501,6 +1501,40 @@ + + + + + + + + true + + + + + java.lang.Exception + + true + + + + + 500 + + + Create policy type request FAILED + + + + + + diff --git a/src/main/resources/clds/camel/routes/policy-flows.xml b/src/main/resources/clds/camel/routes/policy-flows.xml index 4048af496..19092bfac 100644 --- a/src/main/resources/clds/camel/routes/policy-flows.xml +++ b/src/main/resources/clds/camel/routes/policy-flows.xml @@ -614,4 +614,38 @@ + + + + + + + POST + + + ${exchangeProperty[X-ONAP-RequestID]} + + + + ${exchangeProperty[X-ONAP-InvocationID]} + + + + ${exchangeProperty[X-ONAP-PartnerName]} + + + + + + + + + + + \ No newline at end of file