-
Notifications
You must be signed in to change notification settings - Fork 62
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
Fix the unmatched request handling by set the grpc status in payload. #223
Conversation
Signed-off-by: Jianfei Hu <[email protected]>
Signed-off-by: Jianfei Hu <[email protected]>
Signed-off-by: Jianfei Hu <[email protected]>
@dio @Shikugawa for review. |
Signed-off-by: Jianfei Hu <[email protected]>
@@ -12,6 +12,7 @@ | |||
#include "common/config/version_converter.h" | |||
#include "config/config.pb.h" | |||
#include "envoy/common/exception.h" | |||
// #include "envoy/grpc/status.h" |
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.
remove?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: incfly, Shikugawa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@incfly I observed a test failure in master... https://github.com/istio-ecosystem/authservice/runs/7541606968?check_suite_focus=true |
@Shikugawa suspect it's some build flakiness, rerunning, https://github.com/istio-ecosystem/authservice/runs/7545016277?check_suite_focus=true |
…#223) * mst fix e2e with hardcode. Signed-off-by: Jianfei Hu <[email protected]> * wip organize the convert code. Signed-off-by: Jianfei Hu <[email protected]> * update example to use localhost Signed-off-by: Jianfei Hu <[email protected]> * make format. Signed-off-by: Jianfei Hu <[email protected]>
…istio-ecosystem#223) * mst fix e2e with hardcode. Signed-off-by: Jianfei Hu <[email protected]> * wip organize the convert code. Signed-off-by: Jianfei Hu <[email protected]> * update example to use localhost Signed-off-by: Jianfei Hu <[email protected]> * make format. Signed-off-by: Jianfei Hu <[email protected]>
…#223) (#225) * mst fix e2e with hardcode. Signed-off-by: Jianfei Hu <[email protected]> * wip organize the convert code. Signed-off-by: Jianfei Hu <[email protected]> * update example to use localhost Signed-off-by: Jianfei Hu <[email protected]> * make format. Signed-off-by: Jianfei Hu <[email protected]>
Fix #140
Previously we only return the grpc status, but not set the actual response payload,
response.status
.Verified works manually e2e with
allow_unmatched_request: true/false
having different effect.