Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-3891

Add wait_for_completion parameters to /deployments/artifacts/generate endpoint

    XMLWordPrintable

    Details

      Description

      Acceptance criteria:

      • New boolean parameter added to /deployments/artifacts/generate endpoint, wait_for_completion.
      • Default is false.
      • If true, endpoint becomes synchronous, and returns when the artifact has been generated. If it is false, it behaves as before and returns immediately.
      • If errors happen during the artifact generation, this is expected to be reported back to the API caller via an HTTP response code (Probably 400 Bad Request is most appropriate).
      • Internally, this is implemented by having the deployment service poll the workflows service.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel