Sample Configuration Input File
The enterprise installation Configuration Input File, configInput.json, provides the information necessary for configuring the Advanced Store enterprise installation. This file can be created manually using the code provided below or can be obtained by running the DSR Enterprise installation on any server.
The following sample code provides the minimum required settings for configuring the Advanced Store enterprise servers. Default values are provided in this example. Retailers can replace these values manually or by running the Input File Builder utility. Additional configuration settings can be added to the file as needed.
JSON
{
"connectionStrings": [
{
"CoreDb": {
"Data Source": "localhost",
"Initial Catalog": "CoreDb",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"TransactionLogDb": {
"Data Source": "localhost",
"Initial Catalog": "TransactionLogDb",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"ProductDb": {
"Data Source": "localhost",
"Initial Catalog": "ProductDb",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"RTEEnterpriseOptionsDataEntities": {
"metadata": "res://*/RTEEnterpriseOptionsData.csdl|res://*/RTEEnterpriseOptionsData.ssdl|res://*/RTEEnterpriseOptionsData.msl;provider=System.Data.SqlClient;provider",
"connection string": {
"data source": "localhost",
"initial catalog": "RTEEnterpriseOptionsData",
"persist security info": "True",
"user id": "$DbUser",
"password": "$DbPass",
"MultipleActiveResultSets": "True",
"App": "EntityFramework"
}
},
"NCRWO_Transactions": {
"metadata": "res://*/NCRWO_Transactions.csdl|res://*/NCRWO_Transactions.ssdl|res://*/NCRWO_Transactions.msl;provider=System.Data.SqlClient;provider",
"connection string": {
"data source": "localhost",
"initial catalog": "NCRWO_Transactions",
"User Id": "$DbUser",
"Password": "$DbPass",
"MultipleActiveResultSets": "True",
"App": "EntityFramework"
}
},
"NCRWO_EJ": {
"Data Source": "localhost",
"Initial Catalog": "NCRWO_EJ",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"TrustedCustomer": {
"Data Source": "localhost",
"Initial Catalog": "TrustedCustomer",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"Transactions": {
"Data Source": "localhost",
"Initial Catalog": "NCRWO_Transactions",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"TransactionSearch": {
"Data Source": "localhost",
"Initial Catalog": "NCRWO_EJ",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"LogDb": {
"Data Source": "localhost",
"Initial Catalog": "NCRWO_LogDb",
"User Id": "$DbUser",
"Password": "$DbPass"
},
"Cheetah": {
"User ID": "$cheetahUser",
"Password": "$cheetahPass"
}
}
],
"rabbitmqCredentials": [
{
"mqReader": {
"UserId": "$mqReaderUser",
"Password": "$mqReaderPassword",
"Tag": ""
},
"mqWriter": {
"UserId": "$mqWriterUser",
"Password": "$mqWriterPassword",
"Tag": ""
},
"administrator": {
"UserId": "$mqAdminUser",
"Password": "$mqAdminPassword",
"Tag": "administrator",
"IsAdmin": "true"
}
}
],
"rabbitMQ": [
{
"default": {
"host": "localhost",
"port": "5672",
"tlsEnabled": "false",
"virtualHost": "/",
"exchangeName": "Ncr.Retail.Services"
},
"EncryptionKeyController": {
"host": "localhost",
"port": "5672",
"tlsEnabled": "false",
"virtualHost": "/",
"exchangeName": "Ncr.Retail.Stores"
}
}
],
"web": [
{
"web.config": {
"useLDAP": false,
"unity": {
"Ncr.Retail.DomainModel.Security.ISecurity,Ncr.Retail.DomainModel.Security": {
"mapTo": "Ncr.Retail.DomainModel.Security.LDAPUserSecurity,Ncr.Retail.DomainModel.Security"
},
"Ncr.Retail.DomainModel.Security.IUser,Ncr.Retail.DomainModel.Security": {
"mapTo": "Ncr.Retail.DomainModel.Security.LDAPUserImpl,Ncr.Retail.DomainModel.Security"
}
},
"RoleCodePriorityOrder": {
"EOM": {
"roleCodes" : "93, 91, 90, 70, 10, 20, 30, 40, 0"
},
"ETS": {
"roleCodes": "94, 92, 90, 10, 0, 40"
},
"POS": {
"roleCodes": "100, 10, 20, 30, 40, 70"
}
},
"appSettings": {
"forceHTTPS": "false",
"LDAPConnectionString": "LDAP://ldap.mycompany.be:389/ou=users,o=mycompany,dc=mycompany,dc=be",
"LDAPRoleDelimeter": "_",
"LDAPRoleValidationType": "RoleCode",
"LDAPDomainName": "",
"LDAPAlternateIdName": "",
"LDAPAlternateOrgSource": "",
"LDAPMaxPageSize": "1000",
"LDAPOrgUnit": "",
"LDAPAuthenticationTypes": "Secure",
"SearchAuthenticationTypes": "Secure"
}
}
}
],
"app": [
{
"Ncr.Retail.Services.WindowsServiceHost.exe.config": {
"appSettings": {
"TransactionProcessor.SourceHost": "localhost",
"TransactionProcessor.TargetHost": "localhost",
"PMPDirector.TargetHost": "localhost",
"PMPDirector.SourceHost": "localhost",
"ProductMaintenanceProcessor.SourceHost": "localhost",
"ProductMaintenanceProcessor.TargetHost": "localhost",
"ProductMaintenanceProcessor.DataLoadHost": "localhost",
"ProductMaintenanceProcessor.DataLoadTargetHost": "localhost",
"ProductMaintenanceProcessor.DataLoadFolder": "C:\\Temp\\Extract",
"ProductMaintenanceProcessor.DataLoadFTPPath": "Extract",
"UserMaintenanceProcessor.SourceHost": "localhost",
"UserMaintenanceProcessor.TargetHost": "localhost",
"RoleMaintenanceProcessor.SourceHost": "localhost",
"RoleMaintenanceProcessor.TargetHost": "localhost",
"TaxonomyMaintenanceProcessor.SourceHost": "localhost",
"TaxonomyMaintenanceProcessor.StoreHost": "localhost",
"DigitalReceiptsProcessor.SourceHost": "localhost"
},
"usePosLogRedistribution": false,
"messageRedistribution": {
"Source":{
"tenantID": {
"1": {
"host": "localhost",
"virtualHost": "/",
"queue": "Ncr.Retail.Services.PosLog.MessageRedistribution"
}
}
},
"Targets": {
"routingKey": {
"PosLog.Formatted": {
"host": "localhost",
"virtualHost": "/",
"exchange": "Customer.Retail.Services"
}
}
}
}
},
"Ncr.Retail.Services.EOMSynchronization.exe.config": {
"appSettings": {
"EOMSynchronization.SourceHost": "localhost",
"EOMSynchronization.DefaultRoot": "Corporate",
"Corporate": "Brand",
"Country": "Country",
"Region": "Region",
"AdministrativeArea": "State",
"Store": "DSR Server"
}
},
"Ncr.Retail.EncryptionKeyUpdate.exe.config": {
"appSettings": {
"EncryptionKeyUpdater.TargetHost": "localhost"
}
},
"Ncr.Retail.DataPurge.exe.config": {
"appSettings": {
"RabbitTargetHost": "localhost"
}
},
"Ncr.Retail.BatchApply.exe.config": {
"appSettings": {
"BatchApply.SourceHost": "localhost",
"BatchApplyPublisher.TargetHost": "localhost",
"BatchApply.TLSPort": "5672",
"BatchApply.TLSEnabled": "false"
}
},
"Ncr.Retail.Services.EOMParameterStaging.exe.config": {
"appSettings": {
"EOMParameterStaging.SourceHost": "localhost",
"EOMParameterStaging.TaxonomyThreadWait": "5000",
"Corporate": "Corporate",
"DeviceNames": "POS;SERVER",
"DefaultDevice": "POS"
}
}
}
],
"util": [
{
"Ncr.Retail.Setup.StoreDataPush.exe.config": {
"appSettings": {
"SDPRoutingKey": "StoreDataPush",
"MessagePerStore": "true"
}
}
}
]
}