Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yml转properties会丢失数据 #301

Open
deepjava-gm opened this issue Oct 31, 2023 · 2 comments
Open

yml转properties会丢失数据 #301

deepjava-gm opened this issue Oct 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@deepjava-gm
Copy link

尝试下下面这个yml 去转 properties 丢失了数据

zuul:
host:
connect-timeout-millis: 60000 #HTTP连接超时要比Hystrix的大
socket-timeout-millis: 60000 #socket超时
routes:
#路由id
ihrm-company:
path: /company/** #需要映射的路径地址
#url: http://127.0.0.1:9001 #映射路径对应的实际微服务的url路径
serviceId: ihrm-company
stripPrefix: false #不删除请求前缀
#处理敏感头信息
sentiviteHeaders: #将指定路由的敏感头设置为空
customSensitiveHeaders: true #对指定路由开启自定义敏感头
ihrm-system: #系统
path: /sys/** #配置请求URL的请求规则
serviceId: ihrm-system #指定Eureka注册中心中的服务id
stripPrefix: false
sentiviteHeaders: #将指定路由的敏感头设置为空
customSensitiveHeaders: true #对指定路由开启自定义敏感头

@lyzhang1999 lyzhang1999 added the bug Something isn't working label Nov 2, 2023
@lyzhang1999
Copy link
Contributor

P0

@lyzhang1999
Copy link
Contributor

感谢您的反馈,产品部门正在加紧处理,优先级为P0,请留意 issues 进度。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants