From 0f1803780d61b8174bce4914044f5ee5d9a0ff42 Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Thu, 17 Jun 2021 16:28:22 +0100 Subject: Added Camel Endpoint for Tosca Template Upload Endpoint redirects a POST to runtime commissiong API Tosca Service Template is written to the database Issue-ID: POLICY-3222 Change-Id: I9ca6b0b3fdbef4bf9a182795112de5280ec7f9ff Signed-off-by: saul.gill --- .../resources/clds/camel/rest/clamp-api-v2.xml | 46 +++++++++++++++++++++- .../clds/camel/routes/controlloop-flows.xml | 22 +++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) (limited to 'runtime/src/main/resources/clds') diff --git a/runtime/src/main/resources/clds/camel/rest/clamp-api-v2.xml b/runtime/src/main/resources/clds/camel/rest/clamp-api-v2.xml index 6a5da8710..5fd242282 100644 --- a/runtime/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/runtime/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -1461,7 +1461,8 @@ - + @@ -1499,6 +1500,49 @@ + + + + + true + + + application/json + + + + + + + + java.lang.Exception + + true + + + + + + 500 + + + Commissioning Tosca Service Template FAILED + + + + + + diff --git a/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml b/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml index b1fad103b..0641b326e 100644 --- a/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml +++ b/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml @@ -30,4 +30,26 @@ + + + + + + + POST + + + + + + + + + + -- cgit 1.2.3-korg