AbsaOSS / enceladus

Dynamic Conformance Engine
Apache License 2.0
31 stars 14 forks source link

Allow the promotion of entities from one environment to another #594

Open GeorgiChochov opened 5 years ago

GeorgiChochov commented 5 years ago

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.

Zejnilovic commented 5 years ago

Could the conflicts be solved by the same logic used in the continuous migration issue #447 and PR #778?

yruslan commented 5 years ago

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.

benedeki commented 4 years ago

I support the solution via import/export 👍