Installation with the ConfigSetter tool
The ConfigSetter is a tool that you can use to make the installation process faster and easier. Instead of updating values in each configuration file for the different components of Incentives, you update each value only once in the ConfigSetter.
Important
The ConfigSetter tool is only available with Incentives Version 10.1.1.102.0 and higher.
For example, changing the host
value through the REST API tab changes it for all other files that use that value.
For this to work, those file locations must be correctly set. The first time you open the ConfigSetter, check the file name under each tab. If a location is not set, the name appears in red. Click
to navigate to the location of the file.There are also 3 files that are generated as examples, so you must change the names for the ConfigSetter to recognize them:
Change
RESTAPI.dbServers.example.config
toRESTAPI.dbServers.config
Change
RESTAPI.appSettings.example.config
toRESTAPI.appSettings.config
Change
SchedulerService.appSettings.example.config
toSchedulerService.appSettings.config
Open the
ConfigSetter.exe
tool. This tool opens automatically after running the installer.Tip
You may need to run the tool as an administrator.
Under each tab, check the file location. If the file location appears in red, it means the ConfigSetter cannot locate the file. Click
to navigate to the location of the file and select it.Update these fields:
Name
Tab
Description
Changes
Address
Database
This address points to the location of the database.
Updates
address
inRESTAPI.dbservers
andmodelServers.servers.address
indefault.json
.Type
Database
This is the type of database that you are using.
To use SQL Server 2016, all configurations must be done as if using SQL Server 2014. For example, if the database you are using is SQL Server 2016, then type
sqlserver2014
orsqlserver2014unicode
.Updates
Type
inRESTAPI.dbservers
andmodelServers.servers.type
indefault.json
.User
Database
This is the Microsoft SQL Server user and requires SQL Server Authentication.
Updates
username
inRESTAPI.dbservers
andmodelServers.servers.user
indefault.json
. Updatesjdbc.username
injdbc.properties
.Password
Database
This is the password of the associated Microsoft SQL Server user.
Updates
password
inRESTAPI.dbservers
andmodelServers.servers.password
indefault.json
. Updatesjdbc.password
injdbc.properties
.Host
REST API
This is the hostname of the server where tenant services is installed
Updates the
Host
inRestAPI.appSettings.Config
andSchedulerService.appSettings
. Updates theapi_url
inindex.html
. Updates thehost
andport
values for the REST API.MessageSecretKey
REST API
This value matches the
JWT_KEY
value in the tenant services configuration file.Updates the
MessageSecretKey
inRestAPI.appSettings.Config
. Updates theJWT_KEY
variable in your environment.Host
Scheduler
This is the location of the Scheduler service.
Updates the
Host
inSchedulerService.appSettings
. Updates theSchedulerService
inRestAPI.appSettings.Config
. Updates thesecurity.api.schedulerServicePrivateUrl
insecurity.properties
.SchedulerSecretKey
Scheduler
This value matches the
SCHED_KEY
value in the tenant services configuration file.Updates the
SchedulerSecretKey
inSchedulerService.appSettings
. Updates theSchedMessageSecretKey
inRestAPI.appSettings.Config
. Updates theSCHED_KEY
variable in your environment.Host
Tenant Services
This is the host name or IP of the machine where SQL server is installed.
Updates
TenantServices
inRestAPI.appSettings.Config
andSchedulerService.appSettings
. Updatestenant-services-url
in security.properties. Updatesauth_url
inindex.html
.Public port
Tenant Services
This is the public port specified during the installation of tenant services.
Updates
server.port
indefault.json
. Updatestenant-services-url
insecurity.properties
. Updatesauth_url
inindex.html
.Private port
Tenant Services
This is the private port specified during the installation of tenant services.
Updates
TenantServices
inRestAPI.appSettings.Config
andSchedulerService.appSettings
. Updatesserver.privatePort
indefault.json
. UpdatestenantServicesPrivateUrl
in security.properties.TenantSecretKey
Tenant Services
This matches the TENANT_KEY value in the tenant services configuration file.
Updates
TenantSecretKey
inRestAPI.appSettings.Config
andsecurity.properties
. Updates theTENANT_KEY
value in your environment.ManagementSecretKey
Tenant Services
This matches the MANAGEMENT_KEY value in the tenant services configuration file.
Updates
ManagementSecretKey
inRestAPI.appSettings.Config
. Updates theMANAGEMENT_KEY
value in your environment.SystemCallsSecretKey
Tenant Services
This matches the API_KEY value in the tenant services configuration file.
Updates
SystemCallsSecretKey
inRestAPI.appSettings.Config
andSchedulerService.appSettings
. Updates theAPI_KEY
value in your environment.Host
PayeeWebV1
This is the host used by Apache Tomcat.
Updates the
Host
value indefault.json
.PayeeWebSecretKey
PayeeWebV1
This matches the VARICENT_WEB_KEY value in the tenant services configuration file.
Updates the
PayeeWebSecretKey
inRestAPI.appSettings.Config
. Updates thesecretkey
insecurity.properties
. Updates the theVARICENT_WEB_KEY
value in your environment.Model Name
PayeeWebV1
This is the name of your model.
Updates
jdbc.model
injdbc.properties
.Tenant Name
PayeeWebV1
This is the name of your tenant.
Updates
jdbc.tenant
injdbc.properties
.Model Name
PayeeWebV2
This is the name of your model.
Updates
local_database
inindex.html
.Tenant Name
PayeeWebV2
This is the name of your tenant.
Updates
local_tenant
inindex.html
.Click
.
You can now continue with installation by configuring the saved import settings, followed by Setting up HTTPS for the REST API.