Skip to content

Commit

Permalink
API-34961 Rename appeals PII jobs (#16420)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywilliams authored Apr 22, 2024
1 parent 7640075 commit e9fdb20
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions lib/periodic_jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# Update NoticeOfDisagreement statuses with their Central Mail status
mgr.register('15 * * * *', 'AppealsApi::SupplementalClaimUploadStatusBatch')
# Update SupplementalClaim statuses with their Central Mail status
mgr.register('45 0 * * *', 'AppealsApi::HigherLevelReviewCleanUpWeekOldPii')
# Remove PII of HigherLevelReviews that have 1) reached one of the 'completed' statuses and 2) are a week old
mgr.register('45 0 * * *', 'AppealsApi::NoticeOfDisagreementCleanUpWeekOldPii')
# Remove PII of NoticeOfDisagreements that have 1) reached one of the 'completed' statuses and 2) are a week old
mgr.register('45 0 * * *', 'AppealsApi::HigherLevelReviewCleanUpPii')
# Remove PII of HigherLevelReviews after they have been successfully processed by the VA
mgr.register('45 0 * * *', 'AppealsApi::NoticeOfDisagreementCleanUpPii')
# Remove PII of NoticeOfDisagreements after they have been successfully processed by the VA
mgr.register('45 0 * * *', 'AppealsApi::SupplementalClaimCleanUpPii')
# Remove PII of SupplementalClaims that have 1) reached one of the 'completed' statuses and 2) are a week old
# Remove PII of SupplementalClaims after they have been successfully processed by the VA
mgr.register('30 * * * *', 'AppealsApi::EvidenceSubmissionBackup')
# Ensures that appeal evidence received "late" (after the appeal has reached "success") is submitted to Central Mail
mgr.register('0 23 * * 1-5', 'AppealsApi::DecisionReviewReportDaily')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'sidekiq'

module AppealsApi
class HigherLevelReviewCleanUpWeekOldPii
class HigherLevelReviewCleanUpPii
include Sidekiq::Job
# Only retry for ~8 hours since the job is run daily
sidekiq_options retry: 11, unique_for: 8.hours
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'sidekiq'

module AppealsApi
class NoticeOfDisagreementCleanUpWeekOldPii
class NoticeOfDisagreementCleanUpPii
include Sidekiq::Job
# Only retry for ~8 hours since the job is run daily
sidekiq_options retry: 11, unique_for: 8.hours
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rails_helper'

describe AppealsApi::HigherLevelReviewCleanUpWeekOldPii, type: :job do
describe AppealsApi::HigherLevelReviewCleanUpPii, type: :job do
let(:service) { instance_double(AppealsApi::RemovePii) }

describe '#perform' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rails_helper'

describe AppealsApi::NoticeOfDisagreementCleanUpWeekOldPii, type: :job do
describe AppealsApi::NoticeOfDisagreementCleanUpPii, type: :job do
let(:service) { instance_double(AppealsApi::RemovePii) }

describe '#perform' do
Expand Down

0 comments on commit e9fdb20

Please sign in to comment.