Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-10923

Make sqrbot project create command / uservice-ccutter asynchronous with celery

    XMLWordPrintable

    Details

      Description

      The original implementation of the uservice-ccutter for bootrstrapping cookiecutter-based projects didn't anticipate that project creation, notably Travis CI integration, would take longer than 30 seconds. Since it does, the microservice call times out and sqrbot returns an error to the user in Slack. The service also typically fails to complete the Travis integration. This has rendered it largely unusable for project and document creation.

      I think the solution is to make the project provisioning asynchronous from the acknowledgement to the user on Slack. This ticket will modify uservice-ccutter to make that so. We'll use celery to implement a distributed asynchronous queue between the microservice api server and the worker processes. http://docs.celeryproject.org/en/latest/index.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Reviewers:
              Adam Thornton
              Watchers:
              Adam Thornton, Jonathan Sick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins Builds

                  No builds found.