mirror of
https://github.com/alibaba/higress.git
synced 2026-05-11 22:37:32 +08:00
Change jwt-auth plugin name to simple-jwt-auth (#698)
This commit is contained in:
@@ -27,8 +27,8 @@ func init() {
|
||||
|
||||
var WasmPluginsJwtAuth = suite.ConformanceTest{
|
||||
ShortName: "WasmPluginsJwtAuth",
|
||||
Description: "The Ingress in the higress-conformance-infra namespace test the jwt-auth wasmplugins.",
|
||||
Manifests: []string{"tests/go-wasm-jwt-auth.yaml"},
|
||||
Description: "The Ingress in the higress-conformance-infra namespace test the simple-jwt-auth wasmplugins.",
|
||||
Manifests: []string{"tests/go-wasm-simple-jwt-auth.yaml"},
|
||||
Features: []suite.SupportedFeature{suite.WASMGoConformanceFeature},
|
||||
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
||||
testcases := []http.Assertion{
|
||||
@@ -51,7 +51,7 @@ var WasmPluginsJwtAuth = suite.ConformanceTest{
|
||||
},
|
||||
},
|
||||
}
|
||||
t.Run("WasmPlugins jwt-auth", func(t *testing.T) {
|
||||
t.Run("WasmPlugins simple-jwt-auth", func(t *testing.T) {
|
||||
for _, testcase := range testcases {
|
||||
http.MakeRequestAndExpectEventuallyConsistentResponse(t, suite.RoundTripper, suite.TimeoutConfig, suite.GatewayAddress, testcase)
|
||||
}
|
||||
@@ -40,4 +40,4 @@ spec:
|
||||
defaultConfig:
|
||||
token_headers: token
|
||||
token_secret_key: Dav7kfq3iA8S!JUj8&CUkdnQe72E@Cw6
|
||||
url: file:///opt/plugins/wasm-go/extensions/jwt-auth/plugin.wasm
|
||||
url: file:///opt/plugins/wasm-go/extensions/simple-jwt-auth/plugin.wasm
|
||||
Reference in New Issue
Block a user