Commit 9f3d22a
mehara-rothila
Address CodeRabbit review feedback on PR wso2#2012
- OperationUpstream schema now requires at least one of main or sandbox
via anyOf, rejecting empty {} at the schema layer as defense in depth
alongside the validator.
- Policy builder per-op sandbox check is now content-based (trims and
checks Url/Ref non-empty) matching the apiSandboxHasContent pattern
used elsewhere. Fixes asymmetric pointer-only check that would emit
sandbox policy chains for empty sandbox wrappers.
- TestResolvePerOpUpstream_DedupSameURL now uses two distinct URLs with
identical apiID|METHOD|path|env, asserting cluster name independence
from URL. Pins the EDS-stable design contract.1 parent b2426a7 commit 9f3d22a
4 files changed
Lines changed: 389 additions & 264 deletions
File tree
- gateway/gateway-controller
- api
- pkg
- api/management
- policy
- xds
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4138 | 4138 | | |
4139 | 4139 | | |
4140 | 4140 | | |
4141 | | - | |
| 4141 | + | |
| 4142 | + | |
| 4143 | + | |
| 4144 | + | |
4142 | 4145 | | |
4143 | 4146 | | |
4144 | 4147 | | |
| |||
0 commit comments