-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Rapyd: Enable idempotent request support #4980
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fa9df13
to
a5478fa
Compare
Hi @naashton I will update the idempotency key name according a suggestion from Cristian on the CORE PR. I let you know when it is ready |
a5478fa
to
3504aa8
Compare
Update ready. thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Description ------------------------- [SER-1023](https://spreedly.atlassian.net/browse/SER-1023) This commit adds an idempotency attribute to headers in order to support idempotent requests, Rapyd manage it, taking into account the idempotency value and the amount to determine if a transaction is idempotent or no. Unit test ------------------------- Finished in 0.504217 seconds. 42 tests, 196 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed 83.30 tests/s, 388.72 assertions/s Remote test ------------------------- 49 tests, 142 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 97.9592% passed Rubocop ------------------------- 784 files inspected, no offenses detected
3504aa8
to
de033be
Compare
Description
SER-1023
This commit adds an idempotency attribute to headers in order to support idempotent requests, Rapyd manage it, taking into account the idempotency value and the amount to determine if a transaction is idempotent or no.
Unit test
Finished in 0.504217 seconds.
42 tests, 196 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed
83.30 tests/s, 388.72 assertions/s
Remote test
49 tests, 142 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 97.9592% passed
Rubocop
784 files inspected, no offenses detected