feat(keycloak): support for relative path and management relative path by JotBePunkt · Pull Request #982 · testcontainers/testcontainers-python · GitHub
Skip to content

feat(keycloak): support for relative path and management relative path#982

Merged
Tranquility2 merged 3 commits into
testcontainers:mainfrom
JotBePunkt:add-management-relative-path
Apr 1, 2026
Merged

feat(keycloak): support for relative path and management relative path#982
Tranquility2 merged 3 commits into
testcontainers:mainfrom
JotBePunkt:add-management-relative-path

Conversation

@JotBePunkt

@JotBePunkt JotBePunkt commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

When these parameters were set, the functions get_url() and get_management_url() did return the wrong URLs (without the prefix)

Now the implementation checks if the parameter is checked and adds it to the returned URL

This solves #964

Baitinger Jens and others added 2 commits February 13, 2026 17:15
When these parameters were set, the functions get_url() and get_management_url() did return the wrong URLs (without the prefix)

Now the implementation checks if the parameter is checked and adds it to the returned URL
@JotBePunkt

Copy link
Copy Markdown
Contributor Author

@alexanderankin

Copy link
Copy Markdown
Member

i started rebasing a bigger PR yesterday, working through merging all the things

@themavik themavik left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changes — the Keycloak relative path support aligns with the container configuration. The management relative path addition provides flexibility for different deployment setups.

@codecov

codecov Bot commented Apr 1, 2026

Copy link
Copy Markdown

@Tranquility2 Tranquility2 merged commit 898faf6 into testcontainers:main Apr 1, 2026
12 checks passed
alexanderankin added a commit that referenced this pull request Apr 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[4.15.0-rc.1](testcontainers-v4.14.2...testcontainers-v4.15.0-rc.1)
(2026-04-07)


### Features

* **compose:** add structured container inspect information
([#897](#897))
([58459a1](58459a1))
* **core:** support SSH-based DOCKER_HOST
([#993](#993))
([d48115d](d48115d))
* **generic:** Reintroducing the generic SQL module
([#892](#892))
([2ca2321](2ca2321))
* **keycloak:** support for relative path and management relative path
([#982](#982))
([898faf6](898faf6))
* **mqtt:** MosquittoContainer: Add version 2.1.2
([#978](#978))
([af382f7](af382f7))


### Bug Fixes

* **azurite:** make visible to type checkers
([#927](#927))
([baa5668](baa5668))
* **clickhouse:** add `HttpWaitStrategy` instead of deprecated
`wait_container_is_ready`
([#962](#962))
([8034541](8034541))
* **compose:** return type in get_service_port docstring
([#939](#939))
([fed65fe](fed65fe))
* **core:** Refactor copy file
([#996](#996))
([0e0bb24](0e0bb24))
* **core:** wait for ryuk more reliably, improve tests: long_running,
filter logs
([#984](#984))
([b12ae13](b12ae13))
* **generic:** Migrate ServerContainer from deprecated decorator to
HttpWaitStrategy
([#971](#971))
([460b0d8](460b0d8))
* **kafka:** Use wait strategy instead of deprecated wait_for_logs
([#903](#903))
([87332c1](87332c1))
* **postgres:** add py.typed marker to postgres module
([#849](#849))
([c8a5bbd](c8a5bbd))
* **qdrant:** migrate Qdrant from deprecated decorator.
([#963](#963))
([407f798](407f798))
* **redis:** Use wait strategy instead of deprecated decorator
([#914](#914))
([e25713a](e25713a))
* **sftp:** Avoid using wait_for_logs in module.
([#995](#995))
([83157eb](83157eb))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: David Ankin <daveankin@gmail.com>
@Tranquility2 Tranquility2 linked an issue Apr 24, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Keycloak health check not working with HTTP relative path

4 participants