[go: nahoru, domu]

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

remove request module from database helpers #2828

Merged
merged 9 commits into from
Nov 17, 2020
Merged

Conversation

bkendall
Copy link
Contributor
@bkendall bkendall commented Nov 16, 2020

Description

request is deprecated. replacing usages of it with the new apiv2 client.

I also found some interesting cases where databse:get wouldn't write to the output file correctly, so I re-vamped the logic to make sure that the command only exits when the streams fully complete.

I also added some client-integration tests for the database:* commands, which helped debug & fix.

Scenarios Tested

  • database:get
  • database:set
  • database:remove

Sample Commands

@google-cla google-cla bot added the cla: yes Manual indication that this has passed CLA. label Nov 16, 2020
scripts/client-integration-tests/tests.ts Outdated Show resolved Hide resolved
bkendall and others added 2 commits November 17, 2020 14:27
Co-authored-by: Yuchen Shi <yuchenshi@google.com>
@bkendall bkendall merged commit f88920f into master Nov 17, 2020
@bkendall bkendall deleted the bk-database-api branch November 17, 2020 23:44
@fredzqm fredzqm mentioned this pull request Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Manual indication that this has passed CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants