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

fix: support POST for retry-axios #165

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

mojito317
Copy link
Contributor

Retry does not emit when POST request is called in the Node SDK. This is happening because the configuration of retry-axios defaults to the ['GET', 'HEAD', 'OPTIONS', 'DELETE', 'PUT'] verbs (source).

I added a test to make sure retry is happening when POST is called. This test would fail without the augment.

Checklist
  • npm test passes (tip: npm run lint-fix can correct most style issues)
  • tests are included
  • documentation is changed or added

@CLAassistant
Copy link

CLAassistant commented Sep 22, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@dpopp07 dpopp07 left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

Thanks for the PR. I will wait for @barrett-schonefeld to look at this as well and then I will merge

Copy link
Contributor

@barrett-schonefeld barrett-schonefeld left a comment

Choose a reason for hiding this comment

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

Looks good, and thank you for the PR!

@barrett-schonefeld barrett-schonefeld merged commit 6b055d3 into IBM:main Sep 22, 2021
ibm-devx-sdk pushed a commit that referenced this pull request Sep 22, 2021
## [2.14.4](v2.14.3...v2.14.4) (2021-09-22)

### Bug Fixes

* support POST for retry-axios ([#165](#165)) ([6b055d3](6b055d3))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 2.14.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mojito317 mojito317 deleted the support-post-for-retry-axios branch September 22, 2021 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants