diff --git a/app/sidekiq/decision_review/hlr_status_updater_job.rb b/app/sidekiq/decision_review/hlr_status_updater_job.rb index f568c8d4944..a3c3197c73d 100644 --- a/app/sidekiq/decision_review/hlr_status_updater_job.rb +++ b/app/sidekiq/decision_review/hlr_status_updater_job.rb @@ -4,6 +4,11 @@ module DecisionReview class HlrStatusUpdaterJob < SavedClaimStatusUpdaterJob + def perform + Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by engine job") + super + end + private def records_to_update diff --git a/app/sidekiq/decision_review/nod_status_updater_job.rb b/app/sidekiq/decision_review/nod_status_updater_job.rb index dce7e857bce..135c517d223 100644 --- a/app/sidekiq/decision_review/nod_status_updater_job.rb +++ b/app/sidekiq/decision_review/nod_status_updater_job.rb @@ -4,6 +4,11 @@ module DecisionReview class NodStatusUpdaterJob < SavedClaimStatusUpdaterJob + def perform + Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by engine job") + super + end + private def records_to_update diff --git a/app/sidekiq/decision_review/sc_status_updater_job.rb b/app/sidekiq/decision_review/sc_status_updater_job.rb index 0082bdb2768..df761d86c67 100644 --- a/app/sidekiq/decision_review/sc_status_updater_job.rb +++ b/app/sidekiq/decision_review/sc_status_updater_job.rb @@ -4,6 +4,11 @@ module DecisionReview class ScStatusUpdaterJob < SavedClaimStatusUpdaterJob + def perform + Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job") + super + end + private def records_to_update diff --git a/lib/periodic_jobs.rb b/lib/periodic_jobs.rb index e1e8273f2c0..39f499769a4 100644 --- a/lib/periodic_jobs.rb +++ b/lib/periodic_jobs.rb @@ -226,11 +226,6 @@ # Every 15min job that sends missing Pega statuses to DataDog mgr.register('*/15 * * * *', 'IvcChampva::MissingFormStatusJob') - # Hourly jobs that update DR SavedClaims with delete_date - mgr.register('20 * * * *', 'DecisionReview::HlrStatusUpdaterJob') - mgr.register('30 * * * *', 'DecisionReview::NodStatusUpdaterJob') - mgr.register('50 * * * *', 'DecisionReview::ScStatusUpdaterJob') - # Engine version: Hourly jobs that update DR SavedClaims with delete_date mgr.register('10 * * * *', 'DecisionReviews::HlrStatusUpdaterJob') mgr.register('15 * * * *', 'DecisionReviews::NodStatusUpdaterJob')