Skip to content

Commit

Permalink
Map Store Removal: Rename legacy modules
Browse files Browse the repository at this point in the history
Closes keycloak#24107

Signed-off-by: Martin Kanis <[email protected]>
  • Loading branch information
martin-kanis authored and ahus1 committed Jan 25, 2024
1 parent 28c9f98 commit 7797f77
Show file tree
Hide file tree
Showing 175 changed files with 45 additions and 37 deletions.
6 changes: 3 additions & 3 deletions dependencies/server-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy</artifactId>
<artifactId>keycloak-model-storage</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-services</artifactId>
<artifactId>keycloak-model-storage-services</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,11 @@ After removal of the Map Store the following configuration options were renamed:
* `spi-connections-jpa-legacy-initialize-empty` to `spi-connections-jpa-quarkus-initialize-empty`
* `spi-connections-jpa-legacy-migration-export` to `spi-connections-jpa-quarkus-migration-export`
* `spi-connections-jpa-legacy-migration-strategy` to `spi-connections-jpa-quarkus-migration-strategy`

= Renaming model modules

After removal of the Map Store the following modules were renamed:

* `org.keycloak:keycloak-model-legacy` to `org.keycloak:keycloak-model-storage`
* `org.keycloak:keycloak-model-legacy-private` to `org.keycloak:keycloak-model-storage-private`
* `org.keycloak:keycloak-model-legacy-services` to `org.keycloak:keycloak-model-storage-services`
2 changes: 1 addition & 1 deletion federation/kerberos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions federation/ldap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy</artifactId>
<artifactId>keycloak-model-storage</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -94,7 +94,7 @@
<dependency>
<!-- needed for InMemoryUserAdapter -->
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down
2 changes: 1 addition & 1 deletion federation/sssd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions model/infinispan/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy</artifactId>
<artifactId>keycloak-model-storage</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down
4 changes: 2 additions & 2 deletions model/jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy</artifactId>
<artifactId>keycloak-model-storage</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
Expand Down
6 changes: 3 additions & 3 deletions model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<packaging>pom</packaging>

<modules>
<module>legacy</module>
<module>legacy-private</module>
<module>legacy-services</module>
<module>storage</module>
<module>storage-private</module>
<module>storage-services</module>
<module>jpa</module>
<module>infinispan</module>
</modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>keycloak-model-legacy-private</artifactId>
<name>Keycloak Legacy Database Support - Private classes</name>
<artifactId>keycloak-model-storage-private</artifactId>
<name>Keycloak Database Support - Private classes</name>
<description/>

<dependencies>
Expand All @@ -26,7 +26,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy</artifactId>
<artifactId>keycloak-model-storage</artifactId>
</dependency>
<dependency>
<!-- needed for LegacyExportImportManager that is calling ValidationUtil.validateClient (which is in server-spi-private) might throw a BadRequestException -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>keycloak-model-legacy-services</artifactId>
<name>Keycloak Legacy Database Support - REST services</name>
<artifactId>keycloak-model-storage-services</artifactId>
<name>Keycloak Database Support - REST services</name>
<description/>

<dependencies>
Expand All @@ -18,7 +18,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down
4 changes: 2 additions & 2 deletions model/legacy/pom.xml → model/storage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>keycloak-model-legacy</artifactId>
<name>Keycloak Legacy Database Support</name>
<artifactId>keycloak-model-storage</artifactId>
<name>Keycloak Database Support</name>
<description/>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1222,17 +1222,17 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy</artifactId>
<artifactId>keycloak-model-storage</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-services</artifactId>
<artifactId>keycloak-model-storage-services</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions quarkus/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy</artifactId>
<artifactId>keycloak-model-storage</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -249,7 +249,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -259,7 +259,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-services</artifactId>
<artifactId>keycloak-model-storage-services</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand Down
2 changes: 1 addition & 1 deletion services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-private</artifactId>
<artifactId>keycloak-model-storage-private</artifactId>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-services</artifactId>
<artifactId>keycloak-model-storage-services</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.core</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<module name="org.keycloak.keycloak-saml-core-public"/>
<module name="org.keycloak.keycloak-server-spi"/>
<module name="org.keycloak.keycloak-server-spi-private"/>
<module name="org.keycloak.keycloak-model-legacy"/>
<module name="org.keycloak.keycloak-model-legacy-private"/>
<module name="org.keycloak.keycloak-model-legacy-services"/>
<module name="org.keycloak.keycloak-model-storage"/>
<module name="org.keycloak.keycloak-model-storage-private"/>
<module name="org.keycloak.keycloak-model-storage-services"/>
<module name="org.keycloak.keycloak-services"/>
<module name="org.keycloak.keycloak-model-infinispan"/>
<module name="org.keycloak.keycloak-model-jpa"/>
Expand Down
2 changes: 1 addition & 1 deletion testsuite/integration-arquillian/tests/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-legacy-services</artifactId>
<artifactId>keycloak-model-storage-services</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak.testsuite</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<module name="org.keycloak.keycloak-server-spi"/>
<module name="org.keycloak.keycloak-server-spi-private"/>
<module name="org.keycloak.keycloak-services" services="import"/>
<module name="org.keycloak.keycloak-model-legacy"/>
<module name="org.keycloak.keycloak-model-legacy-private"/>
<module name="org.keycloak.keycloak-model-legacy-services"/>
<module name="org.keycloak.keycloak-model-storage"/>
<module name="org.keycloak.keycloak-model-storage-private"/>
<module name="org.keycloak.keycloak-model-storage-services"/>
<module name="org.keycloak.keycloak-model-infinispan"/>
<module name="org.keycloak.keycloak-model-jpa"/>
<module name="org.keycloak.keycloak-ldap-federation"/>
Expand Down

0 comments on commit 7797f77

Please sign in to comment.