From eaefb9f5c24a830265d00972dce334f6565e83dc Mon Sep 17 00:00:00 2001 From: brunomilitzer Date: Fri, 18 Jun 2021 16:11:11 +0100 Subject: Added Camel Endpoint for Tosca Instantiation Endpoint redirects GET to runtime instantiation Issue-ID: POLICY-3357 Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96 Signed-off-by: brunomilitzer --- .../resources/clds/camel/rest/clamp-api-v2.xml | 33 ++++++++++++++++++++++ .../clds/camel/routes/controlloop-flows.xml | 25 ++++++++++++++++ 2 files changed, 58 insertions(+) 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 5fd242282..b3c4edbe6 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 @@ -1543,6 +1543,39 @@ + + + + + + + application/json + + + true + + + + + java.lang.Exception + + true + + + + + 500 + + + GET Tosca Instantiation JSON 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 0641b326e..009e00fca 100644 --- a/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml +++ b/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml @@ -52,4 +52,29 @@ + + + + + + + GET + + + application/json + + + + + + + + + + -- cgit 1.2.3-korg