From 3afe972e1a067559b5a54104629f734413a98cd1 Mon Sep 17 00:00:00 2001 From: yu_tao <59214333+trickMin@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:03:36 +0800 Subject: [PATCH] fix: support session-state plugin Signed-off-by: yutao04 --- .../main/java/org/hango/cloud/meta/enums/PluginMappingEnum.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hango-api-plane-server/src/main/java/org/hango/cloud/meta/enums/PluginMappingEnum.java b/hango-api-plane-server/src/main/java/org/hango/cloud/meta/enums/PluginMappingEnum.java index 65aede2d..e4ea525d 100644 --- a/hango-api-plane-server/src/main/java/org/hango/cloud/meta/enums/PluginMappingEnum.java +++ b/hango-api-plane-server/src/main/java/org/hango/cloud/meta/enums/PluginMappingEnum.java @@ -53,7 +53,7 @@ public enum PluginMappingEnum { //系统后置插件 TRAFFIC_MARK("proxy.filters.http.traffic_mark", "", Collections.EMPTY_LIST, POST_BUILTIN, 1), DETAILED_STATS("proxy.filters.http.detailed_stats", "", Collections.EMPTY_LIST, POST_BUILTIN, 2), - STATEFUL_SESSION("envoy.filters.http.stateful_session", "type.googleapis.com/envoy.extensions.filters.http.stateful_session.v3.StatefulSessionPerRoute", Collections.EMPTY_LIST, POST_BUILTIN, 3), + STATEFUL_SESSION("envoy.filters.http.stateful_session", "type.googleapis.com/envoy.extensions.filters.http.stateful_session.v3.StatefulSessionPerRoute", Collections.singletonList("session-state"), POST_BUILTIN, 3), SOAPJSONTRANSCODER("proxy.filters.http.soapjsontranscoder", "", Collections.singletonList("soap-json-transcoder"), POST_BUILTIN, 4), //自定义插件