added fixmes

This commit is contained in:
Matthias Bisping 2022-06-22 16:02:19 +02:00
parent 36614097f3
commit b83428d1cd
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@ service:
response_file_extension: $RESPONSE_FILE_EXTENSION|"json.gz" # Extension for response files to upload to storage
# In case a service is not supposed to place response files under the root folder `dossierId/fileId` and requests do
# not specify an operation, this parameter can specify an output folder
response_folder: $RESPONSE_FOLDER|null
response_folder: $RESPONSE_FOLDER|null # FIXME: covered by operation mapping?
# Specifies, how to handle the `page` key of a request. "multi" will download all pages matching the list of pages
# specified in the request
download_strategy: $DOWNLOAD_STRATEGY|single
@ -14,6 +14,9 @@ service:
input:
subdir: ""
extension: IN.gz
output: # FIXME
subdir: ""
extension: out.gz
probing_webserver:
host: $PROBING_WEBSERVER_HOST|"0.0.0.0" # Probe webserver address

View File

@ -20,6 +20,7 @@ class ResponseStrategy(abc.ABC):
@staticmethod
def get_response_object_name(body):
# FIXME: rewrite with config.service.operations
if "pages" not in body:
body["pages"] = []