Skip to content

Sort the policies in a rule by policy name when parsing from proto.#10334

Merged
larry-safran merged 6 commits intogrpc:masterfrom
larry-safran:b_285622042
Jul 10, 2023
Merged

Sort the policies in a rule by policy name when parsing from proto.#10334
larry-safran merged 6 commits intogrpc:masterfrom
larry-safran:b_285622042

Conversation

@larry-safran
Copy link
Contributor

This fixes the server sending a GOAWAY when an LDS update with no changes other than ordering is received.

Fixes b/285622042

…his fixes the server sending a GOAWAY when an LDS update with no changes other than ordering is received.
@larry-safran larry-safran requested a review from YifeiZhuang June 29, 2023 23:07
+ "cyMatcher{name\\u003dpsm-interop-authz-policy-20230514-0917-er2uh_td_rbac_rule_";

for (Integer id : ids) {
// Policy policy = Policy.newBuilder().setCondition(Expr.newBuilder()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove

Any proto = Any.pack(rbacPerRoute);
return new RbacFilter().parseFilterConfigOverride(proto);
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove line

Cleanup per reviewer
@larry-safran larry-safran merged commit 8dbd47c into grpc:master Jul 10, 2023
@larry-safran larry-safran deleted the b_285622042 branch July 10, 2023 18:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants