summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio David Gasparini <claudio.gasparini@pantheon.tech>2021-01-07 14:30:15 +0100
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>2021-01-07 17:38:56 +0000
commit6636b26fe1befd8d7cfed6b49ae6046adc630c9b (patch)
tree5437245b510567801bcb0c50567e241ddd8f52fd
parent5a8718b84dbd3c6fa78aa644a4695274a0a1ab5d (diff)
Remove deprecated method
Issue-ID: CPS-130 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Id774f8b080eeb5dcfd78278ed6ef3831d44db711
-rw-r--r--cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java7
-rw-r--r--cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java16
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