Skip to content

Commit

Permalink
Rename oidc-token-propagation to resteasy-client-oidc-token-propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Mar 11, 2024
1 parent 8b2e441 commit 4d2a7aa
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 22 deletions.
14 changes: 12 additions & 2 deletions bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -907,12 +907,12 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-deployment</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-deployment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -6456,6 +6456,16 @@
<artifactId>quarkus-oidc-token-propagation-reactive-deployment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-deployment</artifactId>
<version>${project.version}</version>
</dependency>
<!-- End of Relocations, please put new extensions above this list -->

</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion devtools/bom-descriptor-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
Expand Down
2 changes: 1 addition & 1 deletion docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,7 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-deployment</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-deployment</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
Expand Down
8 changes: 4 additions & 4 deletions extensions/oidc-token-propagation/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>quarkus-oidc-token-propagation-parent</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-parent</artifactId>
<groupId>io.quarkus</groupId>
<version>999-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>quarkus-oidc-token-propagation-deployment</artifactId>
<name>Quarkus - OpenID Connect Token Propagation - Deployment</name>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-deployment</artifactId>
<name>Quarkus - RESTEasy Client - OpenID Connect Token Propagation - Deployment</name>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 2 additions & 2 deletions extensions/oidc-token-propagation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>quarkus-oidc-token-propagation-parent</artifactId>
<name>Quarkus - OpenID Connect Token Propagation</name>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-parent</artifactId>
<name>Quarkus - RESTEasy Client - OpenID Connect Token Propagation</name>
<packaging>pom</packaging>
<modules>
<module>deployment</module>
Expand Down
8 changes: 4 additions & 4 deletions extensions/oidc-token-propagation/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>quarkus-oidc-token-propagation-parent</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-parent</artifactId>
<groupId>io.quarkus</groupId>
<version>999-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>quarkus-oidc-token-propagation</artifactId>
<name>Quarkus - OpenID Connect Token Propagation - Runtime</name>
<description>Use Jakarta REST Client filter to propagate the incoming Bearer access token or token acquired from Authorization Code Flow as HTTP Authorization Bearer token</description>
<artifactId>quarkus-resteasy-client-oidc-token-propagation</artifactId>
<name>Quarkus - RESTEasy Client - OpenID Connect Token Propagation - Runtime</name>
<description>Use RESTEasy Client filter to propagate the incoming Bearer access token or token acquired from Authorization Code Flow as HTTP Authorization Bearer token</description>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
artifact: ${project.groupId}:${project.artifactId}:${project.version}
name: "OpenID Connect Token Propagation"
name: "RESTEasy Client - OpenID Connect Token Propagation"
metadata:
keywords:
- "oauth2"
Expand Down
9 changes: 4 additions & 5 deletions integration-tests/oidc-token-propagation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>quarkus-integration-test-oidc-token-propagation</artifactId>
<name>Quarkus - Integration Tests - OpenID Connect Token Propagation</name>
<description>Module that contains OpenID Connect Token Propagation tests</description>
<artifactId>quarkus-integration-test-resteasy-client-oidc-token-propagation</artifactId>
<name>Quarkus - Integration Tests - RESTEasy Client OpenID Connect Token Propagation</name>

<dependencies>
<dependency>
Expand Down Expand Up @@ -67,11 +66,11 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-deployment</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-deployment</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/smallrye-jwt-token-propagation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-deployment</artifactId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-deployment</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
Expand Down
5 changes: 5 additions & 0 deletions relocations/generaterelocations.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ public class generaterelocations implements Runnable {
"https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9");
RELOCATIONS.put("quarkus-oidc-token-propagation-reactive", oidcTokenPropagationReactiveRelocation);
RELOCATIONS.put("quarkus-oidc-token-propagation-reactive-deployment", oidcTokenPropagationReactiveRelocation);

Function<String, Relocation> oidcTokenPropagationRelocation = a -> Relocation.ofArtifactId(a.replace("oidc-token-propagation", "resteasy-client-oidc-token-propagation"),
"https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9");
RELOCATIONS.put("quarkus-oidc-token-propagation", oidcTokenPropagationRelocation);
RELOCATIONS.put("quarkus-oidc-token-propagation-deployment", oidcTokenPropagationRelocation);
}

private static final String RELOCATION_POM_TEMPLATE = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + //
Expand Down
2 changes: 2 additions & 0 deletions relocations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
<module>quarkus-csrf-reactive-deployment</module>
<module>quarkus-oidc-token-propagation-reactive</module>
<module>quarkus-oidc-token-propagation-reactive-deployment</module>
<module>quarkus-oidc-token-propagation</module>
<module>quarkus-oidc-token-propagation-deployment</module>
</modules>

</project>
22 changes: 22 additions & 0 deletions relocations/quarkus-oidc-token-propagation-deployment/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>quarkus-relocations-parent</artifactId>
<groupId>io.quarkus</groupId>
<version>999-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>quarkus-oidc-token-propagation-deployment</artifactId>

<distributionManagement>
<relocation>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation-deployment</artifactId>
<version>${project.version}</version>
<message>Update the artifactId in your project build file. Refer to https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9 for more information.</message>
</relocation>
</distributionManagement>
</project>
22 changes: 22 additions & 0 deletions relocations/quarkus-oidc-token-propagation/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>quarkus-relocations-parent</artifactId>
<groupId>io.quarkus</groupId>
<version>999-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>quarkus-oidc-token-propagation</artifactId>

<distributionManagement>
<relocation>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-client-oidc-token-propagation</artifactId>
<version>${project.version}</version>
<message>Update the artifactId in your project build file. Refer to https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9 for more information.</message>
</relocation>
</distributionManagement>
</project>

0 comments on commit 4d2a7aa

Please sign in to comment.