Class: Registration::UI::MigrationFinishWorkflow

Inherits:
WizardClient
  • Object
show all
Defined in:
src/lib/registration/ui/migration_finish_workflow.rb

Overview

This class handles the workflow for finishing the online migration

Instance Method Summary collapse

Methods inherited from WizardClient

#initialize, #main, #run

Constructor Details

This class inherits a constructor from Registration::UI::WizardClient

Instance Method Details

#run_sequenceSymbol

Run the workflow. The migration finish workflow is:

  • restore the saved repository states (i.e. enable the Updates repositories when they were disabled during migration)

Returns:

  • (Symbol)

    the UI symbol


27
28
29
30
31
32
33
# File 'src/lib/registration/ui/migration_finish_workflow.rb', line 27

def run_sequence
  log.info "Restoring the original repository setup..."
  repo_state = RepoStateStorage.instance
  repo_state.read
  repo_state.restore_all
  :next
end