diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-11-19 15:59:54 +0000 |
---|---|---|
committer | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-12-02 16:10:51 +0000 |
commit | 06499b21fb3a2842d1bbae3eb790c93ea6c9272a (patch) | |
tree | 1b8f4f2037c44cb7c8019193009f9c3abccaff21 /runtime-controlloop/src/test | |
parent | 8f54ee96bb0b86425d9c177eb991b1fd91000ad4 (diff) |
Add support transaction
Add support transaction in CommissioningProvider
and ControlLoopInstantiationProvider
Issue-ID: POLICY-3802
Change-Id: I8ddba4814547e335b7b27342189a3fc5d9dc4582
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'runtime-controlloop/src/test')
-rw-r--r-- | runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/instantiation/rest/InstantiationControllerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/instantiation/rest/InstantiationControllerTest.java b/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/instantiation/rest/InstantiationControllerTest.java index ebd25c3c1..ea7dde4fe 100644 --- a/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/instantiation/rest/InstantiationControllerTest.java +++ b/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/instantiation/rest/InstantiationControllerTest.java @@ -302,8 +302,8 @@ class InstantiationControllerTest extends CommonRestController { instantiationProvider.createControlLoops(controlLoopsFromRsc); for (ControlLoop controlLoopFromRsc : controlLoopsFromRsc.getControlLoopList()) { - Invocation.Builder invocationBuilder = - super.sendRequest(INSTANTIATION_ENDPOINT + "?name=" + controlLoopFromRsc.getKey().getName()); + Invocation.Builder invocationBuilder = super.sendRequest(INSTANTIATION_ENDPOINT + "?name=" + + controlLoopFromRsc.getKey().getName()); Response resp = invocationBuilder.delete(); assertEquals(Response.Status.BAD_REQUEST.getStatusCode(), resp.getStatus()); } |