Sha256: f3950d759b3a941df6ae3c8fcaa7ff9b8e97fa6eb2525ec552887f6d52cb8826

Contents?: true

Size: 489 Bytes

Versions: 13

Compression:

Stored size: 489 Bytes

Contents

module Actions
  module Pulp
    module Consumer
      class GenerateApplicability < Pulp::AbstractAsyncTask
        input_format do
          param :uuids, Array
        end

        def invoke_external_task
          if input[:uuids].length == 1
            pulp_resources.consumer.regenerate_applicability_by_id(input[:uuids].first)
          else
            pulp_extensions.consumer.regenerate_applicability_by_ids(input[:uuids])
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
katello-3.5.2 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.6.0.rc1 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.5.1.1 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.5.1 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.5.0.1 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.5.0 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.5.0.rc2 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.5.0.rc1 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.4.0.2 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.4.0.1 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.4.0 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.4.0.rc2 app/lib/actions/pulp/consumer/generate_applicability.rb
katello-3.4.0.rc1 app/lib/actions/pulp/consumer/generate_applicability.rb