Sha256: cf14e83e72dc9dde2a20ccc7c8c4cfc4daeb4b0a7625fbc81797b998757fd7c0

Contents?: true

Size: 575 Bytes

Versions: 69

Compression:

Stored size: 575 Bytes

Contents

module Actions
  module Katello
    module Host
      class AutoAttachSubscriptions < Actions::EntryAction
        middleware.use ::Actions::Middleware::RemoteAction

        def queue
          ::Katello::HOST_TASKS_QUEUE
        end

        def plan(host)
          action_subject(host)
          plan_action(::Actions::Candlepin::Consumer::AutoAttachSubscriptions, :uuid => host.subscription_facet.uuid)
        end

        def finalize
          ::Katello::Pool.import_all
        end

        def resource_locks
          :link
        end
      end
    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
katello-3.18.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.18.0 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.17.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.18.0.rc2.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.18.0.rc2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.17.0 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.18.0.rc1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.17.0.rc2.2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.17.0.rc2.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.1.2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.1.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.17.0.rc2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.17.0.rc1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.0 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.0.rc5.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.0.rc5 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.16.0.rc4.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.15.3.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb