Overview
inProcess App Operations was designed to work with Configuration Profiles.
A Configuration Profile is a collection of settings stored in the appsettings.json file, located in the inProcess App Operations root directory.
On this page
The appsettings.json file
This is the default structure of the appsettings.json file:
{
"AccountNumber": "",
"QlikSenseConnections": [
{
"ConnectionName": "",
"UserDomain": "",
"UserName": "",
"SecurePassword": "",
"QlikSenseUrl": "",
"VirtualProxyPath": "",
"CertificatePath": "",
"CertificatePassword": "",
"CertificatePort": 4242,
"CertificateValidation": true,
"QcsApiKey": ""
}
],
"AppExportProfiles": [
{
"ProfileName": "",
"AppTitleFilter": "",
"AppStreamFilter": "",
"SkipData": true,
"DestinationFolder": "",
"AppListJsonFileName": "",
"SkipConfirmation": false,
"FileNamePattern": ""
}
],
"AppImportProfiles": [
{
"ProfileName": "",
"QVFSourceFolder": "",
"AppListJsonFileName": "",
"AppNamePattern": "",
"SkipConfirmation": false
}
]
}
There are four groups of configurations, each one described in detail in this documentation:
Populated appsettings.json sample
Following a full example of a populated appsettings.json file:
{
"AccountNumber": "cus_XZUhua19987129381asd",
"QlikSenseConnections": [
{
"ConnectionName": "CLIENT_MANAGEMENT",
"UserDomain": "MyDomain",
"UserName": "MyUserName",
"SecurePassword": "MyPassword",
"QlikSenseUrl": "https://myclientmanagement/",
"VirtualProxyPath": "",
"CertificatePath": "",
"CertificatePassword": "",
"CertificatePort": 4242,
"CertificateValidation": true,
"QcsApiKey": ""
},
{
"ConnectionName": "CLIENT_MANAGEMENT_WITH_CERTIFICATE",
"UserDomain": "MyDomain",
"UserName": "MyUserName",
"SecurePassword": "",
"QlikSenseUrl": "https://myclientmanagement/",
"VirtualProxyPath": "",
"CertificatePath": "C:\MyCertificateFolder\Windows",
"CertificatePassword": "",
"CertificatePort": 4242,
"CertificateValidation": false,
"QcsApiKey": ""
},
{
"ConnectionName": "CLOUD",
"UserDomain": "",
"UserName": "",
"SecurePassword": "",
"QlikSenseUrl": "https://mycloud/",
"VirtualProxyPath": "",
"CertificatePath": "",
"CertificatePassword": "",
"CertificatePort": 4242,
"CertificateValidation": true,
"QcsApiKey": "MyApiKey"
}
]
"AppExportProfiles": [
{
"ProfileName": "RND",
"AppTitleFilter": "( - Data )(Model|Mart)$",
"AppStreamFilter": "My Stream",
"SkipData": true,
"DestinationFolder": "C:\\QVF\\{year}\\{month}",
"AppListJsonFileName": "C:\\QVF\\AppList.json",
"SkipConfirmation": false,
"FileNamePattern": ""
},
{
"ProfileName": "CLOUD",
"AppTitleFilter": "",
"AppStreamFilter": "",
"SkipData": true,
"DestinationFolder": "C:\\QVF-CLOUD\\",
"AppListJsonFileName": "C:\\QVF-CLOUD\\AppList.json",
"SkipConfirmation": false,
"FileNamePattern": "{year}-{month}-{day} {hour}_{minute}_{second} -- {stream} - {app}.{id}"
}
],
"AppImportProfiles": [
{
"ProfileName": "RND",
"QVFSourceFolder": "",
"AppListJsonFileName": "C:\\QVF\\AppList.json",
"AppNamePattern": "[{year}-{month}-{day} {hour}_{minute}_{second}] {stream} - {app} - New Import",
"SkipConfirmation": false
},
{
"ProfileName": "CLOUD",
"QVFSourceFolder": "C:\\QVF-CLOUD\\",
"AppListJsonFileName": "",
"AppNamePattern": "",
"SkipConfirmation": false
}
]
}
The appsettings_log.json file
The appsettings_log.json file controls the settings of the Log files.
This is intended for advanced, technical and support people audience.
We do not recommend changing this file.
Following the appsettings_log.json fully populated with the original values:
{
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File", "Serilog.Enrichers.Environment" ],
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "Console",
"Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.SystemConsoleTheme::Literate, Serilog.Sinks.Console",
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message}{NewLine}",
"restrictedToMinimumLevel": "Information"
}
},
{
"Name": "File",
"Args": {
"path": "Logs/inProcessAppOperations.log",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {SourceContext} [{Level:u3}] ({MachineName}/{EnvironmentUserName}) {Message}{NewLine}{Exception}",
"restrictedToMinimumLevel": "Debug"
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithEnvironmentUserName" ],
"Properties": {
"Application": "inProcess App Operations"
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}