distcloud/distributedcloud/dcmanager
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
..
api Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
audit Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
cmd Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
common Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
db Add subcloud secondary status support and migration 2023-08-25 11:03:17 +08:00
manager Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
objects Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
orchestrator Merge "Optimize dc orchestrator scheduling" 2023-08-02 16:45:14 +00:00
rpc Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
state Add subcloud secondary status support and migration 2023-08-25 11:03:17 +08:00
tests Deprecate dcmanager subcloud reinstall and reconfig 2023-08-25 15:22:18 -03:00
__init__.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
config-generator.conf Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00