Sha256: add7acc467f36e5684ced5dda199f05dd6c14793b1a17b5a82f799e5ffddd00a

Contents?: true

Size: 684 Bytes

Versions: 28

Compression:

Stored size: 684 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module Repository
        class Create < Pulp3::Abstract
          def plan(repository, smart_proxy)
            sequence do
              create_action = plan_action(Actions::Pulp3::Repository::Create, repository, smart_proxy)
              plan_action(Actions::Pulp3::Repository::SaveVersion, repository, repository_details: create_action.output[:response])

              if repository.content_view.default? || !smart_proxy.pulp_master?
                plan_action(Actions::Pulp3::Repository::CreateRemote, repository, smart_proxy)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
katello-3.16.2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.1.2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.1.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.17.0.rc1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc5.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc5 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc4.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.15.3.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.15.3 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc4 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc3.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.15.2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc3 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc2.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc2 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.15.1.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.16.0.rc1.1 app/lib/actions/pulp3/orchestration/repository/create.rb
katello-3.15.1 app/lib/actions/pulp3/orchestration/repository/create.rb