higress-group/higress
e2e: add testcases for the ext-auth wasmplugin
Open
#1,799 opened on Feb 22, 2025
area/e2ehelp wantedsig/wasm
Repository metrics
- Stars
- (9,036 stars)
- PR merge metrics
- (Avg merge 7d 9h) (18 merged PRs in 30d)
Description
Why do you need it?
Currently, as the functionality of ext-auth is becoming increasingly complex and there are quite a number of users, it would be ideal to introduce e2e testing to assist with regression and testing.
How could it be?
There are a relatively large number of test cases in this area. You can refer to the historical code changes, which generally include combinations of the following scenarios:
- Using the two
endpoint_modes ofenvoyandforward_auth. - Successful authentication and failed authentication.
- Blacklist and whitelist configurations.
Other related information
https://github.com/alibaba/higress/tree/main/plugins/wasm-go/extensions/ext-auth