distcloud/distributedcloud/dcorch/api/proxy
Guilherme Schons a78743a115 Add inactive param for import-load on dcorch api proxy
This change added a parameter called 'inactive' to load-import workflow
on dcorch to allow import a previous release (ISO).

Test Plan:
PASS: (AIO-SX) failed to import the current version
PASS: (AIO-SX) failed to import the current version
with active param

PASS: (AIO-SX) import the new version
PASS: (AIO-SX) import new version with local param

PASS: (AIO-SX) failed to import the previous release
PASS: (AIO-SX) import the previous release with inactive param

PASS: DC (--os-region-name SystemController) success to import
currently version with active param
PASS: DC (--os-region-name SystemController) failed to import
currently version

PASS: DC (--os-region-name SystemController) import new version
PASS: DC (--os-region-name SystemController) import new version
with local param

PASS: DC (--os-region-name SystemController) import previous
release with inactive param
PASS: DC (--os-region-name SystemController) failed to import
previous release

PASS: DC (--os-region-name SystemController) extracted ISO files
to the controller (/var/www/pages/feed/rel-version)

Story: 2010611
Task: 47509
Depends-On: https://review.opendev.org/c/starlingx/config/+/875186

Signed-off-by: Guilherme Schons <guilherme.dossantosschons@windriver.com>
Change-Id: Icd45c687d7f94eb5acb6d8c42366273de157c257
2023-03-05 21:57:33 +00:00
..
apps Add inactive param for import-load on dcorch api proxy 2023-03-05 21:57:33 +00:00
common Tech debt: move portions of dcorch.common.consts into dccommon.consts 2022-06-16 12:28:44 -04:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00