
This patch implements the changes in the API required for the skipped action blueprint. It includes: - New field `status_message` is visible in API get calls for Audits, ActionPlans and Audits. - New Patch call is added to `/actions/{action_id}` which allows to manually move actions in PENDING state to SKIPPED for ActionPlans which have not been started. - A new API microversion 1.5 is added for these changes. It also adds requried tests and documentation. Implements: blueprint add-skip-actions Assisted-By: Cursor (claude-4-sonnet) Change-Id: I71fb9af76085e5941a7fd3e9e4c89d6f3a3ada47 Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
12 lines
220 B
JSON
12 lines
220 B
JSON
[
|
|
{
|
|
"op": "replace",
|
|
"value": "SKIPPED",
|
|
"path": "/state"
|
|
},
|
|
{
|
|
"op": "replace",
|
|
"value": "Skipping due to maintenance window",
|
|
"path": "/status_message"
|
|
}
|
|
] |