Sha256: 0185543f761dd139a054ee522de28b6172b7ddad8657126b4c98d28f34d82809

Contents?: true

Size: 490 Bytes

Versions: 15

Compression:

Stored size: 490 Bytes

Contents

module Actions
  module Pulp3
    class ContentMigrationReset < Pulp3::AbstractAsyncTask
      def plan(smart_proxy)
        plan_self(smart_proxy_id: smart_proxy.id)
      end

      def invoke_external_task
        migration_service = ::Katello::Pulp3::Migration.new(smart_proxy)
        migration_service.reset
      end

      def humanized_name
        _("Content Migration Reset")
      end

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
katello-4.0.3 app/lib/actions/pulp3/content_migration_reset.rb
katello-3.18.5 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.2.1 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.2 app/lib/actions/pulp3/content_migration_reset.rb
katello-3.18.4 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.1.2 app/lib/actions/pulp3/content_migration_reset.rb
katello-3.18.3.1 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.1.1 app/lib/actions/pulp3/content_migration_reset.rb
katello-3.18.3 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.1 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.0 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.0.rc3.1 app/lib/actions/pulp3/content_migration_reset.rb
katello-4.0.0.rc3 app/lib/actions/pulp3/content_migration_reset.rb
katello-3.18.2.1 app/lib/actions/pulp3/content_migration_reset.rb
katello-3.18.2 app/lib/actions/pulp3/content_migration_reset.rb