EOX GitLab Instance

Commit cc5e3394 authored by Mussab Abdalla's avatar Mussab Abdalla
Browse files

removing PRISM references

parent c4498947
Pipeline #17407 canceled with stages
#------------------------------------------------------------------------------
#
# Project: prism view server
# Project: view server
# Authors: Fabian Schindler <fabian.schindler@eox.at>
#
#------------------------------------------------------------------------------
......@@ -27,10 +27,10 @@
FROM ubuntu:18.04
LABEL name="prism view server ingestor" \
LABEL name="view server ingestor" \
vendor="EOX IT Services GmbH <https://eox.at>" \
license="MIT Copyright (C) 2020 EOX IT Services GmbH <https://eox.at>" \
type="prism view server ingestor"
type="view server ingestor"
USER root
ADD install.sh requirements.txt \
......@@ -41,7 +41,7 @@ RUN mkdir -p /var/ingestor/fail /var/ingestor/success
COPY app.py config.py filedaemon.py /
COPY ingestor/ /ingestor
ENV INSTANCE_ID="prism-view-server_ingestor" \
ENV INSTANCE_ID="view-server_ingestor" \
REDIS_HOST="redis" \
REDIS_PORT="6379" \
REDIS_PREPROCESS_MD_QUEUE_KEY="preprocess-md_queue" \
......
#!/usr/bin/env python
#------------------------------------------------------------------------------
#
# Project: prism view server
# Project: view server
# Authors: Fabian Schindler <fabian.schindler@eox.at>
#
#------------------------------------------------------------------------------
......@@ -93,12 +93,12 @@ def ingest():
browse_report, default=converter
)
filename = browse_name(browse_report)
client.lpush(queue_name, queue_content)
save_endpoint_report(filename, request.data, True)
return Response(status=202)
except Exception as e:
save_endpoint_report(filename, request.data, False)
save_endpoint_report(filename, request.data, False)
return Response(str(e), status=400)
#!/usr/bin/env python
# ------------------------------------------------------------------------------
#
# Project: prism view server
# Project: view server
# Authors: Fabian Schindler <fabian.schindler@eox.at>
#
# ------------------------------------------------------------------------------
......
#------------------------------------------------------------------------------
#
# Project: prism view server
# Project: view server
# Authors: Fabian Schindler <fabian.schindler@eox.at>
#
#------------------------------------------------------------------------------
......
#------------------------------------------------------------------------------
#
# Project: prism view server
# Project: view server
# Authors: Fabian Schindler <fabian.schindler@eox.at>
#
#------------------------------------------------------------------------------
......
# ------------------------------------------------------------------------------
#
# Project: prism view server
# Project: view server
# Authors: Fabian Schindler <fabian.schindler@eox.at>
#
# ------------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment