diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-11-22 15:33:27 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-11-25 10:04:05 +0100 |
commit | 67f01b2c8d785fecfbc1a3f42abf756ef6a673c2 (patch) | |
tree | 3bf8ef72922223c576f159ae76f49157da329540 /aai-core/pom.xml | |
parent | 55979e1007defb4fdefc3508bd4234958ef2019c (diff) |
Add resiliency test for the GraphChecker
- introduce IntegrationTest class for Junit 5 based tests that use the spring context
- add resiliency test to test GraphChecker behaviour for interrupted network connections to cassandra
- leverage testcontainers to run against a cassandra container and toxiproxy
Issue-ID: AAI-4070
Change-Id: I2485b5240950ded6201942459f6fcdb4971e43d9
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-core/pom.xml')
-rw-r--r-- | aai-core/pom.xml | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/aai-core/pom.xml b/aai-core/pom.xml index 8adda4b8..29b8cf90 100644 --- a/aai-core/pom.xml +++ b/aai-core/pom.xml @@ -33,8 +33,6 @@ limitations under the License. <name>aai-core</name> <packaging>jar</packaging> <properties> - <springframework.version>4.3.24.RELEASE</springframework.version> - <jacoco.line.coverage.limit>0.50</jacoco.line.coverage.limit> <mockito.core.version>3.4.0</mockito.core.version> <!-- Start of Default ONAP Schema Properties --> @@ -60,7 +58,6 @@ limitations under the License. <profile> <id>onap</id> <properties> - <springframework.version>4.3.24.RELEASE</springframework.version> <aai.release>onap</aai.release> <schema.configuration.location>N/A</schema.configuration.location> <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location> @@ -190,6 +187,11 @@ limitations under the License. <scope>test</scope> </dependency> <dependency> + <groupId>org.janusgraph</groupId> + <artifactId>janusgraph-cql</artifactId> + <scope>test</scope> + </dependency> + <dependency> <groupId>com.fasterxml.jackson.jaxrs</groupId> <artifactId>jackson-jaxrs-json-provider</artifactId> </dependency> @@ -374,6 +376,36 @@ limitations under the License. <artifactId>lombok</artifactId> <scope>provided</scope> </dependency> + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>testcontainers</artifactId> + <version>${testcontainers.version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>junit-jupiter</artifactId> + <version>${testcontainers.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>cassandra</artifactId> + <version>${testcontainers.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>toxiproxy</artifactId> + <version>${testcontainers.version}</version> + <scope>test</scope> + </dependency> </dependencies> <!-- Plugins and repositories --> |