</dependency>\r
</dependencies>\r
\r
+ <profiles>\r
+ <profile>\r
+ <id>default</id>\r
+ <activation>\r
+ <activeByDefault>true</activeByDefault>\r
+ </activation>\r
+ <build>\r
+ <plugins>\r
+ <plugin>\r
+ <groupId>org.apache.maven.plugins</groupId>\r
+ <artifactId>maven-surefire-plugin</artifactId>\r
+ <configuration>\r
+ <excludes>\r
+ <exclude>org.onap.cps.spi.performance.CpsToDataNodePerfTest</exclude>\r
+ </excludes>\r
+ </configuration>\r
+ </plugin>\r
+ </plugins>\r
+ </build>\r
+ </profile>\r
+ <profile>\r
+ <id>include-performance</id>\r
+ </profile>\r
+ </profiles>\r
\r
<build>\r
<plugins>\r
* ============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'