distcloud/distributedcloud/dcmanager/api/controllers
Christopher Souza 42d7851bcc Set the correct deploy_status value in subcloud restore response
In this commit, the deploy_status value is set to pre-restore in
the subcloud-backup restore response as opposed to the last
deploy_status value saved in the database.

Test Case:
PASS: run subcloud-backup restore command for a group of subclouds
and verify that deploy_status value is pre-restore in
the command output.
PASS: run subcloud-backup for a group of subclouds that have
deploy_status restore failed and verify that deploy_status value
is pre-restore in the command output.
PASS: run subcloud-backup restore command for a single subcloud
and verify that deploy_status value is pre-restore in
the command output.

Closes-Bug: 2023216

Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
Change-Id: Ic1d113dcb855e80e8e8473fb1f6deeca079bef25
2023-06-19 14:44:29 -03:00
..
v1 Set the correct deploy_status value in subcloud restore response 2023-06-19 14:44:29 -03:00
README.rst Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
restcomm.py Fix subcloud-group endpoint routing conflict 2022-12-06 13:21:14 +00:00
root.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00

README.rst

controllers

API request processing

root.py:

API root request

subclouds.py

Controller for all the subcloud related requests

restcomm.py:

common functionality used in API