...
In order to configure the service, use teh the guide for viewing and editing a file (Found in this document) and open the file named Config.Json
...
| Key | Values | Description | Comment | LogState | On, OffToggle for logging | |
|---|---|---|---|---|---|---|
| LogType | FILE | Type of logging | LogLevel | ALL | What kind of information to log||
| LogFileMaxDays | n | The number of days that the log file lives before it is archived by renaming it, after wich a new log file is created. | ||||
| GDPRLogFileMaxDays | n | Number of days before log files are deleted | ||||
| FullXmlLog | TRUE/FALSE | If true, then logs the full xml reveived to the log file. (Helpfull for debugging but takes a log of space in the log file) | ||||
| IpWhiteListing | TRUE/FALSE | If the service runs whitelisting (This is done in azure for now) | ||||
| IpWhitelistingCooldown | n | When to retrieve valid ip adresses for the whitelisting | ||||
| InputValidation | TRUE/FALSE | Validate the input comming from SonWin | ||||
| ApiCommunicationType | PRODUCTION/DEBUG | Send data to the integration api for production. (Adding to the database etc, DEBUG is only used when developing) | ||||
| ApiCommunication | TRUE/FALSE | Not used | ||||
| ApiBaseAdress | URL | The adresse of the endpoint to communicate to (Integration Api) | ||||
| ApiExceptionHandling | TRUE/FALSE | If true then the service will throw an exception to the client if anything goes wrong, causing the client to try to resend the message. | ||||
| IntegrationApiToken |
Comments:
-Will be removed as the log types available for this application ended up being just this pone type.
-Will be removed as the whitelisting is handled at the hosting environment anyway
...
| String token | This is the token that have to be used when communicating to the integration api. The service will not function without it. |
After having made a change to the configuration, it will be a good idea to restart the service.
Restarting the service is done by clicking the Menu point Overview and then clicking the menu point in the ribbon named Restart
...