Skip to content

feat: Add druid 33.0.0, remove 30.0.0 #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
strategy:
matrix:
profile:
- {druid: druid-30.0.0, java: '17'}
- {druid: druid-30.0.1, java: '17'}
- {druid: druid-31.0.1, java: '17'}
- {druid: druid-33.0.0, java: '17'}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
required: true
type: choice
options:
- druid-30.0.0
- druid-30.0.1
- druid-31.0.1
- druid-33.0.0
stackable-version:
description: 'The stackable "patch" version to use for this release (e.g., "0").'
required: true
Expand Down
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@

## [Unreleased]

### Added

- Add support for Druid 30.0.1, 31.0.1, and 33.0.0 ([#110], [#112]).

### Changed

- Added support for Druid 30.0.0 and removed support for Druid 27.0.0 ([#104]).
- Removed support for Druid 28.0.1 ([#105]).
- Update dependencies ([#106]).
- Updated Maven plugin versions, added support for Druid 31.0.1 and 30.0.1, removed support for Druid 26.0.0 ([#110]).
- Updated Maven plugin versions ([#110]).

### Removed

- Remove support for Druid 26.0.0, 27.0.0, 28.0.1, 30.0.0 ([#104], [#105], [#110], [#112]).

[#104]: https://github.com/stackabletech/druid-opa-authorizer/pull/104
[#105]: https://github.com/stackabletech/druid-opa-authorizer/pull/105
[#106]: https://github.com/stackabletech/druid-opa-authorizer/pull/106
[#110]: https://github.com/stackabletech/druid-opa-authorizer/pull/110
[#112]: https://github.com/stackabletech/druid-opa-authorizer/pull/112

## [0.6.0] - 2024-03-19

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ An Apache Druid extension to request policy decisions from [Open Policy Agent](h

This project was tested against these Druid versions:

- 30.0.0
- 30.0.1
- 31.0.1
- 33.0.0

## Building

This repository uses Maven and requires at least Java 11 to build:

mvn -P druid-31.0.1 clean package
mvn -P druid-33.0.0 clean package

Please check that the Druid version you are building for is supported and adopt the profile accordingly.
Please check that the Druid version you are building for is supported and adapt the profile accordingly.
The result of this is a JAR file in the `target` directory.

## Installing
Expand Down
40 changes: 29 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<banDuplicatePomDependencyVersions />
<banDynamicVersions />
<requireActiveProfile>
<profiles>druid-30.0.0,druid-30.0.1,druid-31.0.1</profiles>
<profiles>druid-30.0.1,druid-31.0.1,druid-33.0.0</profiles>
<all>false</all>
</requireActiveProfile>
<requireJavaVersion>
Expand Down Expand Up @@ -311,13 +311,19 @@
-->
<profiles>
<profile>
<id>druid-30.0.0</id>
<id>druid-30.0.1</id>
<properties>
<java.version>17</java.version>
<druid.version>30.0.0</druid.version>
<druid.version>30.0.1</druid.version>
<guava.version>32.0.1-jre</guava.version>
<guice.version>4.1.0</guice.version>
<!-- jackson.version in 30.0.0 is actually specified as 2.12.7.20221012 but according to the release notes https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12#micro-patches that is "only" the BOM which specifies almost all dependencies to be 2.12.7 with the exception of jackson-databind which is at 2.12.7.1: https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.12.7.20221012/jackson-bom-2.12.7.20221012.pom so we override that here -->
<!--
jackson.version in 33.0.1 is actually specified as 2.12.7.20221012 but according to the release notes
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12#micro-patches that is "only" the BOM which
specifies almost all dependencies to be 2.12.7 with the exception of jackson-databind which is at 2.12.7.1:
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.12.7.20221012/jackson-bom-2.12.7.20221012.pom
so we override that here
-->
<jackson.version>2.12.7</jackson.version>
</properties>
<dependencies>
Expand All @@ -336,13 +342,20 @@
</dependencies>
</profile>
<profile>
<id>druid-30.0.1</id>
<!-- LTS version as of 25.3 -->
<id>druid-31.0.1</id>
<properties>
<java.version>17</java.version>
<druid.version>30.0.1</druid.version>
<druid.version>31.0.1</druid.version>
<guava.version>32.0.1-jre</guava.version>
<guice.version>4.1.0</guice.version>
<!-- jackson.version in 30.0.1 is actually specified as 2.12.7.20221012 but according to the release notes https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12#micro-patches that is "only" the BOM which specifies almost all dependencies to be 2.12.7 with the exception of jackson-databind which is at 2.12.7.1: https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.12.7.20221012/jackson-bom-2.12.7.20221012.pom so we override that here -->
<!--
jackson.version in 31.0.1 is actually specified as 2.12.7.20221012 but according to the release notes
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12#micro-patches that is "only" the BOM which
specifies almost all dependencies to be 2.12.7 with the exception of jackson-databind which is at 2.12.7.1:
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.12.7.20221012/jackson-bom-2.12.7.20221012.pom
so we override that here
-->
<jackson.version>2.12.7</jackson.version>
</properties>
<dependencies>
Expand All @@ -361,14 +374,19 @@
</dependencies>
</profile>
<profile>
<!-- LTS version as of 25.3 -->
<id>druid-31.0.1</id>
<id>druid-33.0.0</id>
<properties>
<java.version>17</java.version>
<druid.version>31.0.1</druid.version>
<druid.version>33.0.0</druid.version>
<guava.version>32.0.1-jre</guava.version>
<guice.version>4.1.0</guice.version>
<!-- jackson.version in 31.0.1 is actually specified as 2.12.7.20221012 but according to the release notes https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12#micro-patches that is "only" the BOM which specifies almost all dependencies to be 2.12.7 with the exception of jackson-databind which is at 2.12.7.1: https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.12.7.20221012/jackson-bom-2.12.7.20221012.pom so we override that here -->
<!--
jackson.version in 33.0.0 is actually specified as 2.12.7.20221012 but according to the release notes
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12#micro-patches that is "only" the BOM which
specifies almost all dependencies to be 2.12.7 with the exception of jackson-databind which is at 2.12.7.1:
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.12.7.20221012/jackson-bom-2.12.7.20221012.pom
so we override that here
-->
<jackson.version>2.12.7</jackson.version>
</properties>
<dependencies>
Expand Down
Loading