higress-group/higress

e2e: add testcases for the ext-auth wasmplugin

Aperta

#1799 aperta il 22 feb 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Go (1219 fork)github user discovery
area/e2ehelp wantedsig/wasm

Metriche repository

Star
 (9036 stelle)
Metriche merge PR
 (Merge medio 7g 9h) (18 PR mergiate in 30 g)

Descrizione

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 of envoy and forward_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

Guida contributor