alibaba / higress

Cloud Native API Gateway | 云原生API网关
https://higress.io
Apache License 2.0
2.5k stars 407 forks source link

feat: Add request-tag extension with version 1.0.0 #1055

Open TJKkking opened 5 days ago

TJKkking commented 5 days ago

Ⅰ. Describe what this PR did

This PR introduces a new WASM plugin that enables tagging specific requests based on user-defined rules. The functionality is aimed at facilitating gateway-level gray scaling by tagging requests that meet certain criteria. This can be immensely useful for directing traffic and managing request flows in microservices architectures, especially for testing new features under controlled conditions.

Ⅱ. Does this pull request fix one issue?

No.

Ⅲ. Why don't you add test cases (unit test/integration test)?

Added full e2e test cases.

Ⅳ. Describe how to verify it

https://github.com/alibaba/higress/blob/main/test/README_CN.md#higress-e2e-%E6%B5%8B%E8%AF%95

Ⅴ. Special notes for reviews

CLAassistant commented 5 days ago

CLA assistant check
All committers have signed the CLA.