From 5ce5937197df5eed3895e2590ea31b23207026b4 Mon Sep 17 00:00:00 2001 From: sebdet Date: Wed, 21 Apr 2021 12:01:28 +0200 Subject: 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 --- .../resources/clds/camel/rest/clamp-api-v2.xml | 34 ++++++++++++++++++++++ .../resources/clds/camel/routes/policy-flows.xml | 34 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) (limited to 'src/main/resources/clds') 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 -- cgit 1.2.3-korg