diff --git a/testsuite/integration/pom.xml b/testsuite/integration/pom.xml index 6507a5e130..05c0b7eae8 100755 --- a/testsuite/integration/pom.xml +++ b/testsuite/integration/pom.xml @@ -479,17 +479,17 @@ mongo - keycloak.model.provider + keycloak.realm.provider mongo - localhost - 27018 - keycloak - true - 127.0.0.1 + localhost + 27018 + keycloak + true + 127.0.0.1 @@ -508,12 +508,15 @@ - mongo - ${keycloak.model.mongo.host} - ${keycloak.model.mongo.port} - ${keycloak.model.mongo.db} - ${keycloak.model.mongo.clearOnStartup} - ${keycloak.model.mongo.bindIp} + mongo + mongo + mongo + + ${keycloak.connectionsMongo.host} + ${keycloak.connectionsMongo.port} + ${keycloak.connectionsMongo.db} + ${keycloak.connectionsMongo.clearOnStartup} + ${keycloak.connectionsMongo.bindIp} @@ -538,10 +541,10 @@ start - ${keycloak.model.mongo.port} + ${keycloak.connectionsMongo.port} file ${project.build.directory}/mongodb.log - ${keycloak.model.mongo.bindIp} + ${keycloak.connectionsMongo.bindIp} diff --git a/testsuite/integration/src/main/resources/META-INF/keycloak-server.json b/testsuite/integration/src/main/resources/META-INF/keycloak-server.json index 1c8ff161bc..c5f967763d 100755 --- a/testsuite/integration/src/main/resources/META-INF/keycloak-server.json +++ b/testsuite/integration/src/main/resources/META-INF/keycloak-server.json @@ -4,7 +4,7 @@ }, "audit": { - "provider": "${keycloak.audit.provider,keycloak.model.provider:jpa}" + "provider": "${keycloak.audit.provider:jpa}" }, "realm": { @@ -58,10 +58,10 @@ "connectionsMongo": { "default": { - "host": "${keycloak.model.mongo.host:127.0.0.1}", - "port": "${keycloak.model.mongo.port:27017}", - "db": "${keycloak.model.mongo.db:keycloak}", - "clearOnStartup": "${keycloak.model.mongo.clearOnStartup:false}" + "host": "${keycloak.connectionsMongo.host:127.0.0.1}", + "port": "${keycloak.connectionsMongo.port:27017}", + "db": "${keycloak.connectionsMongo.db:keycloak}", + "clearOnStartup": "${keycloak.connectionsMongo.clearOnStartup:false}" } } diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/exportimport/ExportImportTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/exportimport/ExportImportTest.java index 81b4c39c9e..9f6f4de35c 100755 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/exportimport/ExportImportTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/exportimport/ExportImportTest.java @@ -69,7 +69,7 @@ public class ExportImportTest { // We want data to be persisted among server restarts private static ExternalResource mongoRule = new ExternalResource() { - private static final String MONGO_CLEAR_ON_STARTUP_PROP_NAME = "keycloak.model.mongo.clearOnStartup"; + private static final String MONGO_CLEAR_ON_STARTUP_PROP_NAME = "keycloak.connectionsMongo.clearOnStartup"; private String previousMongoClearOnStartup; @Override