test: 补充新增后端接口的 dev 测试覆盖

This commit is contained in:
zetaloop
2026-04-25 02:23:05 +08:00
parent 0dc74b5035
commit 163dc2a9df
2 changed files with 258 additions and 16 deletions
+15 -15
View File
@@ -283,6 +283,21 @@ static_resources:
cluster: search_api_cluster
timeout: 30s
- match:
safe_regex:
google_re2: {}
regex: "^/api/v1/users/[0-9]+/reviews$"
headers:
- name: ":method"
exact_match: GET
route:
cluster: review_api_cluster
timeout: 30s
typed_per_filter_config:
envoy.filters.http.ext_authz:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute
disabled: true
- match:
prefix: /api/v1/users
route:
@@ -384,21 +399,6 @@ static_resources:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute
disabled: true
- match:
safe_regex:
google_re2: {}
regex: "^/api/v1/users/[0-9]+/reviews$"
headers:
- name: ":method"
exact_match: GET
route:
cluster: review_api_cluster
timeout: 30s
typed_per_filter_config:
envoy.filters.http.ext_authz:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute
disabled: true
- match:
prefix: /api/v1/disputes
route: