-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: HL 1453 ahjo retry and other fixes (#3414)
* feat: print application numbers on request * chore: move application queries to a class * chore: test ahjo_status is correct after request * fix: raise and log error if no batch * feat: add decision_details_request_sent status * fix: missing parenthesis from ahjo delete query * chore: refactor query parameter resolver * feat: db query for retrying failed ahjo requests * feat: retry query for decision proposal * feat: command option for ahjo request retry * feat: schedule retries to run hourly * fix: missing parameter * fix: missing import * fix: failing test
- Loading branch information
Showing
15 changed files
with
1,027 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
backend/benefit/applications/migrations/0085_alter_ahjostatus_status.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Generated by Django 4.2.11 on 2024-10-03 07:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("applications", "0084_ahjostatus_validation_error_from_ahjo"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="ahjostatus", | ||
name="status", | ||
field=models.CharField( | ||
choices=[ | ||
( | ||
"submitted_but_not_sent_to_ahjo", | ||
"Submitted but not sent to AHJO", | ||
), | ||
( | ||
"request_to_open_case_sent", | ||
"Request to open the case sent to AHJO", | ||
), | ||
("case_opened", "Case opened in AHJO"), | ||
("update_request_sent", "Update request sent"), | ||
("update_request_received", "Update request received"), | ||
("decision_proposal_sent", "Decision proposal sent"), | ||
("decision_proposal_accepted", "Decision proposal accepted"), | ||
("decision_proposal_rejected", "Decision proposal rejected"), | ||
("scheduled_for_deletion", "Scheduled for deletion"), | ||
("delete_request_sent", "Delete request sent"), | ||
("delete_request_received", "Delete request received"), | ||
("new_record_request_sent", "New record request sent"), | ||
("new_record_received", "New record received by Ahjo"), | ||
("removed", "Decision cancelled in Ahjo"), | ||
("signed", "Decision signed and completed in Ahjo"), | ||
("updated", "Decision updated in Ahjo"), | ||
("decision_details_request_sent", "Decision details request sent"), | ||
("details_received", "Decision details received from Ahjo"), | ||
], | ||
default="submitted_but_not_sent_to_ahjo", | ||
max_length=64, | ||
verbose_name="status", | ||
), | ||
), | ||
] |
Oops, something went wrong.