Skip to content
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

Bump testcontainers-keycloak from 1.9.0 to 2.1.2 #53

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2022

Bumps testcontainers-keycloak from 1.9.0 to 2.1.2.

Release notes

Sourced from testcontainers-keycloak's releases.

2.1.2: Bug fixes / maintenance

  • Don't rely on Maven directory when building temporary extension deployment (will enable usage with Gradle etc.).
  • Don't try to re-import a realm when a container is reused.
  • Use Thread.currentThread().getContextClassLoader() in certain cases for importing realm files (will be removed completely again, as soon Keycloak supports auto-import of realms again)
  • Upgrade to Keycloak 17.0.1

2.1.1: Revert RestEasy version changes

The dependency version changes in release 2.1.0 were wrong... blame on me! This release revert these changes again.

2.1.0: Ability to add external libraries

Don't use this version!!! Use 2.1.1 instead!!!


Changes

The auto-build flag is now used always, not matter if really needed or not. This makes adding custom resources which need a build before a lot easier. The most use cases need a build anyway, so this shouldn't matter that much.

Fixes

The Java Admin Client now uses RestEasy dependency versions aligned with the Keycloak runtime. Before, this could lead to a version clash and exceptions during runtime, if you were using different versions in your tests.

New Features

It's now possible to add 3rd party libs, like e.g. further dependencies or other files, to your KeycloakContainer /providers folder with the new .withProviderLibsFrom(...) method. See README.md for further details and also a linked example for how to add dependencies from your maven pom.xml

Keycloak 17 support (Quarkus-based distribution)

Breaking Changes

  • The new base image is the Quarkus-based distribution of Keycloak This version branch WILL NOT work with legacy (Wildfly-based) Keycloak distributions!
  • if you used withExtensionClassesFrom(), you have to change it to withProviderClassesFrom() method
  • the URL returned by getAuthServerUrl() now has a trailing /, possibly you have to change the way you construct/concatenate your paths, you can adjust your custom context path with .withContextPath(...)

New Features

  • the Keycloak admin client org.keycloak:keycloak-admin-client is now a transitive dependency of this library and can be used right out of the box by calling keycloakContainer.getKeycloakAdminClient().
  • you can adjust your custom context path with .withContextPath(...)
  • additionally to TLS config with certificate and key file, you can now use a ready built Java keystore with .useTlsKeystore(keystoreFilename, keystorePassword)
  • you can enable/disable Keycloak features with .withFeaturesEnabled(features...) and .withFeaturesDisabled(features...)

Other Changes

  • Java 11 is now the minimum Java version for development
  • Testing with JUnit 5 support
  • License changed to Apache License 2.0

Keycloak 17 (still Wildfly distribution)

... (truncated)

Commits
  • c4f8cd0 [maven-release-plugin] prepare release 2.1.2
  • 12efbe5 upgrade to KC 17.0.1
  • aaea73d properly reformatting and commenting pr #68
  • 3ec78c3 use current thread context loader for load resources (#68)
  • 9363b43 don't import the realm files again when the container is reused (resolves #66)
  • e7d7296 don't use maven specific directory structure, but rely on the systems temp di...
  • b7ef351 [maven-release-plugin] prepare for next development iteration
  • 1475c22 [maven-release-plugin] prepare release 2.1.1
  • 6958d20 revert the resteasy dependency change again, closes #61
  • 76af2bf update readme with most recent version
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [testcontainers-keycloak](https://github.com/dasniko/testcontainers-keycloak) from 1.9.0 to 2.1.2.
- [Release notes](https://github.com/dasniko/testcontainers-keycloak/releases)
- [Commits](dasniko/testcontainers-keycloak@1.9.0...2.1.2)

---
updated-dependencies:
- dependency-name: com.github.dasniko:testcontainers-keycloak
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 28, 2022
@dependabot dependabot bot requested a review from lmsurpre March 28, 2022 05:16
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 2, 2022

Superseded by #63.

@dependabot dependabot bot closed this May 2, 2022
@dependabot dependabot bot deleted the dependabot/maven/com.github.dasniko-testcontainers-keycloak-2.1.2 branch May 2, 2022 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants