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

[PRDP-267] feat: Add timer trigger function for recovering failed receipt #22

Merged

Conversation

gioelemella
Copy link
Collaborator

@gioelemella gioelemella commented Dec 5, 2023

List of Changes

  • added timer trigger function for recovering receipt in status INSERTED, FAILED and NOT_QUEUE_SENT
  • added new env RECOVER_FAILED_CRON
  • fixed recover failed logic for status NOT_QUEUE_SENT
  • added unit tests

Motivation and Context

Automatically recover receipts in failed status

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@gioelemella gioelemella force-pushed the PRDP-267-add-time-trigger-function-for-recover-failed branch from 148fdf2 to 148302e Compare December 6, 2023 08:28
@gioelemella gioelemella marked this pull request as ready for review December 6, 2023 08:29
Copy link
Contributor

@pasqualespica pasqualespica left a comment

Choose a reason for hiding this comment

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

great 🚀

Copy link

github-actions bot commented Dec 6, 2023

This PR exceeds the recommended size of 400 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

Copy link

github-actions bot commented Dec 6, 2023

Comment this PR with update_code to update openapi.json and format the code. Consider to use pre-commit to format the code.

Copy link

sonarcloud bot commented Dec 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

86.0% 86.0% Coverage
0.0% 0.0% Duplication

@pasqualespica pasqualespica self-requested a review December 6, 2023 09:11
Copy link
Contributor

@pasqualespica pasqualespica left a comment

Choose a reason for hiding this comment

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

💯

@pasqualespica pasqualespica merged commit 32f4cb5 into main Dec 6, 2023
9 of 12 checks passed
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.

2 participants