Sha256: 4b74af26328d3484670e7038ca021d12e40bb89e1373864ffcf9709c09293090

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

module Actions
  module Pulp
    module Repository
      class AssociateImporter < Pulp::AbstractAsyncTask
        input_format do
          param :repo_id
          param :type_id
          param :config
          param :hash
          param :capsule_id
        end

        def invoke_external_task
          pulp_resources.repository.associate_importer(*input.values_at(:repo_id, :type_id, :config))
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-3.0.2 app/lib/actions/pulp/repository/associate_importer.rb
katello-3.0.1 app/lib/actions/pulp/repository/associate_importer.rb
katello-3.0.0 app/lib/actions/pulp/repository/associate_importer.rb