higress-group/higress

e2e: add testcases for the ext-auth wasmplugin

Ouverte

#1 799 ouverte le 22 févr. 2025

 (0 commentaire) (0 réaction) (0 personne assignée)Go (1 219 forks)github user discovery
area/e2ehelp wantedsig/wasm

Métriques du dépôt

Stars
 (9 036 étoiles)
Métriques de merge PR
 (Merge moyen 7j 9h) (18 PRs mergées en 30 j)

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 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

Guide contributeur