boomerang-io / community

The Boomerang community, roadmap, planning, and architecture repository. The central place for information on joining, contributing, and governance.
https://useboomerang.io
Apache License 2.0
11 stars 0 forks source link

Workflow + Loader - Migrate Team and User Entities to new v4 Entity #390

Closed tlawrie closed 1 year ago

tlawrie commented 1 year ago

Update any existing Team and User entities in Mongo as part of v4 Loader.

@gchickma @amhudson this is critical for you two to be across. This is as per prior discussions around User and Teams being internal to Flow and therefore need to be created / sync'd as part of an action. They will no longer pull directly from the Essentials teams / users.

tlawrie commented 1 year ago

The Team Entity will have an externalRef on it - I am wondering if I can use that to migrate somehow.

@gchickma @amhudson I only have access to examples of a Team that is created in standalone mode. Are you able to share what it looks like in Essentials land? or does the Flow mongo not end up with a Team Entity at all?

tlawrie commented 1 year ago

I believe the externalRef would be a higherLevelGroupId so that should be easy enough to migrate if that is the case.

tlawrie commented 1 year ago

Additionally need to make the following data migrations

tlawrie commented 1 year ago

UserEntity changes

tlawrie commented 1 year ago

Documented in the Entity v3 to v4 comparison -> https://github.com/boomerang-io/roadmap/issues/368