diff options
author | Niranjana <niranjana.y60@wipro.com> | 2021-08-12 04:16:00 +0000 |
---|---|---|
committer | Niranjana Y <niranjana.y60@wipro.com> | 2021-08-12 04:40:01 +0000 |
commit | 433ba106cf99762039b7bd6a430eaf24b45d2271 (patch) | |
tree | 7535dbeb9643a4ab61e4387ad2fe2a070f257258 /cps-tbdmt-rest | |
parent | 3e5957464b6b4fa18bcae18bcfdce5fc9bace787 (diff) |
Support edit query
Issue-ID: CPS-511
Signed-off-by: Niranjana <niranjana.y60@wipro.com>
Change-Id: Icc22fb6143c01dcc388339ffa57818f41ed50cfd
Diffstat (limited to 'cps-tbdmt-rest')
-rw-r--r-- | cps-tbdmt-rest/src/test/java/org/onap/cps/tbdmt/rest/ExecutionControllerTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cps-tbdmt-rest/src/test/java/org/onap/cps/tbdmt/rest/ExecutionControllerTest.java b/cps-tbdmt-rest/src/test/java/org/onap/cps/tbdmt/rest/ExecutionControllerTest.java index 23165a6..0520ad5 100644 --- a/cps-tbdmt-rest/src/test/java/org/onap/cps/tbdmt/rest/ExecutionControllerTest.java +++ b/cps-tbdmt-rest/src/test/java/org/onap/cps/tbdmt/rest/ExecutionControllerTest.java @@ -68,8 +68,9 @@ public class ExecutionControllerTest { public void setup() throws Exception { executePath = "/execute/ran-network/getNbr"; final Map<String, String> inputParameters = new HashMap<>(); + final Map<String, Object> payload = new HashMap<>(); inputParameters.put("coverageArea", "Zone 1"); - final ExecutionRequest executionRequest = new ExecutionRequest(inputParameters); + final ExecutionRequest executionRequest = new ExecutionRequest(inputParameters, payload); final ObjectMapper objectMapper = new ObjectMapper(); executionRequestJson = objectMapper.writeValueAsString(executionRequest); } |