From: brunomilitzer Date: Thu, 8 Jul 2021 11:44:06 +0000 (+0100) Subject: Add Camel Endpoint ControlLoop Instantiation X-Git-Tag: 6.1.2~75^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=22595f692c26882a4775221a67d8e76fc6bafd09;p=policy%2Fclamp.git Add Camel Endpoint ControlLoop Instantiation Added Camel Endpoint so that it connects with the ControlLoop Rest endpoint to create a new instantiation. Issue-ID: POLICY-3436 Change-Id: Idf3bda8a6226f57836d887f9d7a7b66327446858 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 b3c4edbe6..d560db660 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 @@ -1576,6 +1576,49 @@ + + + + + true + + + application/json + + + + + + + + java.lang.Exception + + true + + + + + + 500 + + + Create Tosca Instantiation Service 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 d2bf39b16..b7da4a743 100644 --- a/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml +++ b/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml @@ -79,4 +79,29 @@ + + + + + + + POST + + + application/json + + + + + + + + + +