-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
expose grpc as http endpoint #18221
Merged
Merged
expose grpc as http endpoint #18221
Changes from 17 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
183298e
init commit
xwa153 eaf297d
pass x-consul-token to the grpc server
xwa153 97dacbc
query params and add logger
xwa153 7062429
log message
xwa153 e69aa2d
change log message
xwa153 4975291
fix unit test
xwa153 f5e9707
remove read
xwa153 f1bfb5d
add detailed error handling message
xwa153 7c19794
Merge branch 'main' into NET-2678/xw-http-api-write
xwa153 42d6ccf
fix unit tests
xwa153 595ac3e
fix unit tests
xwa153 eb96780
general refactor
xwa153 1c2efc2
add more tests
xwa153 884b79d
Merge branch 'main' into NET-2678/xw-http-api-write
xwa153 dacbda0
refactor test
xwa153 b5edf4a
add add owner and remove extra check
xwa153 8db104c
add more tests
xwa153 30938f1
Merge branch 'main' into NET-2678/xw-http-api-write
xwa153 388a465
write the error msg back
xwa153 c3775a7
add owner test
xwa153 996f9e8
add tests regarding the version query parameter
xwa153 c043f45
code refactor
xwa153 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
There are no files selected for viewing
This file contains 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 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 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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is almost identical to
RunResourceService
on L49. Can't you just have one call the other withresolver.DANGER_NO_AUTH
as theaclResolver
and DRY things up?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nicer, thanks!