A simple reply stub for prodis /assets and /titles calls for use in ADM tests.
1.1K
This docker provides access to a very limited set of PRODIS functions:
The docker works on a set of files that have previously been grabbed from a real PRODIS server. The grab.py app is part of the repo but is not part of this docker.
The docker will first shift all files X days and then start gunicorn at port 8000 inside the docker.
SHIFT_DAYS This will shift all license windows X days to the future. This way the dataset can be used over and over.
GRABBED_FILES_FOLDER This variable where to find the grabbed files inside the docker. Typically the files are mapped via -v into the docker, e.g. at /files.
Typical use case:
docker run -it -e SHIFT_DAYS=0 -e GRABBED_FILES_FOLDER='/files' -v /prodis-grabbed-files/:/files -p 8000:8000 placr/prodisstub
Content type
Image
Digest
Size
271.6 MB
Last updated
about 10 years ago
docker pull placr/prodisstub