Rename providers from jpa-map-storage to jpa

Closes #12098
This commit is contained in:
vramik 2022-05-19 19:23:22 +02:00 committed by Hynek Mlnařík
parent 0c3aa597f9
commit 24171d2e47
4 changed files with 10 additions and 10 deletions

View file

@ -115,7 +115,7 @@ public class JpaMapStorageProviderFactory implements
MapStorageProviderFactory,
EnvironmentDependentProviderFactory {
public static final String PROVIDER_ID = "jpa-map-storage";
public static final String PROVIDER_ID = "jpa";
private static final String SESSION_TX_PREFIX = "jpa-map-tx-";
private static final AtomicInteger ENUMERATOR = new AtomicInteger(0);
private static final Logger logger = Logger.getLogger(JpaMapStorageProviderFactory.class);

View file

@ -880,13 +880,13 @@
<keycloak.map.storage.connectionsJpa.user>${keycloak.map.storage.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
<keycloak.map.storage.connectionsJpa.password>${keycloak.map.storage.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
<keycloak.authSession.map.storage.provider>jpa-map-storage</keycloak.authSession.map.storage.provider>
<keycloak.client.map.storage.provider>jpa-map-storage</keycloak.client.map.storage.provider>
<keycloak.clientScope.map.storage.provider>jpa-map-storage</keycloak.clientScope.map.storage.provider>
<keycloak.group.map.storage.provider>jpa-map-storage</keycloak.group.map.storage.provider>
<keycloak.loginFailure.map.storage.provider>jpa-map-storage</keycloak.loginFailure.map.storage.provider>
<keycloak.realm.map.storage.provider>jpa-map-storage</keycloak.realm.map.storage.provider>
<keycloak.role.map.storage.provider>jpa-map-storage</keycloak.role.map.storage.provider>
<keycloak.authSession.map.storage.provider>jpa</keycloak.authSession.map.storage.provider>
<keycloak.client.map.storage.provider>jpa</keycloak.client.map.storage.provider>
<keycloak.clientScope.map.storage.provider>jpa</keycloak.clientScope.map.storage.provider>
<keycloak.group.map.storage.provider>jpa</keycloak.group.map.storage.provider>
<keycloak.loginFailure.map.storage.provider>jpa</keycloak.loginFailure.map.storage.provider>
<keycloak.realm.map.storage.provider>jpa</keycloak.realm.map.storage.provider>
<keycloak.role.map.storage.provider>jpa</keycloak.role.map.storage.provider>
</systemPropertyVariables>
</configuration>
</plugin>

View file

@ -148,7 +148,7 @@
"keyType.realms": "string",
"keyType.authz-resource-servers": "string"
},
"jpa-map-storage": {
"jpa": {
"url": "${keycloak.map.storage.connectionsJpa.url:}",
"user": "${keycloak.map.storage.connectionsJpa.user:}",
"password": "${keycloak.map.storage.connectionsJpa.password:}",

View file

@ -110,7 +110,7 @@
"keyType.realms": "string",
"keyType.authz-resource-servers": "string"
},
"jpa-map-storage": {
"jpa": {
"url": "${keycloak.map.storage.connectionsJpa.url:}",
"user": "${keycloak.map.storage.connectionsJpa.user:}",
"password": "${keycloak.map.storage.connectionsJpa.password:}",