Sha256: b214712fe398371f9f87305941acad5b65ae1f572f3c34b701b76be381ea3d19

Contents?: true

Size: 440 Bytes

Versions: 9

Compression:

Stored size: 440 Bytes

Contents

module Actions
  module Pulp
    module Repository
      class RegenerateApplicability < Pulp::AbstractAsyncTask
        middleware.use Actions::Middleware::ExecuteIfContentsChanged

        input_format do
          param :pulp_id
          param :contents_changed
        end

        def invoke_external_task
          pulp_extensions.repository.regenerate_applicability_by_ids([input[:pulp_id]])
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.0.2 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.1 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.0 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.0.rc7 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.0.rc5 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.0.rc4 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.0.rc3 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.0.rc2 app/lib/actions/pulp/repository/regenerate_applicability.rb
katello-3.0.0.rc1 app/lib/actions/pulp/repository/regenerate_applicability.rb