From: brunomilitzer Date: Fri, 18 Jun 2021 15:11:11 +0000 (+0100) Subject: Added Camel Endpoint for Tosca Instantiation X-Git-Tag: 6.1.2~90^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F122078%2F3;p=policy%2Fclamp.git Added Camel Endpoint for Tosca Instantiation Endpoint redirects GET to runtime instantiation Issue-ID: POLICY-3357 Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96 Signed-off-by: brunomilitzer --- 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 + + + + + + + + + +