Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Update dependency packages #71

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cccatalog-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM python:3.7-stretch
FROM python:3.9-buster

ENV PYTHONBUFFERED 1

RUN apt-get update \
&& apt-get install libexempi3 \
&& apt-get install libexempi8 \
&& mkdir /cccatalog-api \
&& mkdir -p /var/log/cccatalog-api/cccatalog-api.log

Expand Down
32 changes: 12 additions & 20 deletions cccatalog-api/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ingestion_server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7
FROM python:3.9

ENV PYTHONBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion ingestion_server/Dockerfile-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7
FROM python:3.9

ENV PYTHONBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion ingestion_server/ingestion_server/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _validate_create_task(request):
return "No action supplied in request body."
if request[ACTION] not in [x.name for x in TaskTypes]:
return "Invalid action."
if request[ACTION] in TaskTypes and SINCE_DATE not in request:
if request[ACTION] == TaskTypes.UPDATE_INDEX.name and SINCE_DATE not in request:
return "Received UPDATE request but no since_date."

return None
Expand Down