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

Kie提供接口支持一次性查询多个维度的配置 #289

Open
liubao68 opened this issue Jul 13, 2023 · 0 comments
Open

Kie提供接口支持一次性查询多个维度的配置 #289

liubao68 opened this issue Jul 13, 2023 · 0 comments

Comments

@liubao68
Copy link

liubao68 commented Jul 13, 2023

参考: https://github.com/huaweicloud/spring-cloud-huawei/wiki/using-configuration

目前查询应用配置、服务配置、自定义配置, 需要调用3次API,使得应用开发比较复杂,另外应用还需要自己定义的优先级合并配置,进一步增加了复杂度。

建议:

  • 提供一个接口能够支持同时查询多个配置条件,比如同时查询应用配置、服务配置、自定义配置。
  • 多个配置条件可以指定优先级。如果多个条件包含同一个配置项的时候(针对yaml, properties文件), 自动将结果进行合并。 即查询出来的结果不是满足各个条件的结果,而是根据优先级合并后的配置结果。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant