Project

General

Profile

Actions

Bug #10114

closed

Allow relay-api to make asynchronous remote run call with output

Added by Vincent MEMBRÉ almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Currently we always wait for output even if we put the asynchronous parameter in the request.

Some documentation on achieving this:

https://mortoray.com/2014/03/04/http-streaming-of-command-output-in-python-flask/
http://flask.pocoo.org/docs/0.12/patterns/streaming/
https://docs.python.org/2/library/subprocess.html#subprocess.Popen


Subtasks 2 (0 open2 closed)

Bug #10136: apply policy should use asynchronous call when getting output of one nodeReleasedFrançois ARMAND2017-02-03Actions
Bug #10154: Asynchronous on node behing a relay does not work quite wellReleasedBenoît PECCATTE2017-02-08Actions
Actions

Also available in: Atom PDF