Sha256: c5f9a709944fcf13f5dfa0796fcd64bc0645ee22f22765018a5c36603cde29ca

Contents?: true

Size: 545 Bytes

Versions: 19

Compression:

Stored size: 545 Bytes

Contents

module Actions
  module Katello
    module CapsuleContent
      class UpdateContentCounts < Actions::EntryAction
        def plan(smart_proxy)
          plan_self(:smart_proxy_id => smart_proxy.id)
        end

        def humanized_name
          _("Update Content Counts")
        end

        def run
          smart_proxy = ::SmartProxy.unscoped.find(input[:smart_proxy_id])
          smart_proxy.update_content_counts!
        end

        def rescue_strategy
          Dynflow::Action::Rescue::Skip
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
katello-4.14.2 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.14.1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.14.0 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.14.0.rc3 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.14.0.rc2 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.14.0.rc1.1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.14.0.rc1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.13.1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.13.0 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.12.1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.13.0.rc1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.12.0 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.12.0.rc3 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.12.0.rc2 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.12.0.rc1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.11.1 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.11.0 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.11.0.rc2 app/lib/actions/katello/capsule_content/update_content_counts.rb
katello-4.11.0.rc1 app/lib/actions/katello/capsule_content/update_content_counts.rb