From a8d66846f7e74e6400c7a993a306934854c8fd98 Mon Sep 17 00:00:00 2001 From: ChengJie1053 <18033291053@163.com> Date: Mon, 27 Nov 2023 16:40:41 +0800 Subject: [PATCH] Modify configmap-linkis-config.yaml --- .../templates/configmap-linkis-config.yaml | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml b/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml index a0afba5bfd..fabd984222 100644 --- a/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml +++ b/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml @@ -106,6 +106,16 @@ data: reasonable: true support-methods-arguments: true params: countSql + spring: + cloud: + loadbalancer: + cache: + enabled: false + main: + allow-circular-references: true + mvc: + pathmatch: + matching-strategy: ant_path_matcher #ribbon: # ReadTimeout: 10000 @@ -121,6 +131,15 @@ data: application: name: linkis-mg-eureka profiles: eureka + cloud: + loadbalancer: + cache: + enabled: false + main: + allow-circular-references: true + mvc: + pathmatch: + matching-strategy: ant_path_matcher freemarker: cache: false prefer-file-system-access: false @@ -198,6 +217,16 @@ data: wds.linkis.client.common.authStrategy=token wds.linkis.client.common.tokenKey=Validation-Code wds.linkis.client.common.tokenValue=BML-AUTH + spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false #wds.linkis.client.noncustomizable.enable.user.specification=true #wds.linkis.client.noncustomizable.enable.proxy.user=true @@ -259,6 +288,14 @@ data: spring.spring.servlet.multipart.file-size-threshold=50MB spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false linkis-mg-gateway.properties: | #wds.linkis.server.restful.uri=/ @@ -284,6 +321,16 @@ data: spring.server.port={{ .Values.mgGateway.port }} ## you may set service version if you want to distinguish different configuration version spring.eureka.instance.metadata-map.linkis.conf.version=v1 + spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false linkis-cg-linkismanager.properties: | ##restful @@ -300,6 +347,16 @@ data: ## you may set service version if you want to distinguish different configuration version spring.eureka.instance.metadata-map.linkis.conf.version=v1 + spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false ##Spring spring.server.port={{ .Values.cgLinkisManager.port }} @@ -316,6 +373,16 @@ data: #wds.linkis.engineconn.env.keys=SPARK3_HOME, spring.eureka.instance.metadata-map.linkis.conf.version=v1 + spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false linkis-cg-engineplugin.properties: | @@ -333,6 +400,16 @@ data: ##Spring spring.server.port={{ .Values.cgEnginePlugin.port }} + spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false linkis-cg-entrance.properties: | ##restful @@ -358,6 +435,16 @@ data: ## you may set service version if you want to distinguish different configuration version spring.eureka.instance.metadata-map.linkis.conf.version=v1 + spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false linkis-ps-publicservice.properties: | wds.linkis.server.mdm.service.instance.expire-in-seconds=1800 @@ -393,6 +480,16 @@ data: spring.server.port={{ .Values.psPublicService.port }} spring.spring.main.allow-bean-definition-overriding=true spring.spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=false + spring.spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.spring.cloud.loadbalancer.cache.enabled=false + spring.mvc.pathmatch.matching-strategy=ant_path_matcher + spring.cloud.loadbalancer.cache.enabled=false + springfox.documentation.enabled=false + springfox.documentation.auto-startup=false + springfox.documentation.swagger-ui.enabled=false + spring.springfox.documentation.enabled=false + spring.springfox.documentation.auto-startup=false + spring.springfox.documentation.swagger-ui.enabled=false # ps-cs prefix must be started with 'cs_' spring.eureka.instance.metadata-map.route=cs_1_dev