Sha256: f23bfc54e08b572f7656e9b9e73bfaab3c21c83fa180d1e5281c8855bb4f245d

Contents?: true

Size: 555 Bytes

Versions: 14

Compression:

Stored size: 555 Bytes

Contents

module Actions
  module Katello
    module UpstreamSubscriptions
      class RemoveEntitlement < Actions::Base
        middleware.use Actions::Middleware::KeepCurrentTaxonomies
        middleware.use Actions::Middleware::PropagateCandlepinErrors

        input_format do
          param :entitlement_id
        end

        def run
          output[:response] = ::Katello::Resources::Candlepin::UpstreamConsumer.remove_entitlement(input[:entitlement_id])
        end

        def run_progress_weight
          0.01
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
katello-3.9.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.9.0 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.8.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.9.0.rc2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.9.0.rc1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.7.1.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.7.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.8.0 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.8.0.rc3 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.8.0.rc2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.7.0 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.8.0.rc1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.7.0.rc2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.7.0.rc1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb