From 230b1119dec71e301ba462246c3fc53d0fc0281a Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Tue, 24 Jan 2023 11:23:02 +0000 Subject: Create plural version of deleteDataNode - Add method to CpsDataService to batch delete data nodes and lists - Use native queries to batch delete fragment entities by xpaths, for data nodes and lists - Add performance tests for batch delete - Refactor FragmentNativeRepository - Add single-column version of createTemporaryTable - Renamed metric cps.data.service.datanode.batch.delete to cps.data.service.datanode.all.delete Issue-ID: CPS-1438 Signed-off-by: danielhanrahan Change-Id: I1851f9c7ef0b1be4bd421b3352d9697a2dd23f79 --- .../src/test/groovy/org/onap/cps/integration/TestConfig.groovy | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'integration-test/src/test/groovy/org') diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy index 0e04d62dd8..0673f7eb43 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy @@ -29,7 +29,6 @@ import org.onap.cps.spi.impl.CpsDataPersistenceServiceImpl import org.onap.cps.spi.impl.CpsModulePersistenceServiceImpl import org.onap.cps.spi.repository.AnchorRepository import org.onap.cps.spi.repository.DataspaceRepository -import org.onap.cps.spi.repository.FragmentNativeRepository import org.onap.cps.spi.repository.FragmentRepository import org.onap.cps.spi.repository.ModuleReferenceRepository import org.onap.cps.spi.repository.SchemaSetRepository @@ -70,10 +69,6 @@ class TestConfig extends Specification{ @Lazy ModuleReferenceRepository moduleReferenceRepository - @Autowired - @Lazy - FragmentNativeRepository fragmentNativeRepository - @Autowired @Lazy JsonObjectMapper jsonObjectMapper @@ -89,7 +84,7 @@ class TestConfig extends Specification{ @Bean CpsDataPersistenceService cpsDataPersistenceService() { - return (CpsDataPersistenceService) new CpsDataPersistenceServiceImpl(dataspaceRepository, anchorRepository, fragmentRepository, jsonObjectMapper, stubbedSessionManager, fragmentNativeRepository) + return (CpsDataPersistenceService) new CpsDataPersistenceServiceImpl(dataspaceRepository, anchorRepository, fragmentRepository, jsonObjectMapper, stubbedSessionManager) } @Bean -- cgit 1.2.3-korg