Skip to content

Support GitHub Auth method #751

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

ielatif
Copy link

@ielatif ielatif commented Jun 3, 2025

Fixes gh-727


@Nested
@TestPropertySource(properties = { "spring.cloud.vault.github.token=gho_00000000-0000-0000-0000-000000000000" })
class GitHubTokenSuppliedByPropertyTest {
Copy link
Member

Choose a reason for hiding this comment

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

For the time being, please avoid using @Nested test classes. Instead, rewrite these to config classes and test these via methods in the main test class.

Copy link
Author

@ielatif ielatif Jun 5, 2025

Choose a reason for hiding this comment

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

Done.
I rewrote unit tests with JUnit 4 inspired by VaultBootstrapperIntegrationTests

Copy link
Author

Choose a reason for hiding this comment

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

This unit test is now migrated to JUnit5 as it is supported now in spring-cloud-vault

@ielatif ielatif marked this pull request as ready for review June 5, 2025 19:26
ielatif added 3 commits June 6, 2025 21:29
Fixes spring-cloudgh-727

Signed-off-by: Issam El-atif <issam.elatif@gmail.com>
Signed-off-by: Issam El-atif <issam.elatif@gmail.com>
Signed-off-by: Issam El-atif <issam.elatif@gmail.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.

Github Auth method support
2 participants