-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Onboard key flow auth #5
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
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
43247d8
add prototype keyflow implementation
marceljk 3b2eb24
add configuration for ApiClient
marceljk ffae878
improve documentation and error handling of KeyFlow and Configuration
marceljk 7e60121
Adjust resource manager to use CoreConfiguration for service account
marceljk bbb974f
review feedback removed try-catch-blocks
marceljk 9517d9f
wip: add tests
marceljk b368002
moved authentication example from resourcemanager to example module
marceljk 6a60e50
feat(deps): apply junit dependencies all gradle subprojects
rubenhoenle 2418447
add unit tests for authentication
marceljk 7f43e71
feat(gradle): add execution task for examples
rubenhoenle fbd3fc7
feedback review
marceljk 1f7b6ba
run formatter
marceljk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
review feedback removed try-catch-blocks
- Loading branch information
commit bbb974f911ea562a6a263e66d7bf5335a2f2820f
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../cloud/stackit/sdk/core/ApiException.java → ...ckit/sdk/core/exception/ApiException.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| package cloud.stackit.sdk.core; | ||
| package cloud.stackit.sdk.core.exception; | ||
|
|
||
|
|
||
| import java.util.List; | ||
|
|
||
12 changes: 12 additions & 0 deletions
12
core/src/main/java/cloud/stackit/sdk/core/exception/CredentialsInFileNotFoundException.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package cloud.stackit.sdk.core.exception; | ||
|
|
||
| public class CredentialsInFileNotFoundException extends RuntimeException { | ||
|
|
||
| public CredentialsInFileNotFoundException(String msg) { | ||
| super(msg); | ||
| } | ||
|
|
||
| public CredentialsInFileNotFoundException(String msg, Throwable cause) { | ||
| super(msg, cause); | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
core/src/main/java/cloud/stackit/sdk/core/exception/PrivateKeyNotFoundException.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package cloud.stackit.sdk.core.exception; | ||
|
|
||
| public class PrivateKeyNotFoundException extends RuntimeException { | ||
|
|
||
| public PrivateKeyNotFoundException(String msg) { | ||
| super(msg); | ||
| } | ||
|
|
||
| public PrivateKeyNotFoundException(String msg, Throwable cause) { | ||
| super(msg, cause); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.