-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add manual implementation of APIv3 HTTP endpoints (#5054)
## Which problem is this PR solving? - Part of #5052 ## Description of the changes - Pull in IDL change jaegertracing/jaeger-idl#102 - Re-implement APIv3 HTTP endpoints without the use of grpc-gateway - Share tests from grpc-gateway for manual implementation - Refactor tests to avoid duplication of snapshots - Fix inconsistency between http and grpc tenancy interceptors where HTTP was returning Unauthenticated in certain cases, but GRPC was always returning Forbidden. Make them consistent: missing tenant header results in Unauthenticated. ## Follow-ups - [x] http implementation needs more unit tests (mostly error handling and parameter variations) - [ ] the new implementation is not hooked up into production code yet, I first want to confirm it works with model-v2, and just in general minimize the scope of a single PR ## How was this change tested? - Using unit tests added in #5051, with additional enhancements --------- Signed-off-by: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
5082239
commit 718f666
Showing
22 changed files
with
790 additions
and
212 deletions.
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
Oops, something went wrong.