Uploaded image for project: 'JOC - JS7 Operations Center'
  1. JOC - JS7 Operations Center
  2. JOC-2278

Release API should deliver a non null response

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.8.4
    • 2.9.0, 2.8.5
    • None
    • None

    Description

      Current Situation

      • Due to latest changes, the release API endpoint starts a non-blocking thread to perform time-consuming background tasks and finishes immediately. Unfortunately this results in a response with an empty body instead of the expected non-null JSON body and a HTTP 204 response code because of the missing body.
      • The issue does not affect the JOC Cockpit GUI that checks the HTTP status code in case of a missing response to decide if an API request was successful.

      Desired Behavior

      •  The release API endpoint should always respond with a non-null body in JSON format.

      Workaround

      Attachments

        Issue Links

          Activity

            People

              sp Santiago Aucejo Petzoldt
              sp Santiago Aucejo Petzoldt
              Ritesh Telkar Ritesh Telkar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: