diff --git a/ee/api/chalicelib/core/signals.py b/ee/api/chalicelib/core/signals.py index add0d10af..20f3350aa 100644 --- a/ee/api/chalicelib/core/signals.py +++ b/ee/api/chalicelib/core/signals.py @@ -1,7 +1,7 @@ import json import schemas_ee -from chalicelib.utils import helper +from chalicelib.utils import helper, queue from chalicelib.utils import pg_client diff --git a/ee/api/chalicelib/utils/queue.py b/ee/api/chalicelib/utils/queue.py new file mode 100644 index 000000000..ac5f9c5a2 --- /dev/null +++ b/ee/api/chalicelib/utils/queue.py @@ -0,0 +1,2 @@ +import schemas +import schemas_ee diff --git a/ee/recommendation/Dockerfile b/ee/recommendation/Dockerfile deleted file mode 100644 index 72407160b..000000000 --- a/ee/recommendation/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM python:3.10 -WORKDIR service -COPY tmp/ch_client.py utils/ -COPY tmp/pg_client.py utils/ -COPY recommendation.py . -COPY requirements.txt . -RUN apt update -RUN apt-get install libxml2-dev libxmlsec1-dev libxmlsec1-openssl -y -RUN pip install --upgrade pip -RUN pip install -r requirements.txt -RUN touch utils/__init__.py -ENV pg_host=postgresql.db.svc.cluster.local \ - pg_port=5432 \ - pg_user='postgres' \ - pg_password='8ea158c722fab5976023' \ - pg_dbname='postgres' \ - PG_TIMEOUT=30 \ - ch_host=clickhouse-openreplay-clickhouse.db.svc.cluster.local \ - ch_port=9000 \ - ch_timeout=30 \ - ch_receive_timeout=40 -EXPOSE 8080 -RUN airflow db init -CMD airflow webserver --host 0.0.0.0 --port 8080