diff options
author | aditya puthuparambil <aditya.puthuparambil@bell.ca> | 2022-01-21 12:23:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-01-21 12:23:11 +0000 |
commit | db1e983f40be1db7bca5acacf5a3369d74a29c95 (patch) | |
tree | b552087409b305e12fce2844d7e994d30481b99e /cps-ncmp-rest/src | |
parent | 87b991eb6502c20f441d00faa953f82de04fe12d (diff) | |
parent | ecd7f5e418c17d8f0f3f12af4fd0a543084e8254 (diff) |
Merge "patch operation for ncmp running"
Diffstat (limited to 'cps-ncmp-rest/src')
-rwxr-xr-x | cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java index a97852fe2b..f2f43c9897 100755 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java @@ -118,9 +118,9 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { public ResponseEntity<Object> patchResourceDataRunningForCmHandle(final String resourceIdentifier, final String cmHandle, final Object requestBody, final String contentType) { - networkCmProxyDataService.writeResourceDataPassThroughRunningForCmHandle(cmHandle, + final Object responseObject = networkCmProxyDataService.writeResourceDataPassThroughRunningForCmHandle(cmHandle, resourceIdentifier, PATCH, GSON.toJson(requestBody), contentType); - return new ResponseEntity<>(HttpStatus.OK); + return ResponseEntity.ok(responseObject); } /** |