Resolves the OTP base path from OTP_REQUESTS_PATH, falling back to the
default Docker data path when the env var is unset or blank. A provided
override must be absolute so the portal and importer, which may run with
different working directories, resolve to the same shared directory.
Returns string
The absolute OTP base path.
Throws
ConfigurationError when OTP_REQUESTS_PATH is set to a non-absolute path.
Resolves the OTP base path from
OTP_REQUESTS_PATH, falling back to the default Docker data path when the env var is unset or blank. A provided override must be absolute so the portal and importer, which may run with different working directories, resolve to the same shared directory.