89 lines
2.9 KiB
JSON
89 lines
2.9 KiB
JSON
{
|
|
"DiPMode": true,
|
|
"EnableSwagger": true,
|
|
"DisableAPIKeyAuth": false,
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"NLog": {
|
|
"throwConfigExceptions": true,
|
|
"variables": {
|
|
"logDirectory": "E:\\LogFiles\\Digital Data\\workFlow.API",
|
|
"logFileNamePrefix": "${shortdate}-workFlow.API"
|
|
},
|
|
"targets": {
|
|
"infoLogs": {
|
|
"type": "File",
|
|
"fileName": "${logDirectory}\\${logFileNamePrefix}-Info.log",
|
|
"maxArchiveDays": 30
|
|
},
|
|
"errorLogs": {
|
|
"type": "File",
|
|
"fileName": "${logDirectory}\\${logFileNamePrefix}-Error.log",
|
|
"maxArchiveDays": 30
|
|
},
|
|
"criticalLogs": {
|
|
"type": "File",
|
|
"fileName": "${logDirectory}\\${logFileNamePrefix}-Critical.log",
|
|
"maxArchiveDays": 30
|
|
}
|
|
},
|
|
// Trace, Debug, Info, Warn, Error and *Fatal*
|
|
"rules": [
|
|
{
|
|
"logger": "*",
|
|
"minLevel": "Info",
|
|
"maxLevel": "Warn",
|
|
"writeTo": "infoLogs"
|
|
},
|
|
{
|
|
"logger": "*",
|
|
"level": "Error",
|
|
"writeTo": "errorLogs"
|
|
},
|
|
{
|
|
"logger": "*",
|
|
"level": "Fatal",
|
|
"writeTo": "criticalLogs"
|
|
}
|
|
]
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"Default": "Server=SDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;Encrypt=false;TrustServerCertificate=True;"
|
|
},
|
|
"DirectorySearchOptions": {
|
|
"ServerName": "DD-VMP01-DC01",
|
|
"Root": "DC=dd-gan,DC=local,DC=digitaldata,DC=works",
|
|
"UserCacheExpirationDays": 1,
|
|
"CustomSearchFilters": {
|
|
"User": "(&(objectClass=user)(sAMAccountName=*))",
|
|
"Group": "(&(objectClass=group) (samAccountName=*))"
|
|
}
|
|
},
|
|
"APIKeyAuth": {
|
|
"Key": "ULbcOUiAXAoCXPviyCGtObZUGnrCHNgDmtNbQNpq5MOhB0EFQn18dObdQ93INNy8xIcnOPMJfEHqOotllELVrJ2R5AjqOfQszT2j00w215GanD3UiJGwFhwmdoNFsmNj",
|
|
"HeaderName": "X-API-Key",
|
|
"SwaggerDescription": "Required header for API key authentication. Enter a valid API key."
|
|
},
|
|
"OpenApiInfo": {
|
|
"Title": "WorkFlow API",
|
|
"Contact": {
|
|
"Email": "info-flow@digitaldata.works",
|
|
"Name": "Digital Data GmbH",
|
|
"Url": "https://digitaldata.works/"
|
|
}
|
|
},
|
|
"AuthClientParams": {
|
|
"Url": "https://localhost:7192",
|
|
"PublicKeys": []
|
|
},
|
|
"AuthPublicKey": {
|
|
"Issuer": "auth.digitaldata.works",
|
|
"Audience": "work-flow.digitaldata.works",
|
|
"Content": "-----BEGIN PUBLIC KEY-----MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3QCd7dH/xOUITFZbitMa/xnh8a0LyL6ZBvSRAwkI9ceplTRSHJXoM1oB+xtjWE1kOuHVLe941Tm03szS4+/rHIm0Ejva/KKlv7sPFAHE/pWuoPS303vOHgI4HAFcuwywA8CghUWzaaK5LU/Hl8srWwxBHv5hKIUjJFJygeAIENvFOZ1gFbB3MPEC99PiPOwAmfl4tMQUmSsFyspl/RWVi7bTv26ZE+m3KPcWppmvmYjXlSitxRaySxnfFvpca/qWfd/uUUg2KWKtpAwWVkqr0qD9v3TyKSgHoGDsrFpwSx8qufUJSinmZ1u/0iKl6TXeHubYS4C4SUSVjOWXymI2ZQIDAQAB-----END PUBLIC KEY-----"
|
|
}
|
|
} |