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

refactor(deps): use gaxios for HTTP requests instead of axios #593

Merged

Conversation

stephenplusplus
Copy link
Contributor

This switches from Axios to Gaxios. Hopefully nobody notices.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 15, 2019
test/test.oauth2.ts Outdated Show resolved Hide resolved
test/test.oauth2.ts Outdated Show resolved Hide resolved
test/test.oauth2.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@JustinBeckwith JustinBeckwith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THIS IS EXCITING.

@@ -950,11 +951,12 @@ it('should not retry requests with streaming data', done => {
const scope = nock('http://example.com').post('/').reply(401);
client.credentials = {
access_token: 'initial-access-token',
refresh_token: 'refresh-token-placeholder'
refresh_token: 'refresh-token-placeholder',
expiry_date: (new Date()).getTime() + 500000

This comment was marked as spam.

This comment was marked as spam.

@JustinBeckwith JustinBeckwith changed the title Convert to Gaxios refactor(deps): use gaxios for HTTP requests instead of axios Jan 15, 2019
@JustinBeckwith JustinBeckwith merged commit 1c014d8 into googleapis:master Jan 15, 2019
@stephenplusplus
Copy link
Contributor Author

Tested with several of the client libs as well. BigQuery, Bigtable, Compute, DNS, Logging, Storage to name a fewveral.

@JustinBeckwith
Copy link
Contributor

And it worked!?

@stephenplusplus
Copy link
Contributor Author

Yep! And the proxy test script I've been using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants