Michel Thebeau c91580ebd2 add generic function for vault REST API calls
Replace curl REST API calls with a generic function. This prepares for
adding more functionality to vault manager; more REST API calls.

Main feature includes error/debug logging of the responses.

Also includes:
Define variables for server targets
Refactor ubiquitous global 'row' variable, covert to parameter
Explicitly declare the curl's default connect-timeout (120s)

Test plan:
PASS vault sanity
PASS vault HA test
PASS all code paths with REST API calls
PASS misc examples GET, POST, DELETE
PASS unit test the new function
PASS bashate of the rendered document

Story: 2010930
Task: 49042

Change-Id: Ic329f075ba1c0480f5d507f9768f76fa86fc2094
Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
2023-11-13 19:02:25 +00:00
2020-07-02 09:08:19 +00:00
2023-04-28 12:38:53 -04:00
2020-07-09 11:18:44 -04:00
2023-01-18 14:20:36 +00:00
2020-07-09 11:18:44 -04:00
2022-12-27 01:33:59 +00:00
Description
StarlingX Vault App
1.9 MiB
Languages
Python 74.7%
Makefile 19%
Dockerfile 4.7%
Smarty 1.3%
Assembly 0.2%
Other 0.1%