Sha256: a518a57ab6b8d88d800e328f7b1bb02c340910e86b08ed2d7b65d19500f91098
Contents?: true
Size: 591 Bytes
Versions: 18
Compression:
Stored size: 591 Bytes
Contents
module Actions module Pulp3 module Repository class CreateVersion < Pulp3::AbstractAsyncTask def plan(repository, smart_proxy) sequence do action = plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id) plan_action(SaveVersion, repository, action.output[:pulp_tasks]) end end def invoke_external_task repo = ::Katello::Repository.find(input[:repository_id]) output[:response] = repo.backend_service(smart_proxy).create_version end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems