diff options
author | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2020-12-10 10:49:59 +0200 |
---|---|---|
committer | Claudio David Gasparini <claudio.gasparini@pantheon.tech> | 2020-12-14 08:23:13 +0000 |
commit | 4ab9d0edb5bc0c5251175078a4b8933a29e73744 (patch) | |
tree | ccf342787a59af944708edcc9e5541c71fc85f41 /cps-service/src/main/java | |
parent | e182a6b6cb4a87b4f461adf83fe60a65948fc230 (diff) |
Yang resource name persistence
Issue-ID: CPS-125
Change-Id: I5ee2e893dd7c30abe86287150e8bef62966dd909
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'cps-service/src/main/java')
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java | 11 |
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); } |