From ccf9b0dc2858265e3a3d7da28a653f6bc7e2e8a3 Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Fri, 9 Jul 2021 12:10:46 +0100 Subject: Added get json schema endpoints Added runtime-controlloop endpoint to return Json Schema Schema returned can be for specified type within Tosca Service Template Added Camel in runtime endpoint to proxy the Schema endpoint Dependency added to pom for the json schema generation Issue-ID: POLICY-3439 Change-Id: I2a98ce16dfb3761a174c90f4b965d1a37a0d8576 Signed-off-by: saul.gill --- .../resources/clds/camel/rest/clamp-api-v2.xml | 34 ++++++++++++++++++++++ .../clds/camel/routes/controlloop-flows.xml | 28 ++++++++++++++++++ 2 files changed, 62 insertions(+) (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 d560db660..8a7523c2b 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 @@ -1575,6 +1575,40 @@ + + + + + + + + application/json + + + true + + + + + java.lang.Exception + + true + + + + + 500 + + + GET JSON Schema FAILED + + + + + + + + + + + + GET + + + application/json + + + ${header.section} + + + + + + + + + + -- cgit 1.2.3-korg