X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-nf-proxy-service%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fcps%2Fnfproxy%2Fapi%2FNfProxyDataService.java;h=cde1801daedea84b83f6ba643224a1092219f526;hb=32446dce35b5bf9d2c84751718cb4ece7f96fa72;hp=ce47d70019d003321efc05250404c6b2232a139d;hpb=7c981df521c9d8eb6f340b2b118491eeeb21ae59;p=cps.git diff --git a/cps-nf-proxy-service/src/main/java/org/onap/cps/nfproxy/api/NfProxyDataService.java b/cps-nf-proxy-service/src/main/java/org/onap/cps/nfproxy/api/NfProxyDataService.java index ce47d7001..cde1801da 100644 --- a/cps-nf-proxy-service/src/main/java/org/onap/cps/nfproxy/api/NfProxyDataService.java +++ b/cps-nf-proxy-service/src/main/java/org/onap/cps/nfproxy/api/NfProxyDataService.java @@ -46,12 +46,15 @@ public interface NfProxyDataService { /** * Get datanodes for the given cm handle by cps path. * - * @param cmHandle The identifier for a network function, network element, subnetwork or any other cm object by - * managed NF-Proxy - * @param cpsPath cps path + * @param cmHandle The identifier for a network function, network element, subnetwork or any other cm + * object by managed NF-Proxy + * @param cpsPath cps path + * @param fetchDescendantsOption defines whether the descendants of the node(s) found by the query should be + * included in the output * @return a collection of datanodes */ - Collection queryDataNodes(@NonNull String cmHandle, @NonNull String cpsPath); + Collection queryDataNodes(@NonNull String cmHandle, @NonNull String cpsPath, + @NonNull FetchDescendantsOption fetchDescendantsOption); /** * Updates data node for given cm handle using xpath to parent node.