There are already routing-related data import and export, and it is compatible with OpenAPI.
Could we implement this feature on this basis? On Fri, 14 May 2021 at 15:22, Peter Zhu <sta...@apache.org> wrote: > Hello, > > That sounds good. Can you design the field that we need in the JSON object? > And there is a situation that we should take care of. If the field in the > old version but we delete it in the new version. What we should do ? > > Best regards! > > fregie zh <xiaohao950...@live.com> 于2021年5月14日周五 下午2:34写道: > > > 👋 Hi,everyone. > > I proposal to add a new feature of apisix-dashbord,config export and > > import.This feature is to migrate the configuration in different > > environments. > > I plan to add two api to manager-api: > > > > /apisix/admin/migrate/export: > > Epxort all related config in a json object,then add a 4 bytes checksum to > > end,as a file to download. > > > > /apisix/admin/migrate/import: > > Upload the file exported,check file integrity,check is there any conflict > > with current config. > > if there is any conflict: > > By default,return a error and all conflicted items. > > Mode == skip,write all items not conflicted. > > Mode == overwrite,write all items imported. > > > > What do you think of this feature? > > > > >