Skip to content

Commit

Permalink
Rename oidc-token-propagation-reactive to rest-client-oidc-token-prop…
Browse files Browse the repository at this point in the history
…agation
  • Loading branch information
gsmet committed Mar 11, 2024
1 parent 87b19e7 commit 8b2e441
Show file tree
Hide file tree
Showing 11 changed files with 79 additions and 19 deletions.
14 changes: 12 additions & 2 deletions bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -927,12 +927,12 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive</artifactId>
<artifactId>quarkus-rest-client-oidc-token-propagation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive-deployment</artifactId>
<artifactId>quarkus-rest-client-oidc-token-propagation-deployment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -6446,6 +6446,16 @@
<artifactId>quarkus-csrf-reactive-deployment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive-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 docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive-deployment</artifactId>
<artifactId>quarkus-rest-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-reactive/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-reactive-parent</artifactId>
<artifactId>quarkus-rest-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-reactive-deployment</artifactId>
<name>Quarkus - OpenID Connect Token Propagation Reactive - Deployment</name>
<artifactId>quarkus-rest-client-oidc-token-propagation-deployment</artifactId>
<name>Quarkus - REST Client - OpenID Connect Token Propagation - Deployment</name>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive</artifactId>
<artifactId>quarkus-rest-client-oidc-token-propagation</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 2 additions & 2 deletions extensions/oidc-token-propagation-reactive/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-reactive-parent</artifactId>
<name>Quarkus - OpenID Connect Token Propagation Reactive</name>
<artifactId>quarkus-rest-client-oidc-token-propagation-parent</artifactId>
<name>Quarkus - REST 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-reactive/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-reactive-parent</artifactId>
<artifactId>quarkus-rest-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-reactive</artifactId>
<name>Quarkus - OpenID Connect Token Propagation Reactive - Runtime</name>
<description>Use Reactive REST Client to propagate the incoming Bearer access token or token acquired from Authorization Code Flow as HTTP Authorization Bearer token</description>
<artifactId>quarkus-rest-client-oidc-token-propagation</artifactId>
<name>Quarkus - REST Client - OpenID Connect Token Propagation - Runtime</name>
<description>Use REST Client 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 Reactive"
name: "REST Client - OpenID Connect Token Propagation"
metadata:
keywords:
- "oauth2"
Expand Down
9 changes: 4 additions & 5 deletions integration-tests/oidc-token-propagation-reactive/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-reactive-propagation</artifactId>
<name>Quarkus - Integration Tests - OpenID Connect Token Propagation Reactive</name>
<description>Module that contains OpenID Connect Token Propagation Reactive tests</description>
<artifactId>quarkus-integration-test-rest-client-oidc-token-propagation</artifactId>
<name>Quarkus - Integration Tests - REST Client - OpenID Connect Token Propagation</name>

<dependencies>
<dependency>
Expand Down Expand Up @@ -71,11 +70,11 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive</artifactId>
<artifactId>quarkus-rest-client-oidc-token-propagation</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc-token-propagation-reactive-deployment</artifactId>
<artifactId>quarkus-rest-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 @@ -86,6 +86,11 @@ public class generaterelocations implements Runnable {
"https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9");
RELOCATIONS.put("quarkus-csrf-reactive", csrfReactiveRelocation);
RELOCATIONS.put("quarkus-csrf-reactive-deployment", csrfReactiveRelocation);

Function<String, Relocation> oidcTokenPropagationReactiveRelocation = a -> Relocation.ofArtifactId(a.replace("oidc-token-propagation-reactive", "rest-client-oidc-token-propagation"),
"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);
}

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 @@ -71,6 +71,8 @@
<module>quarkus-jaxrs-client-reactive-deployment</module>
<module>quarkus-csrf-reactive</module>
<module>quarkus-csrf-reactive-deployment</module>
<module>quarkus-oidc-token-propagation-reactive</module>
<module>quarkus-oidc-token-propagation-reactive-deployment</module>
</modules>

</project>
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-reactive-deployment</artifactId>

<distributionManagement>
<relocation>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-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-reactive/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-reactive</artifactId>

<distributionManagement>
<relocation>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-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 8b2e441

Please sign in to comment.