Open GeorgiChochov opened 5 years ago
Could the conflicts be solved by the same logic used in the continuous migration issue #447 and PR #778?
Yes and no. Yes, many ideas are applicable, like creating new versions of entities. But there are differences as well:
But transferring a dataset between envs may utilize the export/import feature. After all, transferring a dataset is just export it on one env and import it on another one. A design doc for export/import is pending.
I support the solution via import/export 👍
Background
Currently there is no easy way to move entity definitions across environments. Recreating datasets by hand can be especially tedious.
Feature
It would be great if we could push a button in Menas and promote datasets and their dependencies in bulk to another Menas server, (e.g, Test -> Dev -> UAT -> Pre-prod -> Prod).
An open question is how to handle conflicts (cases where a dataset in the remote environment already has a dataset with the same name and version). This conflict resolution should be drawn up in a shared doc and once resolved posted here.
This task is similar in nature to #34, but meant for direct promotion via HTTP and in bulk, while #34 is meant for manual single item import/export.