diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-04-28 09:45:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-28 09:45:03 +0000 |
commit | d006d121ed9044caa1b769cca931fc183c448a3b (patch) | |
tree | e16501a3c5d5d5fb5f7a75fa6aeb767e3d89b669 /cps-ncmp-rest/src/main | |
parent | 4403e852c0a519bb9edc8a1b467bf2a9af5f9eb2 (diff) | |
parent | b4c7d8d988517b3332cbfb9704f1a25aa5966397 (diff) |
Merge "Get Data under anchor using single root Changes for NCMP"
Diffstat (limited to 'cps-ncmp-rest/src/main')
-rwxr-xr-x[-rw-r--r--] | cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java | 3 |
1 files changed, 0 insertions, 3 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 fccfb712a5..0c877f8ab7 100644..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 @@ -57,9 +57,6 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { @Override public ResponseEntity<Object> getNodeByCmHandleAndXpath(final String cmHandle, @Valid final String xpath, @Valid final Boolean includeDescendants) { - if (XPATH_ROOT.equals(xpath)) { - return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); - } final FetchDescendantsOption fetchDescendantsOption = Boolean.TRUE.equals(includeDescendants) ? FetchDescendantsOption.INCLUDE_ALL_DESCENDANTS : FetchDescendantsOption.OMIT_DESCENDANTS; final DataNode dataNode = networkCmProxyDataService.getDataNode(cmHandle, xpath, fetchDescendantsOption); |