started the status queue development #4
@ -118,6 +118,11 @@ def create_app():
|
||||
running = True
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user