started the status queue development #4
@ -119,6 +119,11 @@ def create_app():
|
||||
return Response(response=json.dumps({'running': running}),
|
||||
content_type='application/json')
|
||||
|
||||
@app.route('/status/queue', methods=['GET'])
|
||||
def status_queueu():
|
||||
return Response(response=json.dumps({'test': 'hello world'}),
|
||||
content_type='application/json')
|
||||
|
||||
def _enqueue(package):
|
||||
with open(os.path.join(queuedir, _get_uuid()), 'x') as f:
|
||||
f.write(json.dumps(package))
|
||||
|
Loading…
x
Reference in New Issue
Block a user