Replies: 2 comments 3 replies
-
@colynn @fanhousanbu @CraiGZero 一起参与讨论下,如何设计更好的“配置升级”方案呢 |
Beta Was this translation helpful? Give feedback.
3 replies
-
支持方案一,觉得不是像数据migrate那样很关键的功能,目前配置文件还很有可能发生变化,对于配置文件的灵活性、易用性是功能稳定后再整体考虑是不是更好些,现阶段建议采用方案一 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
方案一
不同步 ,在项目开发过程中,新的配置维护到
app.conf.template
文件中,用户可自行查阅方案二
文件对比并增量覆盖,方案大致如下:
app.conf.template
文件,保持配置最新,并跟随项目一同发布app.conf.template
和app.conf
app.conf
中方案三
迁移到数据库,除基础配置(比如httpPort和DB::url)外,其他所有业务配置均迁移到数据库
Beta Was this translation helpful? Give feedback.
All reactions