Skip to content

Commit

Permalink
Merge pull request #127 from gravitee-io/alpha
Browse files Browse the repository at this point in the history
Merge 'alpha' into master
  • Loading branch information
phiz71 authored Dec 30, 2024
2 parents 8175100 + 3637356 commit 1e2cbae
Show file tree
Hide file tree
Showing 9 changed files with 301 additions and 154 deletions.
12 changes: 4 additions & 8 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
**Issue**
## Issue

https://gravitee.atlassian.net/browse/APIM-XXXX
https://gravitee.atlassian.net/browse/XXXXX

**Description**
## Description

A small description of what you did in that PR.

**Additional context**

<!-- Add any other context about the PR here -->
<!-- It can be links to other PRs or docs or drawing -->
<!-- Or reproduction steps in case of bug fix -->
## Additional context
24 changes: 1 addition & 23 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
{
"extends": ["config:base", ":label(dependencies)"],
"rebaseWhen": "conflicted",
"packageRules": [
{
"matchDatasources": ["orb"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true,
"automergeType": "branch",
"semanticCommitType": "ci"
},
{
"matchDepTypes": ["provided", "test", "build", "import", "parent"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true,
"automergeType": "branch",
"semanticCommitType": "chore"
},
{
"matchDepTypes": ["provided", "test", "build", "import", "parent"],
"matchUpdateTypes": ["major"],
"semanticCommitType": "chore"
}
]
"extends": ["github>gravitee-io/renovate-config:policy"]
}
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
# [4.0.0-alpha.4](https://github.com/gravitee-io/gravitee-policy-oauth2/compare/4.0.0-alpha.3...4.0.0-alpha.4) (2024-12-30)


### Bug Fixes

* **deps:** bump apim version ([7ecbb48](https://github.com/gravitee-io/gravitee-policy-oauth2/commit/7ecbb489d36915a159eeebb1e1b211e72c4508c3))

# [4.0.0-alpha.3](https://github.com/gravitee-io/gravitee-policy-oauth2/compare/4.0.0-alpha.2...4.0.0-alpha.3) (2024-11-29)


### Features

* set a max value for kafka token lifetime ([024ba6e](https://github.com/gravitee-io/gravitee-policy-oauth2/commit/024ba6e50fd2af9ebc3967740d20993877eb9821))

# [4.0.0-alpha.2](https://github.com/gravitee-io/gravitee-policy-oauth2/compare/4.0.0-alpha.1...4.0.0-alpha.2) (2024-11-25)


### Bug Fixes

* invoke callback and complete on auth failure ([121bfeb](https://github.com/gravitee-io/gravitee-policy-oauth2/commit/121bfebf7199db8078781941038caaeb839af13c))

# [4.0.0-alpha.1](https://github.com/gravitee-io/gravitee-policy-oauth2/compare/3.0.5...4.0.0-alpha.1) (2024-11-14)


### Code Refactoring

* use new HttpSecurityPolicy interface ([9e65b1e](https://github.com/gravitee-io/gravitee-policy-oauth2/commit/9e65b1ee8ecb43a505657f2d77c3a42c8b8cdece))


### Features

* implement kafka security policy ([a5a87a8](https://github.com/gravitee-io/gravitee-policy-oauth2/commit/a5a87a8367a9c48b2863488efba85a737842892e))


### BREAKING CHANGES

* requires APIM 4.6+

## [3.0.5](https://github.com/gravitee-io/gravitee-policy-oauth2/compare/3.0.4...3.0.5) (2024-08-29)


Expand Down
5 changes: 3 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ $ curl -H "Authorization: Bearer |accessToken|" \

|===
| Plugin version | APIM version
| 4.x | 4.6.x to latest
| 3.x | 4.0.x to 4.5.x
| 2.x | 3.20.x
| 1.x | Up to 3.19.x
| 2.0.x | 3.20.x
| 3.x | 4.x to latest
|===

== Attributes
Expand Down
51 changes: 12 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.gravitee.policy</groupId>
<artifactId>gravitee-policy-oauth2</artifactId>
<version>3.0.5</version>
<version>4.0.0-alpha.4</version>

<name>Gravitee.io APIM - Policy - OAuth2</name>
<description>Check access token validity during request processing using token introspection</description>
Expand All @@ -34,17 +34,7 @@
</parent>

<properties>
<gravitee-bom.version>6.0.61</gravitee-bom.version>
<gravitee-gateway-api.version>3.2.1</gravitee-gateway-api.version>
<gravitee-policy-api.version>1.11.0</gravitee-policy-api.version>
<gravitee-node.version>4.0.0</gravitee-node.version>
<gravitee-common.version>2.1.1</gravitee-common.version>
<gravitee-apim.version>4.0.0</gravitee-apim.version>
<gravitee-resource-api.version>1.1.0</gravitee-resource-api.version>
<gravitee-resource-oauth2-provider-api.version>1.4.0</gravitee-resource-oauth2-provider-api.version>
<gravitee-resource-cache-provider-api.version>1.4.0</gravitee-resource-cache-provider-api.version>
<nimbus-jose-jwt.version>9.15.2</nimbus-jose-jwt.version>
<guava.version>31.1-jre</guava.version>
<gravitee-apim.version>4.6.0-alpha.3</gravitee-apim.version>

<maven-plugin-assembly.version>3.7.1</maven-plugin-assembly.version>
<maven-plugin-properties.version>1.2.1</maven-plugin-properties.version>
Expand All @@ -57,32 +47,12 @@
<dependencies>
<!-- Import bom to properly inherit all dependencies -->
<dependency>
<groupId>io.gravitee</groupId>
<artifactId>gravitee-bom</artifactId>
<version>${gravitee-bom.version}</version>
<groupId>io.gravitee.apim</groupId>
<artifactId>gravitee-apim-bom</artifactId>
<version>${gravitee-apim.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.gravitee.policy</groupId>
<artifactId>gravitee-policy-api</artifactId>
<version>${gravitee-policy-api.version}</version>
</dependency>
<dependency>
<groupId>io.gravitee.gateway</groupId>
<artifactId>gravitee-gateway-api</artifactId>
<version>${gravitee-gateway-api.version}</version>
</dependency>
<dependency>
<groupId>io.gravitee.resource</groupId>
<artifactId>gravitee-resource-api</artifactId>
<version>${gravitee-resource-api.version}</version>
</dependency>
<dependency>
<groupId>io.gravitee.common</groupId>
<artifactId>gravitee-common</artifactId>
<version>${gravitee-common.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down Expand Up @@ -111,13 +81,11 @@
<dependency>
<groupId>io.gravitee.resource</groupId>
<artifactId>gravitee-resource-oauth2-provider-api</artifactId>
<version>${gravitee-resource-oauth2-provider-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.gravitee.resource</groupId>
<artifactId>gravitee-resource-cache-provider-api</artifactId>
<version>${gravitee-resource-cache-provider-api.version}</version>
<scope>provided</scope>
</dependency>

Expand Down Expand Up @@ -149,7 +117,13 @@
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>${nimbus-jose-jwt.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<scope>provided</scope>
</dependency>

<!-- Test scope -->
Expand Down Expand Up @@ -182,7 +156,6 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Loading

0 comments on commit 1e2cbae

Please sign in to comment.