Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync studies and orgs between Data Tracker and Dewrangle #809

Open
znatty22 opened this issue Dec 13, 2021 · 2 comments
Open

Sync studies and orgs between Data Tracker and Dewrangle #809

znatty22 opened this issue Dec 13, 2021 · 2 comments
Assignees
Labels
feature New functionality

Comments

@znatty22
Copy link
Member

znatty22 commented Dec 13, 2021

Dewrangle is the next generation Data Tracker, and it needs to synchronize it's data in some way with Data Tracker.

Right now the need is to synchronize one way (Data Tracker -> Dewrangle) but this might change in the future if there are attributes on Dewrangle studies/orgs that we want to display in Data Tracker.

Synchronization should happen on these triggers:

Sync study on create/org study mutations

  • Upon successful creation of a study in Data Tracker, create the study in Dewrangle and save the dewrangle id on the data tracker Study
  • Upon successful update of a study in Data Tracker, update the study in Dewrangle

Sync org on create/update org mutations

  • Upon successful creation of an org in Data Tracker, create the org in Dewrangle and save the dewrangle id on the data tracker Organization
  • Upon successful update of an org in Data Tracker, update the org in Dewrangle

Sync studies and orgs in daily job

  • On a daily basis, scan orgs and studies that have a null dewrangle_id and create them in Dewrangle. This will help migrate existing studies and orgs to Dewrangle
@znatty22 znatty22 added the feature New functionality label Dec 13, 2021
@znatty22 znatty22 self-assigned this Dec 13, 2021
@znatty22
Copy link
Member Author

cc @shanewilson

@znatty22
Copy link
Member Author

Could be useful to search by name for upsert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

No branches or pull requests

1 participant