From c427e6459d066859e6da068bf50c78a0d120080a Mon Sep 17 00:00:00 2001 From: sebdet Date: Wed, 17 Feb 2021 17:53:17 +0100 Subject: Add code in UI to create new policy version Add code to call the policy create backend endpoint + alert box to show status of the creation + Fix backend + Issue-ID: POLICY-2928 Signed-off-by: sebdet Change-Id: Ia8f2506ecc692ad68111ebe7a55a92579b951908 --- .../resources/clds/camel/rest/clamp-api-v2.xml | 212 +++++++++++---------- 1 file changed, 109 insertions(+), 103 deletions(-) (limited to 'src/main/resources/clds/camel') diff --git a/src/main/resources/clds/camel/rest/clamp-api-v2.xml b/src/main/resources/clds/camel/rest/clamp-api-v2.xml index bcad3ea33..f924a8a24 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -803,6 +803,107 @@ + + + + + + + + + + java.lang.Exception + + true + + + + + 500 + + + GET ALL templates FAILED + + + + + + + + + + + + + + + java.lang.Exception + + true + + + + + 500 + + + GET Template FAILED + + + + + + + + + + + + + + + java.lang.Exception + + true + + + + + 500 + + + GET All Template names FAILED + + + + + + + @@ -1217,106 +1318,6 @@ - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET ALL templates FAILED - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Template FAILED - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET All Template names FAILED - - - - - - @@ -1360,11 +1361,13 @@ - - - + @@ -1382,6 +1385,9 @@ + + + ${body.toString()}