Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-35452

[playbook-dispatcher] [rfe] add an error message to the response from the dispatch api call

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None

      Playbook-Dispatcher returns a 404 http status code in the case where cloud-connector  thinks the rhc instance is disconnected.  It might be helpful to include an message field in that response an provide an error message ("Host disconnected", etc)

       

      We would need to modify the api spec to add the message field and modify function:

      https://github.com/RedHatInsights/playbook-dispatcher/blob/master/internal/api/controllers/private/runsCreateActions.go#L125

              rh-ee-dcervant Dalia Cervantes
              rhn-support-dehort Derek Horton
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: