From ee7faff4b6e292237ccdac5e19cd0b438ea91e52 Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Wed, 9 Jun 2021 14:24:00 +0100 Subject: Create camel endpoint to get tosca from runtime Endpoint points to Runtime Tosca Service Template endpoint Added new authorization role for control loop Credentials in configuration file Issue-ID: POLICY-3222 Change-Id: I86f8cc5751547abfa15e10903d7e2fb2854f1ece Signed-off-by: saul.gill --- .../resources/clds/camel/rest/clamp-api-v2.xml | 38 ++++++++++++++++++++++ .../clds/camel/routes/controlloop-flows.xml | 33 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml (limited to 'runtime/src/main/resources/clds/camel') 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 4659a90bf..6a5da8710 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,6 +1461,44 @@ + + + + + + + + application/json + + + true + + + + + java.lang.Exception + + true + + + + + 500 + + + GET Tosca Service Template 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 new file mode 100644 index 000000000..b1fad103b --- /dev/null +++ b/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml @@ -0,0 +1,33 @@ + + + + + + + + GET + + + application/json + + + ${header.name} + + + ${header.version} + + + + + + + + + + + -- cgit 1.2.3-korg