From fd3ec07e00ff409d92fea0a3ae11260669a9197a Mon Sep 17 00:00:00 2001 From: Eric Santos Date: Thu, 6 May 2021 14:19:25 -0400 Subject: Add multi-tenancy integration tests - Created a separate directory under 'src' for integration tests - Moved all multi-tenancy related integration test classes and files into 'it' directory - Depends on https://gerrit.onap.org/r/c/ci-management/+/121244 Issue-ID: AAI-3325 Signed-off-by: Santos, Eric Change-Id: I7d43fc0a72874c2b25dfc40ea5331783bd496d15 --- aai-traversal/pom.xml | 48 ++++++ .../multitenancy/KeycloakTestConfiguration.java | 73 ++++++++ .../aai/multitenancy/KeycloakTestProperties.java | 44 +++++ .../org/onap/aai/multitenancy/MultiTenancyIT.java | 189 +++++++++++++++++++++ .../org/onap/aai/multitenancy/RoleHandler.java | 56 ++++++ .../resources/application-keycloak-test.properties | 17 ++ .../src/it/resources/multi-tenancy-realm.json | 173 +++++++++++++++++++ readme.md | 5 + 8 files changed, 605 insertions(+) create mode 100644 aai-traversal/src/it/java/org/onap/aai/multitenancy/KeycloakTestConfiguration.java create mode 100644 aai-traversal/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java create mode 100644 aai-traversal/src/it/java/org/onap/aai/multitenancy/MultiTenancyIT.java create mode 100644 aai-traversal/src/it/java/org/onap/aai/multitenancy/RoleHandler.java create mode 100644 aai-traversal/src/it/resources/application-keycloak-test.properties create mode 100644 aai-traversal/src/it/resources/multi-tenancy-realm.json diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml index d45af14..345b697 100644 --- a/aai-traversal/pom.xml +++ b/aai-traversal/pom.xml @@ -100,7 +100,9 @@ 1.6.6 1.6.6 1.6.6 + 1.6.1 + 3.2.0