summaryrefslogtreecommitdiffstats
path: root/cps-service
diff options
context:
space:
mode:
authorJoseph Keenan <joseph.keenan@est.tech>2022-05-03 08:53:36 +0000
committerGerrit Code Review <gerrit@onap.org>2022-05-03 08:53:36 +0000
commita0b8fb72f9ab872ec554b812db10758592b5a294 (patch)
tree49d8c875903d5e4eea7250cb344e03c75c218403 /cps-service
parent4893e1c1ad017df5fc33cc798ce61864304eb32c (diff)
parent6369af0f6cb53619daa253d5da0f360f2bf67fc3 (diff)
Merge "Watchdog-process that changes CM Handles state"
Diffstat (limited to 'cps-service')
-rw-r--r--cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java5
1 files changed, 3 insertions, 2 deletions
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 43cfffee70..fd660e6756 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<DataNode> queryDataNodes(String dataspaceName, String anchorName,
- String cpsPath, FetchDescendantsOption fetchDescendantsOption);
+ List<DataNode> queryDataNodes(String dataspaceName, String anchorName,
+ String cpsPath, FetchDescendantsOption fetchDescendantsOption);
/**
* Starts a session which allows use of locks and batch interaction with the persistence service.