Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3092

Synchronous deployment/undeployments

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.2 RC1
    • Component/s: Runtime
    • Labels:
      None

      Description

      There are a range of issues (such as XD-3083, XD-2671) that are caused by asynchronous deployments issued by the REST API. The flow of events is:

      • deploy/undeploy request received by REST API
      • controller queues up request to be processed by supervisor
      • controller returns HTTP 2xx

      This proposal is to have the thread executing the deploy/undeploy request block until the request has been processed by the supervisor. This will have the side effect of deploys appearing to take longer, but when the HTTP request completes, the deployment/undeployment will have been fulfilled.

        Attachments

          Activity

            People

            Assignee:
            pperalta Patrick Peralta
            Reporter:
            pperalta Patrick Peralta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: