Go to file
Gabriel Silva Trevisan be55504cf3 Support json requests for subcloud backup API
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
2022-09-20 13:12:29 -04:00
2018-09-25 08:18:08 -07:00
2019-04-19 19:52:44 +00:00
2018-08-07 11:51:21 -04:00
2019-03-15 10:56:03 -05:00
Description
StarlingX Distributed Cloud
39 MiB
Languages
Python 95.2%
Shell 4.7%
Makefile 0.1%