distcloud/distributedcloud/dcmanager/tests/unit/api/v1/controllers
Gustavo Herzmann 338ceaca81 Deprecate dcmanager subcloud reinstall and reconfig
This commit deprecates the dcmanager subcloud reinstall and reconfig
in favor of the new 'dcmanager subcloud redeploy' and 'dcmanager
subcloud deploy config' commands, respectively.

This commit also removes unused constants, add missing deploy states
to the subcloud audit function and to the subcloud restore invalid
state list, and fixes the api-ref method for the deploy install and
resume commands.

Test Plan:
1. PASS - Call the reinstall API endpoint and verify that it returns
   the 410 status code with the deprecation notice instructing the use
   of the /v1.0/subclouds/{subcloud}/redeploy URL;
2. PASS - Call the reconfigure API endpoint and verify that it returns
   the 410 status code with the deprecation notice instructing the use
   of the /v1.0/phased-subcloud-deploy/{subcloud}/configure URL.
3. PASS - Change the subcloud deploy state to the new states added to
   the INVALID_DEPLOY_STATES_FOR_RESTORE, call the subcloud backup
   restore and verify that the operation is not allowed;
4. PASS - Change the subcloud deploy state to the new states added to
   the audit function and verify that the audit is not skipped.

Story: 2010756
Task: 48572

Change-Id: I9a502a89ec1c6eb23f286a80c7bf39fcbed0b2c4
Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
2023-08-25 15:22:18 -03:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
mixins.py Add 'subcloud deploy create' command to dcmanager 2023-06-20 09:13:41 -03:00
test_alarm_manager.py Implement access control for DC API 2022-09-22 18:26:35 -03:00
test_notifications.py Implement access control for DC API 2022-09-22 18:26:35 -03:00
test_phased_subcloud_deploy.py Add 'subcloud deploy complete' command to dcmanager 2023-07-31 16:59:16 +00:00
test_subcloud_backup.py Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
test_subcloud_deploy.py Add subcloud deploy abort option to dcmanager 2023-07-19 14:16:00 -03:00
test_subcloud_group.py Add "error_description" field on subclouds table 2022-10-06 00:51:41 +00:00
test_subclouds.py Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
test_sw_update_strategy.py Implement access control for DC API 2022-09-22 18:26:35 -03:00