Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Stack Documentation and UX
-
Labels:None
-
Story Points:11.9
-
Epic Link:
-
Team:SQuaRE
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
- relates to
-
DM-8996 Bootstrapper microservice
- Done
Adam Thornton, here's the much-anticipated Celery-enabled ccutter microservice.
There are three separate PRs to pytravisci, sqre-apikit, and to uservice-ccutter.
I've got the app deployed for testing in the api-lsst-codes-testing Kubernetes namespace and with the @sickbot test bot.