Added Camel Endpoints for decommissioning 91/122691/2
authorsaul.gill <saul.gill@est.tech>
Thu, 15 Jul 2021 10:45:02 +0000 (11:45 +0100)
committersaul.gill <saul.gill@est.tech>
Mon, 19 Jul 2021 14:15:54 +0000 (15:15 +0100)
commit41811daa6079e07d95daf3d32719afe7ec15acbd
tree220c2235db383eff5db4181601f89800e8e82b0e
parent258fdc2ddb8b5e130ccc2b287c10c3fd782b7ee9
Added Camel Endpoints for decommissioning

Added endpoint in camel for decommissioning

Changed get tosca service template get endpoint
to return snake case

Added endpoints in camel to retrieve control loop
definitions and element definitions

Added integration tests

Allowed error messages and status codes to come through
from runtime-controlloop backend

Small refactor of clamp python emulator

Issue-ID: POLICY-3443
Change-Id: I2f6103ca0f2058651a43e7ae1e0974cb1d3e69a7
Signed-off-by: saul.gill <saul.gill@est.tech>
runtime-controlloop/src/main/java/org/onap/policy/clamp/controlloop/runtime/commissioning/CommissioningProvider.java
runtime-controlloop/src/main/java/org/onap/policy/clamp/controlloop/runtime/main/rest/CommissioningController.java
runtime/src/main/resources/clds/camel/rest/clamp-api-v2.xml
runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml
runtime/src/test/java/org/onap/policy/clamp/runtime/RuntimeCommissioningResponseTestItCase.java
runtime/src/test/resources/http-cache/third_party_proxy.py