The ingester's --max_file_size option allows the user to define the maximum size, in MiB, of datastream files that the ingester will POST to the server. The Islandora REST Extras utility module provides a basic /describe endpoint that supplies the following response:
{
"max_datastream_file_size":"500M"
}
The Ingester should hit the /describe endpoint, and if it gets a 200, use the value provided there. If it gets another response, it should take the value provided in the --max_file_size option. In both cases, which option is used should be logged.
The ingester's
--max_file_size
option allows the user to define the maximum size, in MiB, of datastream files that the ingester willPOST
to the server. The Islandora REST Extras utility module provides a basic/describe
endpoint that supplies the following response:The Ingester should hit the
/describe
endpoint, and if it gets a200
, use the value provided there. If it gets another response, it should take the value provided in the--max_file_size
option. In both cases, which option is used should be logged.