distcloud/distributedcloud/dcmanager/tests/unit/manager/states/upgrade
albailey 5e5c416a9b Implement import-load and starting-upgrade strategy states
This commit allows the state machine to be defined through an
ordered list of states. The states are mapped to by a dictionary
to state handler classes.

This greatly simplifies the software upgrade orch thread so that it
can be refactored in the future to share functionality with other orch
thread strategy types.

The following states have been implemented:
 - 'importing load'
 - 'starting upgrade'
 - 'activating upgrade'
 - 'completing upgrade'

The 'installing license' state now uses this design pattern.
Its functionality and unit tests are now in their own files.

The 'unlocking' state requires additional changes for the
'activating' and 'completing' states to pass.

Change-Id: Iedc40bdea406461dd4c2ce3887a37be6ec3c999f
Story: 2007403
Task: 40001
Signed-off-by: albailey <Al.Bailey@windriver.com>
2020-06-09 15:34:27 -05:00
..
__init__.py Implementing Lock and Unlock upgrade strategy states 2020-06-01 08:48:34 -05:00
test_activating_upgrade.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00
test_base.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00
test_completing_upgrade.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00
test_importing_load.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00
test_installing_license.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00
test_lock_controller.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00
test_starting_upgrade.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00
test_unlock_controller.py Implement import-load and starting-upgrade strategy states 2020-06-09 15:34:27 -05:00