aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java
diff options
context:
space:
mode:
authorEric Santos <eric.santos@yoppworks.com>2021-05-06 14:18:58 -0400
committerM.Hosnidokht <mohammad.hosnidokht@yoppworks.com>2021-05-28 09:47:11 -0400
commit364dbfd6f51650718d803c7249fe854370eb901e (patch)
tree9eef0b381184e7c3a58da3bff72c8c9673a3c547 /aai-resources/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java
parent641a1a0318a6de88ad5e4643258f7165783141e7 (diff)
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/+/121243 Issue-ID: AAI-3324 Signed-off-by: Santos, Eric <eric.santos@yoppworks.com> Change-Id: Ie50e81bad6b72fdd02ff2e937f2fda5e6b8228e9
Diffstat (limited to 'aai-resources/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java')
-rw-r--r--aai-resources/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/aai-resources/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java b/aai-resources/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java
new file mode 100644
index 0000000..de62d2d
--- /dev/null
+++ b/aai-resources/src/it/java/org/onap/aai/multitenancy/KeycloakTestProperties.java
@@ -0,0 +1,44 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.aai.multitenancy;
+
+import org.springframework.beans.factory.annotation.Value;
+
+class KeycloakTestProperties {
+
+ @Value("${test.keycloak.realm.json}")
+ public String realmJson;
+
+ @Value("${keycloak.realm}")
+ public String realm;
+
+ @Value("${keycloak.resource}")
+ public String clientId;
+
+ @Value("${test.keycloak.client.secret}")
+ public String clientSecret;
+
+ @Value("${test.keycloak.admin.cli}")
+ public String adminCli;
+
+ @Value("${test.keycloak.auth-server-port}")
+ public String port;
+
+}