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

Identify highest status in json report

XMLWordPrintable

    • False
    • False
    • Hide

      None

      Show
      None
    • 2
    • 2023-R4
    • Testable

      Currently, convert2rhel has no way to tell in the report json which was the highest status code found during the conversion. This leads to workarounds for the convert2rhel-worker-scripts project and the future infra.convert2rhel where we will need to give a response to the user running the ansible collection either if it succeeded or failed. The fact that we have to develop custom algorithms to and replicate then across other consumers of the convert2rhel report will cause trouble across some consumers.

      Acceptance Criteria

      • Identify the highest status code raised from both result/messages
      • Add a new key to the report json (at the top-level) with the result of the highest status code
      • Open a PR against https://github.com/oamg/convert2rhel-worker-scripts to remove the workaround to find the highest status code
      • Update schema

              prwatson@redhat.com Preston Watson
              rolivier@redhat.com Rodolfo Olivieri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: