Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ build/
vendor/

app/dubbo-ui/dist/
# Local router-rule-chain E2E reproduction and evidence
e2e/router-rule-chain/
154 changes: 71 additions & 83 deletions api/mesh/v1alpha1/condition_route.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion api/mesh/v1alpha1/condition_route.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ message ConditionRoute {
string key = 6;
string scope = 7;
repeated string conditions = 8;
// conditionRules preserves the structured v3.1 conditions. External YAML
// still uses the field name `conditions`; the rule codec maps it by
// configVersion so v3.0 and v3.1 never overwrite each other.
repeated ConditionRule conditionRules = 9;
}

message ConditionRule {
Expand All @@ -34,4 +38,4 @@ message ConditionRuleFrom {
message ConditionRuleTo {
string match = 1;
int32 weight = 2; // default value will be handled by application logic
}
}
Loading
Loading