Sha256: 957b19932f15a933eb4e799475108ab8baa1cf1a63535fe86348f91e17eba69e

Contents?: true

Size: 536 Bytes

Versions: 13

Compression:

Stored size: 536 Bytes

Contents

module Actions
  module Candlepin
    module Owner
      class RegenerateUpstreamIdentityCert < Candlepin::Abstract
        input_format do
          param :organization_id
          param :upstream
        end

        def run
          organization = ::Organization.find(input[:organization_id])
          output[:response] = organization.redhat_provider.owner_upstream_regenerate_identity_cert(input[:upstream])
        end

        def rescue_strategy
          Dynflow::Action::Rescue::Skip
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
katello-4.14.2 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.15.0 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.15.0.rc2 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.15.0.rc1 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.14.1 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.14.0 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.14.0.rc3 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.14.0.rc2 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.14.0.rc1.1 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.14.0.rc1 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.13.1 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.13.0 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb
katello-4.13.0.rc1 app/lib/actions/candlepin/owner/regenerate_upstream_identity_cert.rb