-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
ole.wendlandt edited this page Jun 15, 2018
·
5 revisions
IRMA onAir Web - configuration parameters (restart the application to apply settings) Note: look into the logfiles when a problem occurs. (Path - [...]/wwwroot/App_Data/Logs/)
Default appsettings.json
| Fieldname | Type | Default value | Value/s | Description/Notes |
|---|---|---|---|---|
| "Debug" | boolean | "false" | "true", "false" | Activates the debug frontend version |
| "Scheme" | string | "https" | "http","https" | Http is not supported by REST API for security reasons. |
| "Host" | string | "api.irmaonair.com" | - | REST API Address. |
| "Port" | int | "443" | 0-65535 | Port for the REST API Address. When commented out connects over Scheme value only. (Windows only!) |
| "Path" | string | "services/REST/apc" | - | REST API URI path. |
| "Version" | string | "v1" | - | Version identifier for REST API connection. |
| "Release" | string | "r6" | - | Release identifier for REST API connection. |
| "ZipCompressionLevel" | string | "Fastest" | "Optimal", "Fastest", "NoCompression" | Compression Level at ZIP-Response generation. Harder compression, requires more CPU Power. |
| "RESTCompressionLevel" | string | "GZip" | "Deflate", "GZip", "None" | Compression Level for barebone REST API communication requests. |
| "TimeoutREST" | int | "5" | - | Timeout for REST API requests. Min. value is 0 (in seconds, below 0 will force default value of 30 seconds) |
| "DayLimit" | int | "31" | - | Request Day Limit. NOTE: Warning frontend messages have only strings for 31 days. Those will not be changed. |
| "SessionTimeout" | int | "30240" | - | Session Timeout in minutes. Below 0 or invalid value will set default value (3 weeks) |
| "SessionCache" | boolean | "false" | "true", "false" | Enables Session Cache for users. (for new vehicle user needs to logoff and login, but has better performance) |
| Fieldname | Type | Default value |
|---|---|---|
| "User" | string | "user/devices" |
| "Stops" | string | "stops" |
| "Reports" | string | "reports" |
| "Tracks" | string | "tracks" |
| Fieldname | Type | Default value | Description/Notes |
|---|---|---|---|
| "IncludeScopes" | string | "false" | - |
| "PathFormat" | string | "wwwroot/App_Data/Logs/IOA_Web_{Date}.txt" | Path where the Logger files will be written. |
| "RetainedFileCountLimit" | string | "30" | Collects logs only for the last 30 days |
| "LogLevel/Default" | string | "Information" | Trace, Debug, Information, Warning, Error, Critical, None |
| "LogLevel/Microsoft" | string | "Warning" | Same as for "default" but for Host server events (Kestrel backend) |