SREP-3384: update backplane-cli to allow remediations on infrastructu… by rolandmkunkel · Pull Request #887 · openshift/backplane-cli

…re clusters

What type of PR is this?

  • fix (Bug Fix)
  • feat (New Feature)
  • docs (Documentation)
  • test (Test Coverage)
  • chore (Clean Up / Maintenance Tasks)
  • other (Anything that doesn't fit the above)

What this PR does / Why we need it?

The newer version of backplane-api added support for a ManagingCluster parameter in the remediation creation API, which is necessary for infrastructure clusters. These changes allows passing additional optional parameters like ManagingCluster for infrastructure clusters, while maintaining backward compatibility. This allows CAD to create remediations on infra clusters, as it uses this code as a library.

Which Jira/Github issue(s) does this PR fix?

Special notes for your reviewer

Unit Test Coverage

Guidelines

  • If it's a new sub-command or new function to an existing sub-command, please cover at least 50% of the code
  • If it's a bug fix for an existing sub-command, please cover 70% of the code

Test coverage checks

  • Added unit tests
  • Created jira card to add unit test
  • This PR may not need unit tests

Pre-checks (if applicable)

  • Ran unit tests locally
  • Validated the changes in a cluster
  • Included documentation changes with PR
  • Backward compatible

/label tide/merge-method-squash