renaming, restructuring

This commit is contained in:
Matthias Bisping 2022-02-16 14:43:47 +01:00
parent 503b506887
commit ca020ee64f
3 changed files with 4 additions and 2 deletions

View File

@ -16,4 +16,4 @@ RUN python3 -m pip install -e .
RUN python3 -m pip install -r requirements.txt
# Run the service loop.
CMD ["python", "mini_queue/run.py"]
CMD ["python", "src/serve.py"]

View File

@ -1,13 +1,15 @@
import logging
from multiprocessing import Process
import pika
from flask import Flask, jsonify
from waitress import serve
from flask import Flask, request, jsonify
from mini_queue.utils.config import CONFIG
from mini_queue.utils.rabbitmq import make_channel, declare_queue, make_callback, read_connection_params
# TODO: implement meaningful checks
def start_integrity_checks_webserver(mode="debug"):
app = Flask(__name__)