Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rls: overhaul RouteLookupConfig validation (#8645)
The `RlsProtoData.RouteLookupConfig` class is out-of-date. - Some of the fields were long, but now are of `Duration` type. - Some of the fields are deleted. - The validation of some of the fields either have been changed or were wrong since beginning. Now overhaul all the fields in `RlsProtoData.RouteLookupConfig` class based on the spec http://go/grpc-rls-lb-policy-design#heading=h.y3h669gfpown. Also move the validation logic in json parsing rather than in the constructor of `RouteLookupConfig`.
- Loading branch information
1 parent
cb4b914
commit 2330922
Showing
10 changed files
with
527 additions
and
287 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
Oops, something went wrong.