-
Couldn't load subscription status.
- Fork 32
🎨 Payments-methods logic in payments service
#4953
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
🎨 Payments-methods logic in payments service
#4953
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4953 +/- ##
========================================
- Coverage 83.3% 79.1% -4.2%
========================================
Files 1214 1020 -194
Lines 50379 42655 -7724
Branches 1076 836 -240
========================================
- Hits 41968 33745 -8223
- Misses 8184 8726 +542
+ Partials 227 184 -43
Flags with carried forward coverage won't be shown. Click here to find out more.
|
8a39536 to
01676aa
Compare
7188c16 to
1d00a70
Compare
payments service
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.
this is looking good. I am not sure I understand how you distringuish between log.debug messages, todos and fixme though.
packages/models-library/src/models_library/api_schemas_webserver/wallets.py
Outdated
Show resolved
Hide resolved
services/payments/src/simcore_service_payments/api/rest/_acknowledgements.py
Outdated
Show resolved
Hide resolved
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.
👍
services/payments/src/simcore_service_payments/api/rpc/_payments_methods.py
Outdated
Show resolved
Hide resolved
services/payments/src/simcore_service_payments/api/rpc/_payments_methods.py
Outdated
Show resolved
Hide resolved
services/payments/src/simcore_service_payments/api/rpc/_payments_methods.py
Outdated
Show resolved
Hide resolved
services/payments/src/simcore_service_payments/db/payments_methods_repo.py
Outdated
Show resolved
Hide resolved
4080303 to
caf34b8
Compare
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! Looks good to me
packages/models-library/src/models_library/api_schemas_webserver/wallets.py
Show resolved
Hide resolved
b621fb4 to
e41d48a
Compare
|
Code Climate has analyzed commit e41d48a and detected 0 issues on this pull request. View more on Code Climate. |
|
Kudos, SonarCloud Quality Gate passed!
|
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.
🥇








What do these changes do?
Implements payment-methods logic in the
paymentsservice. The logic has been basically copied and adapted from that existing in thewebserver.paymentsplugin. Nonetheless, the code in thewebserverwill still fake the payment-method until app-motion's app-gateway fully implements the payment-method infrastructure (https://github.com/ITISFoundation/appmotion-exchange/issues/11)Highlights
db/payments_methods_repo: implemented a repository layer for payment-methodsapi/rest/_acknowledgements: implemented the rest interface to ACK payment-methodsapi/rpc/_payments_methods: implements rpc interface for payment-methods exposed to the web-serverservices/payments_gateway: implements the http client calls to the payment-gateway API for payment-methodsRelated issue/s
How to test
Driving tests
DevOps