Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1098

Change Action results so that no information is given in SUCCESS results

XMLWordPrintable

    • 2023-R4
    • Testable

      Currently, Action.result can contain have Action.result.level = "SUCCESS" and also message, diagnosis and remediation fields. We want to change this to enforce no data in these fields for SUCCESS. Any information in those fields should be pushed to into an INFO or WARNING message instead.

      Acceptance Criteria

      • In ActionResult, if level == "SUCCESS", make sure that message, diagnosis, and remediation are not present (empty string).
      • Check all places where we call Action.set_result() with level="SUCCESS". Make sure that there is no message data being passed for those. If there is, move that into a separate Action.add_message() with level of either WARNING or INFO.

              prwatson@redhat.com Preston Watson
              tkuratom@redhat.com Toshio Kuratomi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: