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

added service object for notify billing about change status of deposit and added tests #1148

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

OlegPhenomenon
Copy link
Contributor

@OlegPhenomenon OlegPhenomenon commented Sep 25, 2023

close #1130

What's here?
There is a problem with synchronizing the deposit status between the auction and the billing system. When the status is updated in the auction, no request notifies the billing system that the status needs to be updated, because there is no such implementation. This creates some complexity in determining who is the source of truth for the deposit status.

How did you solve this problem?
I created an endpoint on the billing system side that receives user data, auction data, and status: #internetee/eis_billing_system#90. On the auction side, I created a service object that takes the necessary data and sends it to the auction.

How to check?
You need to check how different statuses are changed in the billing system when the administrator changes the deposit status in the auction.

How to review?

  • Make sure the code is clean.
  • Make sure the tests cover all functionalities.
  • Ensure that the code does not add additional complexity and does not affect the functionality of other parts of the code.

@viezly
Copy link

viezly bot commented Sep 25, 2023

Changes preview:

Legend:

👀 Review pull request on Viezly

@OlegPhenomenon OlegPhenomenon force-pushed the 1130-deposit-status-change-no-effect-to-billing branch 5 times, most recently from a26c858 to 9555cfe Compare September 25, 2023 09:44
@OlegPhenomenon OlegPhenomenon force-pushed the 1130-deposit-status-change-no-effect-to-billing branch from 9555cfe to 1a48660 Compare September 26, 2023 07:04
@vohmar vohmar merged commit ff66788 into master Oct 5, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The deposit status does not update in the billing system if the status is changed manually.
3 participants