X-Git-Url: https://gerrit.onap.org/r/gitweb?p=cps.git;a=blobdiff_plain;f=cps-service%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fcps%2Fspi%2FCpsDataPersistenceService.java;h=fd660e67560cf6d27f27c41a085498b9785ae958;hp=43cfffee704a7c4bd23b6cb70f69032ec2b98211;hb=a0b8fb72f9ab872ec554b812db10758592b5a294;hpb=4893e1c1ad017df5fc33cc798ce61864304eb32c diff --git a/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java b/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java index 43cfffee7..fd660e675 100644 --- a/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java +++ b/cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java @@ -23,6 +23,7 @@ package org.onap.cps.spi; import java.util.Collection; +import java.util.List; import java.util.Map; import org.onap.cps.spi.model.DataNode; @@ -145,8 +146,8 @@ public interface CpsDataPersistenceService { * included in the output * @return the data nodes found i.e. 0 or more data nodes */ - Collection queryDataNodes(String dataspaceName, String anchorName, - String cpsPath, FetchDescendantsOption fetchDescendantsOption); + List queryDataNodes(String dataspaceName, String anchorName, + String cpsPath, FetchDescendantsOption fetchDescendantsOption); /** * Starts a session which allows use of locks and batch interaction with the persistence service.