From 4ab9d0edb5bc0c5251175078a4b8933a29e73744 Mon Sep 17 00:00:00 2001 From: Ruslan Kashapov Date: Thu, 10 Dec 2020 10:49:59 +0200 Subject: Yang resource name persistence Issue-ID: CPS-125 Change-Id: I5ee2e893dd7c30abe86287150e8bef62966dd909 Signed-off-by: Ruslan Kashapov --- .../java/org/onap/cps/spi/CpsModulePersistenceService.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'cps-service/src') 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 yangResourcesAsStrings); + void storeSchemaSet(String dataspaceName, String schemaSetName, Map yangResourcesNameToContentMap); } -- cgit 1.2.3-korg