Skip to content

Extend test setup to be v5 compatible - #66

Open
fabiante wants to merge 3 commits into
DependencyTrack:mainfrom
fabiante:feat/test-v5
Open

fabiante wants to merge 3 commits into
DependencyTrack:mainfrom
fabiante:feat/test-v5

Conversation

@fabiante

@fabiante fabiante commented Oct 9, 2026 •

Copy link
Copy Markdown

Related to #62

This is the result of trying to add client functionality based on new v5 API endpoints.

I thought extending the test setup first makes sense, as it enables others to add v5 based client functionalities too.

@fabiante
fabiante requested a review from nscuro as a code owner October 9, 2026 13:42
This allows to optionally start a postgres container alongside the apiserver.

Required for testing v5 specific client functions.

Signed-off-by: fabiante <7669818+fabiante@users.noreply.github.com>
With v5 there will be multiple ports. OUr tests must explicitly select the API port.

Without this, this could randomly return the management port which we do not
want.

Signed-off-by: fabiante <7669818+fabiante@users.noreply.github.com>
As the code comment describes,
this ensures the test setup is able to work with v5.

Technically redundant once “real” API tests are added for v5 endpoints.

Signed-off-by: fabiante <7669818+fabiante@users.noreply.github.com>
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.

1 participant