-
Notifications
You must be signed in to change notification settings - Fork 18
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
jcroteau/APPEALS-23894 - Close VeteranRecordRequest tasks for Veterans Readiness and Employment (VRE) business line #18948
jcroteau/APPEALS-23894 - Close VeteranRecordRequest tasks for Veterans Readiness and Employment (VRE) business line #18948
Conversation
Code Climate has analyzed commit 55094c9 and detected 0 issues on this pull request. View more on Code Climate. |
CancelTasksAndDescendants.call( | ||
VeteranRecordRequestsOpenForVREQuery.call | ||
) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
…t_id for cancelled tasks
def call | ||
RequestStore[:current_user] = User.system_user | ||
|
||
with_paper_trail_options do | ||
log_time_elapsed { log_task_count_before_and_after { cancel_tasks } } | ||
print_logs_to_stdout | ||
end | ||
end |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
…-vre-business-line
def call | ||
RequestStore[:current_user] = User.system_user | ||
|
||
with_paper_trail_options do | ||
log_time_elapsed { log_task_count_before_and_after { cancel_tasks } } | ||
print_logs_to_stdout | ||
end | ||
end |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
…-vre-business-line
…-vre-business-line
Resolves https://jira.devops.va.gov/browse/APPEALS-23894
UAT PR: #18983
Description
remediations:cancel_vrr_tasks_open_for_vre
, which identifies any currently openVeteranRecordReqeust
Tasks that are assigned to the "Veteran Readiness and Employment"BusinessLine
and cancels them and their open descendant tasks.Testing Plan
Jira Test Issue: https://jira.devops.va.gov/browse/APPEALS-25089
Setup
file_number
sFind initial count of open and cancelled VRR tasks for VRE
Create new VRR tasks for VRE
Establish Appeals w/ issues of Benefit type "Veterans Readiness and Employment" to create new VRR tasks for VRE:
BVAISHAW
in dev)Establish Appeal for test Veteran 1
/intake
pageDecision Review Request: Board Appeal (Notice of Disagreement) — VA Form 10182
file_number
(noted above)Veteran Readiness and Employment
Education
Establish appeal
Intake completed
confirmationVeteranRecordRequest
task was created for the appeal and assigned to the VRE business line:uuid
Establish Appeal for test Veteran 2
line:
Find updated count of existing, open VRR tasks for VRE
2
more than the initial count (initial_count_of_open_vrr_tasks
).Run rake task to cancel existing open VRR tasks for VRE
cd /dev/appeals/caseflow
cd /opt/caseflow-certification/src
Find final count of existing open and cancelled VRR tasks for VRE
0
, and the final count of cancelled VRR tasks for VRE should be2
more than the initial count:Best practices
Code Documentation Updates
Tests
Test Coverage
Did you include any test coverage for your code? Check below:
Code Climate
Your code does not add any new code climate offenses? If so why?
Monitoring, Logging, Auditing, Error, and Exception Handling Checklist
Monitoring
N/A
Logging
Auditing
Error Handling
Exception Handling