From f83411a86e2277adae69e780e8511913d61a0f17 Mon Sep 17 00:00:00 2001 From: Sirisha_Manchikanti Date: Fri, 7 May 2021 15:17:52 +0100 Subject: Modular structure of clamp including controlloop This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon --- .../resources/clds/camel/rest/clamp-api-v2.xml | 1472 -------------------- .../resources/clds/camel/rest/clds-services.xml | 24 - 2 files changed, 1496 deletions(-) delete mode 100644 src/main/resources/clds/camel/rest/clamp-api-v2.xml delete mode 100644 src/main/resources/clds/camel/rest/clds-services.xml (limited to 'src/main/resources/clds/camel/rest') diff --git a/src/main/resources/clds/camel/rest/clamp-api-v2.xml b/src/main/resources/clds/camel/rest/clamp-api-v2.xml deleted file mode 100644 index 4659a90bf..000000000 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ /dev/null @@ -1,1472 +0,0 @@ - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - GET All Loop names FAILED - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - GET Loop FAILED - - - - - - - - - - - - - - ${body} - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - UPDATE Global properties FAILED - - - - - - - - - - - - - ${body} - - - - - - - java.lang.Exception - - true - - - - - - - 500 - - - UPDATE Operational policies FAILED - - - - - - - - - - - - - ${body} - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - UPDATE MicroService policy FAILED - - - - - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - DEPLOY request FAILED - - - - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - REFRESH json schema request FAILED - - - - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - REFRESH json schema request FAILED - - - - - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - UNDEPLOY request FAILED - - - - - - - - - - - - true - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - STOP request FAILED - - - - - - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - RESTART request FAILED - - - - - - - - - - - - true - - - - - - - false - - - - - ${exchangeProperty[loopObject].getMicroServicePolicies()} - - - ${body} - - - - false - - - - - - - ${exchangeProperty[loopObject].getOperationalPolicies()} - - - ${body} - - - - false - - - - - - - - 3000 - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - SUBMIT request FAILED - - - - - - - - - - - - true - - - - - - - - - - ${exchangeProperty[loopObject].getMicroServicePolicies()} - - - ${body} - - - - false - - - - - - ${exchangeProperty[loopObject].getOperationalPolicies()} - - - ${body} - - - - false - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - DELETE request FAILED - - - - - - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - - - ${exchangeProperty[loopObject]} - - - 200 - - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - ADD Operational policy request FAILED for loop: ${header.loopName}, - ${exception.message}" - - - - - - - - - - - - - - - - ${header.policyName} - - - ${exchangeProperty[loopObject].getOperationalPolicy(header.policyName)} - - - false - - - - false - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - REMOVE Operational policy request FAILED - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - - 500 - - - CREATE Loop from template FAILED - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Dictionary FAILED - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Dictionary FAILED - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Dictionary FAILED - - - - - - - - - - - - ${body} - - - - - java.lang.Exception - - true - - - - - 500 - - - PUT Dictionary FAILED - - - - - - - - - - - - - - ${body} - - - - - java.lang.Exception - - true - - - - - 500 - - - PUT Dictionary FAILED - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - DELETE Dictionary FAILED - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - DELETE Dictionary element FAILED - - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Policy models FAILED - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Policy model FAILED - - - - - - - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Policy model YAML FAILED - - - - - - - - - - - - - - - true - - - - ${body} - - - - ${body} - - - - - - - java.lang.Exception - - true - - - - - 500 - - - GET Policies list JSON FAILED - - - - - - - - - - - - - - - true - - - ${header.policyModelType} - - - ${header.policyModelVersion} - - - ${body} - - - - - - - - - java.lang.Exception - - true - - - - - 500 - - - CREATE Policy FAILED - - - - - - - - - - - - - - true - - - ${header.policyModelType} - - - ${header.policyModelVersion} - - - ${header.policyName} - - - ${header.policyVersion} - - - false - - - - - - java.lang.Exception - - true - - - - - 500 - - - DELETE Policy FAILED - - - - - - - - - - - - - - - - - - true - - - - - java.lang.Exception - - true - - - - - 500 - - - PDP Group deployment request FAILED - - - - - - - - - - - - - - true - - - - - - java.lang.Exception - - true - - - - - 500 - - - Create policy type request FAILED - - - - - - - - - - - - - diff --git a/src/main/resources/clds/camel/rest/clds-services.xml b/src/main/resources/clds/camel/rest/clds-services.xml deleted file mode 100644 index aa4c3cbee..000000000 --- a/src/main/resources/clds/camel/rest/clds-services.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - ${body} == 'NOT-OK' - - 404 - - - - - - - - - - - -- cgit 1.2.3-korg