System Parameters

This page describes configurations of OData Provider.

To set up these parameters, login to IFS Middleware Server Admin Console. Navigate to Common -> Admin Server -> Server Startup. Add the parameters under Arguments text box.

Contents

System Properties Default Value Description Usage Allowed in production environments
odp.extension.xlsx.cache.ttl.mins 5 Maximum time allowed for Microsoft Excel file downloads.
  • Property value is in minutes, i.e. 5 is considered as 5 minutes.
Caution: Increasing this value to a too high value can increase security risks. Yes

Not Recommended

odp.extension.imageresize.cache.files.deleteonstartup false Image cache should be deleted at server startup
  • If not set or false : image cache folder is not deleted at server startup.
  • If set to true : image cache folder is deleted at server startup
Yes

Not Recommended

odp.csrf.protection.enabled true Determines if Cross-site request forgery protection is enabled or not
  • If not set or true : Requests for data modifying are validated and checked for the availability of CSRF header
  • If set to false : Data modifying requests are not validated for the presence of CSRF header
Yes

Highly recommended to keep enabled in production environments

odp.csrf.token.refresh.enabled false Determines if Cross-site request forgery cookie value should be updated with each data modifying request
  • Effective only when CSRF protection property is enabled
  • If not set or false : cookie value will not be updated.
  • If set to true : if the HTTP request is for data modifying, then CSRF cookie value is updated.
No

Must be disabled in production

odp.struct.binary.attribute.max.length 64000 Maximum length of Binary Model data for Structures.
  • Value should be increased gradually based on requirement
  • If not set : default 64000 will be used
  • If set : integer value of the property value will be used as the maximum length.
Yes
ifs.show-stack-trace false Exception type and message is added in to inner error of the response body. Debug purpose No.
ifs.force-metadata-exceptions-to-trace false Determines whether information of metadata related exceptions should be included in the debug response, under server trace. Debug purpose
  • If not set or false : exceptions will not be logged.
  • If set to true : exceptions will be logged.
No