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
F3370459: D5392.id17669.diff
Tue, Nov 26, 2:47 AM
F3363969: D5392.id17739.diff
Mon, Nov 25, 3:39 AM
F3363968: D5392.id.diff
Mon, Nov 25, 3:39 AM
F3363966: D5392.diff
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
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Oct 19 2022, 3:34 PM
services/identity/.gitignore
1 ↗(On Diff #17669)

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 ↗(On Diff #17669)

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.