Added MS SQL Server to Legacy Store IT. (#16121)
* Added MS SQL Server to Legacy Store IT. * Update testsuite/integration-arquillian/pom.xml Co-authored-by: Stian Thorgersen <stianst@gmail.com> Co-authored-by: Stian Thorgersen <stian@redhat.com>
This commit is contained in:
parent
dbe0c27bcf
commit
c2682157fb
4 changed files with 6 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -271,7 +271,7 @@ jobs:
|
|||
timeout-minutes: 45
|
||||
strategy:
|
||||
matrix:
|
||||
db: [postgres, mysql, oracle] # 'mariadb' is not always shutting down, 'mssql' container not available yet
|
||||
db: [postgres, mysql, oracle, mssql] # 'mariadb' is not always shutting down
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -147,7 +147,7 @@
|
|||
<postgresql-jdbc.version>42.5.1</postgresql-jdbc.version>
|
||||
<mariadb.version>10.3.27</mariadb.version>
|
||||
<mariadb-jdbc.version>2.7.2</mariadb-jdbc.version>
|
||||
<mssql.version>2019-CU10-ubuntu-20.04</mssql.version>
|
||||
<mssql.version>2019-latest</mssql.version>
|
||||
<mssql-jdbc.version>9.2.0.jre8</mssql-jdbc.version>
|
||||
<!-- this is the oracle driver version also used in the Quarkus BOM -->
|
||||
<oracle-jdbc.version>21.5.0.0</oracle-jdbc.version>
|
||||
|
|
|
@ -565,7 +565,7 @@
|
|||
<keycloak.connectionsJpa.database>keycloak</keycloak.connectionsJpa.database>
|
||||
<keycloak.connectionsJpa.user>sa</keycloak.connectionsJpa.user>
|
||||
<keycloak.connectionsJpa.password>vEry5tron9Pwd</keycloak.connectionsJpa.password>
|
||||
<keycloak.connectionsJpa.url>jdbc:sqlserver://${auth.server.db.host}:${docker.database.port};databaseName=${keycloak.connectionsJpa.database}</keycloak.connectionsJpa.url>
|
||||
<keycloak.connectionsJpa.url>jdbc:sqlserver://${auth.server.db.host}:${docker.database.port};databaseName=${keycloak.connectionsJpa.database};integratedSecurity=false;encrypt=false;trustServerCertificate=true;sendStringParametersAsUnicode=false;</keycloak.connectionsJpa.url>
|
||||
<!-- Map Store JPA -->
|
||||
<keycloak.map.storage.connectionsJpa.url>${keycloak.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
|
||||
<keycloak.map.storage.connectionsJpa.user>${keycloak.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
|
||||
|
|
|
@ -59,6 +59,9 @@ public enum StoreProvider {
|
|||
commands.add("--db-url='" + System.getProperty("keycloak.connectionsJpa.url") + "'");
|
||||
commands.add("--db-username=" + System.getProperty("keycloak.connectionsJpa.user"));
|
||||
commands.add("--db-password=" + System.getProperty("keycloak.connectionsJpa.password"));
|
||||
if ("mssql".equals(getDbVendor().orElse(null))){
|
||||
commands.add("--transaction-xa-enabled=false");
|
||||
}
|
||||
}
|
||||
},
|
||||
DEFAULT("default") {
|
||||
|
|
Loading…
Reference in a new issue