From 0133eb03c09c6142b4a98047d00b0145a934dd45 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Tue, 28 Feb 2023 18:12:51 +0000 Subject: Create Base and Sample Performance Integration Tests - added data (folders) for different models and json data - added base and data for cps-ncmp (registry) specific test cases - integrated Ahila's (large) openroadm model and data (corrected version provided by Lee Anjella) - created profiles to exclude/include *PerfTest - fixed dependency test check - included integration test for overall coverage - increased margings in existing perf test to reduce nordix intermitten failures Issue-ID: CPS-1516 Signed-off-by: ToineSiebelink Change-Id: Ia82826f610636c14aa7e8939b385c278e5039817 --- .../test/java/org/onap/cps/architecture/LayeredArchitectureTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cps-application/src') diff --git a/cps-application/src/test/java/org/onap/cps/architecture/LayeredArchitectureTest.java b/cps-application/src/test/java/org/onap/cps/architecture/LayeredArchitectureTest.java index 817bd5835..8448136fe 100644 --- a/cps-application/src/test/java/org/onap/cps/architecture/LayeredArchitectureTest.java +++ b/cps-application/src/test/java/org/onap/cps/architecture/LayeredArchitectureTest.java @@ -43,6 +43,7 @@ public class LayeredArchitectureTest { private static final String YANG_SCHEMA_PACKAGE = "org.onap.cps.yang.."; private static final String NOTIFICATION_PACKAGE = "org.onap.cps.notification.."; private static final String CPS_UTILS_PACKAGE = "org.onap.cps.utils.."; + private static final String NCMP_INIT_PACKAGE = "org.onap.cps.ncmp.init.."; @ArchTest static final ArchRule restControllerShouldOnlyDependOnRestController = @@ -54,7 +55,7 @@ public class LayeredArchitectureTest { freeze(classes().that().resideInAPackage(API_SERVICE_PACKAGE) .or().resideInAPackage(SPI_SERVICE_PACKAGE).should().onlyHaveDependentClassesThat() .resideInAnyPackage(REST_CONTROLLER_PACKAGE, API_SERVICE_PACKAGE, SPI_SERVICE_PACKAGE, NCMP_REST_PACKAGE, - NCMP_SERVICE_PACKAGE, YANG_SCHEMA_PACKAGE, NOTIFICATION_PACKAGE, CPS_UTILS_PACKAGE)); + NCMP_SERVICE_PACKAGE, YANG_SCHEMA_PACKAGE, NOTIFICATION_PACKAGE, CPS_UTILS_PACKAGE, NCMP_INIT_PACKAGE)); @ArchTest static final ArchRule repositoryShouldOnlyBeDependedOnByServicesAndRepository = -- cgit 1.2.3-korg