apolloconfig / apollo

Apollo is a reliable configuration management system suitable for microservice configuration management scenarios.
https://www.apolloconfig.com
Apache License 2.0
28.93k stars 10.19k forks source link

增加不同环境下所有namespace的一键同步 #5110

Open hasaiki123 opened 3 months ago

hasaiki123 commented 3 months ago

Is your feature request related to a problem? Please describe. 某个应用下创建了很多个namespace,现在可以单独对某一个namespace同步到另外的环境中,请问可以增加对所有namespace一键同步到另外环境中的功能吗?

Describe the solution you'd like 通过点击某个按钮,可以同步当前应用下所有的namespace到不同的环境。

Describe alternatives you've considered 增加一个批量同步namespace的按钮。

Additional context Add any other context or screenshots about the feature request here.

dosubot[bot] commented 3 months ago

It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!

#### About Dosu This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot.
nobodyiam commented 3 months ago

批量同步仍然需要用户对每个 namespace 的配置做确认,可以考虑做一个聚合页面来实现,后端服务的接口可以复用。 不过在什么场景需要这样的能力?似乎通用性不是特别强?

hasaiki123 commented 3 months ago

比如一个apollo的应用下有多个namespace,分别是被我们一个项目下的多个微服务所使用,如果微服务数量有十几个,当我们需要从开发环境转到测试环境的时候,就需要一个个去点击namespaces同步,这样会有点麻烦,所以我们想是不是有个更加方便的功能,可以一键批量的同步namespace。