![]() This change adds checks before deleting software releases: 1. software release is available or unavailable 2. When it is on a system controller, the release is not being used by a subcloud This change also update the following: 1. removed the exception handling in controller level, moved to exception hook 2. CLI code to display HTTP error, only handles 500 status code, by displaying message from API, all other 4xx, 5xx status code display HTTP error directly. 3. ensure CLI return 1 for unsuccessful requets (status code 500) 4. fixed some minor issues Story: 2010676 Task: 49657 TCs: passed: observe delection rejected because of release not found, release is not in available or unavailable state. passed: delete an available release passed: on system controller, successfully delete scenarios passed: (simulated) on system controller with subcloud, delete release used by subcloud is rejected Change-Id: I306b1d8604113b92d907384844e8e8107835a463 Signed-off-by: Bin Qian <bin.qian@windriver.com> |
||
---|---|---|
.. | ||
debian | ||
scripts | ||
service-files | ||
software | ||
.coveragerc | ||
Hacking.rst | ||
LICENSE | ||
README.rst | ||
pylint.rc | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
software
StarlingX Unified Software Delivery and Management