apache / apache/servicecomb-kie

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

Open
#289 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
545
Forks
70
PR merge metrics
No merged PRs in 30d

Description

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

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

建议:

* 提供一个接口能够支持同时查询多个配置条件,比如同时查询应用配置、服务配置、自定义配置。
* 多个配置条件可以指定优先级。如果多个条件包含同一个配置项的时候(针对yaml, properties文件), 自动将结果进行合并。 即查询出来的结果不是满足各个条件的结果,而是根据优先级合并后的配置结果。
*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked using-configuration wiki page and review the existing application, service, and custom configuration API entry points. Define how multiple conditions and their priorities are represented, including YAML and properties merging; done means one query returns the merged result with the requested precedence.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.