From: seanbeirne Date: Thu, 27 Oct 2022 15:33:04 +0000 (+0100) Subject: CPS-RI performance profiles implementaion X-Git-Tag: 3.2.1~72 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=375281167c3792a70eee0bafa21364f184aebd86;p=cps.git CPS-RI performance profiles implementaion Reviewers: Joe, Levente, Luke Issie-ID: CPS-1351 Signed-off-by: seanbeirne Change-Id: Ia7b9a4bbf103d6b54f6fde9dd2d80a3c825c3046 --- diff --git a/cps-ri/pom.xml b/cps-ri/pom.xml index 824a8d9710..a1cc20ca43 100644 --- a/cps-ri/pom.xml +++ b/cps-ri/pom.xml @@ -132,6 +132,30 @@ + + + default + + true + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.onap.cps.spi.performance.CpsToDataNodePerfTest + + + + + + + + include-performance + + diff --git a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy b/cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy similarity index 94% rename from cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy rename to cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy index 283be6b9b8..f7ba5dec83 100644 --- a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy +++ b/cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy @@ -18,20 +18,19 @@ * ============LICENSE_END========================================================= */ -package org.onap.cps.ri.performance +package org.onap.cps.spi.performance import org.apache.commons.lang3.time.StopWatch import org.onap.cps.spi.CpsDataPersistenceService -import org.onap.cps.spi.impl.CpsDataPersistenceServiceImpl import org.onap.cps.spi.impl.CpsPersistenceSpecBase import org.onap.cps.spi.model.DataNode import org.onap.cps.spi.model.DataNodeBuilder -import org.onap.cps.spi.repository.FragmentRepository import org.springframework.beans.factory.annotation.Autowired import org.springframework.test.context.jdbc.Sql import static org.onap.cps.spi.FetchDescendantsOption.INCLUDE_ALL_DESCENDANTS +import static org.onap.cps.spi.impl.CpsPersistenceSpecBase.CLEAR_DATA -class CpsToDataNodePerfSpec extends CpsPersistenceSpecBase { +class CpsToDataNodePerfTest extends CpsPersistenceSpecBase { static final String SET_DATA = '/data/fragment.sql'