diff options
author | Rishi.Chail <rishi.chail@est.tech> | 2021-04-26 16:42:11 +0100 |
---|---|---|
committer | Rishi.Chail <rishi.chail@est.tech> | 2021-04-26 16:42:55 +0100 |
commit | b4c7d8d988517b3332cbfb9704f1a25aa5966397 (patch) | |
tree | 2ac5ab7395ad57c44127be107374b95f9f4d67fc /cps-ncmp-rest/src/main | |
parent | 8895ce4bc508874e95321f97acc014f5e5be7fa7 (diff) |
Get Data under anchor using single root
Changes for NCMP
Issue-ID: CPS-325
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I3eb8a1b0c11d0503614cea6839ad7e33adbdd524
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); |