Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle grpc authentication errors (#5297)
* Handle auth error in grpc calls Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Rename resource clients consistently Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Aply suggested refactor Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Remove leftover Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix test Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Add missing mocked "catch" Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Rename grpc clients in tests Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Add full mapping of grpc codes to app errors Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Return PermissionDenied instead of unauthenticated Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Replace deprecated button in error boundary Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix filter by plugin Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Use the error obj instead of the grpc code Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Use new error types Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix test case Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix buf lint error Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix lint error Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
- Loading branch information
Showing
37 changed files
with
477 additions
and
248 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
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.