-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support for the
DAPR_HTTP_ENDPOINT
and DAPR_GRPC_ENDPOINT
e…
…nvironment variables. Adds support for DAPR_API_TOKEN to gRPC client (#519) * feat: Adds endpoint parsing Signed-off-by: Elena Kolevska <[email protected]> * Adds support for the DAPR_HTTP_ENDPOINT environment variable Signed-off-by: Elena Kolevska <[email protected]> * Adds tests for endpoint environment variables (HTTP only) Signed-off-by: Elena Kolevska <[email protected]> * test: Adds tests for endpoint environment variables (HTTP only) Signed-off-by: Elena Kolevska <[email protected]> * fix(style) Linter fixes Signed-off-by: Elena Kolevska <[email protected]> * Adds support for dapr-api-token metadata Signed-off-by: Elena Kolevska <[email protected]> * Adds support for the DAPR_GRPC_ENDPOINT environment variable Signed-off-by: Elena Kolevska <[email protected]> * Fixes linter issues Signed-off-by: Elena Kolevska <[email protected]> * Fixes linter issues Signed-off-by: Elena Kolevska <[email protected]> * Only add api token interceptor if it’s specified Signed-off-by: Elena Kolevska <[email protected]> * Reorganises the code a bit Signed-off-by: Elena Kolevska <[email protected]> * Runs pretty-fix Signed-off-by: Elena Kolevska <[email protected]> * Adds test for scheme prefix removal for grpc Signed-off-by: Elena Kolevska <[email protected]> * Apply suggestions from code review Co-authored-by: Shubham Sharma <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> * Apply suggestions from code review Co-authored-by: Shubham Sharma <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> * Adds examples for the parseEndpoint function Signed-off-by: Elena Kolevska <[email protected]> * Adds tests for the dapr-api-token metadata in gRPC calls Signed-off-by: Elena Kolevska <[email protected]> * Updates after review Signed-off-by: Elena Kolevska <[email protected]> * docs: Adds info and examples about the new environment variables to the docs Signed-off-by: Elena Kolevska <[email protected]> * Addresses review comments Signed-off-by: Elena Kolevska <[email protected]> * Small formatting fix Signed-off-by: Elena Kolevska <[email protected]> * Fixes docs Signed-off-by: Elena Kolevska <[email protected]> --------- Signed-off-by: Elena Kolevska <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> Co-authored-by: Shubham Sharma <[email protected]>
- Loading branch information
1 parent
df7eff2
commit 7464735
Showing
11 changed files
with
769 additions
and
28 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
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
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.