Page MenuHomePhabricator

[services][identity] add cargo run subcommand for populating DDB from MySQL
ClosedPublic

Authored by varun on Oct 19 2022, 3:22 PM.
Tags
None
Referenced Files
F3370684: D5392.id17739.diff
Tue, Nov 26, 3:44 AM
F3370459: D5392.id17669.diff
Tue, Nov 26, 2:47 AM
Unknown Object (File)
Mon, Nov 25, 3:39 AM
Unknown Object (File)
Mon, Nov 25, 3:39 AM
Unknown Object (File)
Mon, Nov 25, 3:39 AM
Unknown Object (File)
Sun, Nov 24, 12:47 PM
Unknown Object (File)
Mon, Nov 11, 1:50 AM
Unknown Object (File)
Mon, Oct 28, 5:08 AM
Subscribers

Details

Summary

We want to make sure that all the relevant existing user data is moved over before we begin double-writing user data to DynamoDB.
The script to handle moving this data will be a subcommand of the Identity service, because that lets us re-use some of the DynamoDB client code.

Test Plan

cargo run in the identity service directory displays the new subcommand

Diff Detail

Repository
rCOMM Comm
Branch
mysqltoddb
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun requested review of this revision.Oct 19 2022, 3:34 PM
services/identity/.gitignore
1

I'm confused, wasn't this handled in D5293? If we're moving the identity .gitignore here, let's dedup it from the main .gitignore, and probably move the services/identity/target ignore here too

This revision is now accepted and ready to land.Oct 20 2022, 5:18 AM
services/identity/.gitignore
1

hm yeah you're right. i'm not sure why it was still showing up in the untracked files section for me... in any case, I think it makes sense to move secrets and target to an identity-specific .gitignore. i'll dedupe

This revision was landed with ongoing or failed builds.Oct 20 2022, 9:55 AM
This revision was automatically updated to reflect the committed changes.