Page MenuHomePhabricator

[services][identity] add new client method to add users to user table
ClosedPublic

Authored by varun on Feb 10 2023, 12:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 10:23 PM
Unknown Object (File)
Wed, Dec 18, 9:44 PM
Unknown Object (File)
Wed, Dec 18, 7:01 PM
Unknown Object (File)
Sun, Dec 15, 1:56 AM
Unknown Object (File)
Sun, Dec 15, 1:56 AM
Unknown Object (File)
Sun, Dec 15, 1:54 AM
Unknown Object (File)
Sun, Dec 15, 1:29 AM
Unknown Object (File)
Tue, Dec 3, 3:35 PM
Subscribers

Details

Summary

we should call the dynamodb put_item API instead of update_item to add new items to the table.

this change introduces a new db client method that calls the put_item API.

Test Plan

called the db client method from main and successfully added a new user to a test table in ddb

Diff Detail

Repository
rCOMM Comm
Branch
tmp (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage