summaryrefslogtreecommitdiffstats
path: root/cps-service
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2020-12-14 15:20:58 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-14 15:20:58 +0000
commitc040bcb4ae61177b1aa691f059d19c96c6cfff7b (patch)
tree7535cf652f46cb0564db24f478575f3eaba99618 /cps-service
parenta0da7f6b3e04ee6f06f4580f8a14e60f3438d5e7 (diff)
parent4ab9d0edb5bc0c5251175078a4b8933a29e73744 (diff)
Merge "Yang resource name persistence"
Diffstat (limited to 'cps-service')
-rw-r--r--cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java b/cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java
index 20f0122726..9749d8b2e3 100644
--- a/cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java
+++ b/cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java
@@ -20,11 +20,10 @@
package org.onap.cps.spi;
-import java.util.Set;
+import java.util.Map;
/**
* Service to manage modules.
- *
*/
public interface CpsModulePersistenceService {
@@ -46,10 +45,10 @@ public interface CpsModulePersistenceService {
/**
* Stores Schema Set.
*
- * @param dataspaceName dataspace name
- * @param schemaSetName schema set name
- * @param yangResourcesAsStrings the content of YANG resources (files)
+ * @param dataspaceName dataspace name
+ * @param schemaSetName schema set name
+ * @param yangResourcesNameToContentMap YANG resources (files) map where key is a name and value is content
*/
- void storeSchemaSet(String dataspaceName, String schemaSetName, Set<String> yangResourcesAsStrings);
+ void storeSchemaSet(String dataspaceName, String schemaSetName, Map<String, String> yangResourcesNameToContentMap);
}