
Add support for requests using application/json content-type on subcloud-backup. This is needed to support the subcloud-backup delete operation, as well as a change on backup create CLI [1] to fix an issue seen in Debian. Test Plan: PASS: - Ensure tox tests are passing - Issue backup request without overrides file using json content - Issue backup request with overrides file using multipart content [1] Review for the Debian fix on the CLI side https://review.opendev.org/c/starlingx/distcloud-client/+/858441 Story: 2010116 Task: 45696 Signed-off-by: Gabriel Silva Trevisan <gabriel.silvatrevisan@windriver.com> Change-Id: Ieafd1a213c9c505aa35b07cf8490abedf2c56a27
Service
Distributed Cloud Orchestration Engine Service has responsibility for:
Monitoring the subcloud status, and return the result if needed.
There is a single engine, with each subcloud having one persistent sync thread per endpoint-type. Sync audit threads will be created on demand as needed.
- service.py:
-
run orchengine service, and establish RPC server
- generic_sync_manager.py
-
Manages all the generic resource syncing.