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)
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
Unknown Object (File)
Tue, Dec 3, 1:15 PM
Unknown Object (File)
Tue, Dec 3, 1:15 PM
Unknown Object (File)
Tue, Dec 3, 11:22 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable