distcloud/distributedcloud/dcorch
Tee Ngo 125e465aff Extend sysinv api proxy to support load operations
In this commit, the dcorch-sysinv-api-proxy is extended
to support load import and delete requests.

Upon receiving a successful response from sysinv api for load
import/delete request, the load is saved to/removed from dc-vault
accordingly.

Tests:
  - Successful load import
  - Successful load delete (no subclouds have the deleted load)
  - Successful load delete (one subcloud has the deleted load)
  - Failed load import (exceeding limit)
  - Failed load import (bad signature)
  - Failed load delete (does not exist)

Unit tests will be added via a separate commit under task 39903
of story 2007082.

Story: 2007403
Task: 39840
Depends-On: https://review.opendev.org/#/c/730632
Change-Id: If2769b0faf093523e7e9bc97b8cdc6a5513534aa
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
2020-06-01 16:16:20 -04:00
..
api Extend sysinv api proxy to support load operations 2020-06-01 16:16:20 -04:00
cmd Extend sysinv api proxy to support load operations 2020-06-01 16:16:20 -04:00
common Extend sysinv api proxy to support load operations 2020-06-01 16:16:20 -04:00
db Prevent unlimited growth of dcorch database 2020-04-30 10:55:12 -04:00
drivers Keystone token and resource caching 2020-03-23 21:31:04 -04:00
engine Fix slow subcloud manage due to sysinv auth 2020-05-25 13:46:00 -04:00
objects Prevent unlimited growth of dcorch database 2020-04-30 10:55:12 -04:00
rpc Move subcloud audit to separate process 2020-05-14 09:34:23 -05:00
tests Prevent unlimited growth of dcorch database 2020-04-30 10:55:12 -04:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
config-generator.conf Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00