diff options
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java | 7 | ||||
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java | 16 |
2 files changed, 0 insertions, 23 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java index ef327c2592..3e3a4b43e4 100644 --- a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java @@ -55,13 +55,6 @@ public class CpsModulePersistenceServiceImpl implements CpsModulePersistenceServ private DataspaceRepository dataspaceRepository; @Override - public void storeModule(final String namespace, final String moduleContent, final String revision, - final String dataspaceName) { - // TODO this method should be removed as obsolete. - // Modules to be processed within schema sets only. - } - - @Override @Transactional public void storeSchemaSet(final String dataspaceName, final String schemaSetName, final Map<String, String> yangResourcesNameToContentMap) { 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 df0f9f5a24..63f1f36c73 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 @@ -30,22 +30,6 @@ import org.onap.cps.spi.model.ModuleReference; public interface CpsModulePersistenceService { /** - * TODO - * clean up method to conform with spi proposal - https://jira.onap.org/browse/CPS-103 - * Store the module from a yang model in the database. - * @deprecated - * - * @param namespace module namespace - * @param moduleContent module content - * @param revision module revision - * @param dataspaceName the name of the dataspace the module is associated with - */ - @Deprecated(forRemoval = true) - void storeModule(final String namespace, final String moduleContent, final String revision, - final String dataspaceName); - - - /** * Stores Schema Set. * * @param dataspaceName dataspace name |