update/software/scripts
Joseph Vazhappilly b00ff50bf5 Fix deploy precheck for software internal API
The deploy-precheck script uses GET request to get release list
using software endpoint. This GET request is timed out when
deploy-precheck is invoked using software internal APIs. This is
because, unlike public APIs, there is no alternative process to
handle slow requests like deploy-precheck.

This review removes GET access to software endpoints from
deploy-precheck by directly passing releases info as argument.
Also optimized code to remove multiple token creation because
of multiple init from HealthCheck and its derived class.

Test Plan:
PASS: Verify internal api for upgrade and patch deploy-precheck
PASS: Verify external api for upgrade and patch deploy-precheck

Closes-Bug: 2067245

Story: 2010676
Task:  50194

Change-Id: I4bdba84894ca7866e2095e56c95dc5eaaad70b0a
Signed-off-by: Joseph Vazhappilly <joseph.vazhappillypaily@windriver.com>
2024-05-27 09:54:28 -04:00
..
chroot_mounts.sh Fix deploy start kubernetes mount points 2024-05-08 18:44:33 -03:00
create_postgresql_database.sh Improve logging for deploy start shell scripts 2024-02-28 11:07:03 -03:00
deploy-cleanup Fix deploy start kubernetes mount points 2024-05-08 18:44:33 -03:00
deploy-precheck Fix deploy precheck for software internal API 2024-05-27 09:54:28 -04:00
prep-data-migration USM deploy state 2024-04-17 16:40:07 +00:00
shell-utils Include missing data migration steps on deploy start 2024-03-22 15:12:14 -03:00
software-deploy-start Fix deploy start kubernetes mount points 2024-05-08 18:44:33 -03:00
sync-controllers-feed Include missing data migration steps on deploy start 2024-03-22 15:12:14 -03:00
upgrade_utils.py New USM REST API 2024-04-26 15:54:21 +00:00
usm_load_import Fix pxe files copy and permission during upload 2024-03-11 12:00:19 -03:00