
For the strategy creation, we are unable to get the type from the request params. Instead, this value must be obtained from the payload. Test Plan: 1. Test the `dcmanager <strategy_type>-strategy create` command for the following strategies: - fw-update-strategy, kube-rootca-update-strategy, kube-upgrade-strategy, patch-strategy, prestage-strategy, and upgrade-strategy. 2. Validate that the exception message includes the <strategy_type> and the reason that the command failed. For example: - "Unable to create strategy of type 'kube-rootca-update': Bad strategy request: Strategy has no steps to apply". 3. Validate other commands delete/abort/apply remains the same. Closes-Bug: 2026604 Change-Id: Id8c3145c5b8b8d222ade9e93a2172ad5388228c4 Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
Description
StarlingX Distributed Cloud
Languages
Python
95.2%
Shell
4.7%
Makefile
0.1%