Remove deprecated method 75/116675/2
authorClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Thu, 7 Jan 2021 13:30:15 +0000 (14:30 +0100)
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Thu, 7 Jan 2021 17:38:56 +0000 (17:38 +0000)
Issue-ID: CPS-130
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Id774f8b080eeb5dcfd78278ed6ef3831d44db711

cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java
cps-service/src/main/java/org/onap/cps/spi/CpsModulePersistenceService.java

index ef327c2..3e3a4b4 100644 (file)
@@ -54,13 +54,6 @@ public class CpsModulePersistenceServiceImpl implements CpsModulePersistenceServ
     @Autowired
     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,
index df0f9f5..63f1f36 100644 (file)
@@ -29,22 +29,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.
      *