Sha256: 3fee158afcb78ebe5eccf956e9252e8e35dff0beb80cdb9081d5ab14d7b8103b
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
module InsightsCloud module Async class InsightsClientStatusAging < ::Actions::EntryAction include ::Actions::RecurringAction def run # update all stale records to "not reporting" counterpart InsightsClientReportStatus.stale.reporting.update_all(status: InsightsClientReportStatus::NO_REPORT) InsightsClientReportStatus.stale.not_managed_with_data.update_all(status: InsightsClientReportStatus::NOT_MANAGED) end def logger action_logger end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_rh_cloud-3.0.24 | lib/insights_cloud/async/insights_client_status_aging.rb |
foreman_rh_cloud-4.0.24 | lib/insights_cloud/async/insights_client_status_aging.rb |