- 09 Aug 2024
- 2 Minutes to read
- Print
- PDF
Configuration Changes
- Updated on 09 Aug 2024
- 2 Minutes to read
- Print
- PDF
List of Configuration Changes
The following configuration changes must be made as per the customer instance. When the changes are made, run the Updateconfigs batch script to update the changes.
Angular Folder
The following needs to be updated in the Angular folder.
1. ~\ Configurationchanges\Angular\env.js
Update the Application URL as per the Customer instance and build number changes as per the highlight one.
Application URL: https://apex.symphonyai.com
2. ~\ Configurationchanges\Angular\web.config
• Updated the Customer's DNS
• Update the customer Application
Customers-> Symphonyai.com Application URL: https://apex.symphonyai.com
CAPI (Configuration API) Folder
Gather the following details as listed below, and update the files.
3. ~\ Configurationchanges\capi\appsettings.Production.json
• Update the connection string:
"MSSqlServerConn":"Data Source=;initial Catalog=;User Id=;Password=;",
• Update the Application URL in AllowOrigin
"AllowOrigin":"",
• Update the required parameters in RabbitMq settings.
"RabbitMq":{
"Hostname":"",
"Port":"15672",
"UserName":"",
"Password":"",
"VirtualHost":""
}
Master Folder
Update the URL and RabbitMq details as shown below.
4. ~\Configurationchanges\Master\appsettings.Production.json
• Find and replace ApplicationURL for all API key values
Ex: Application URL: https://apex.symphonyai.com
• Update the required parameters in RabbitMq settings.
"RabbitMq":{
"Hostname":"",
"Port":"15672",
"UserName":"",
"Password":"",
"VirtualHost":""
}
• Update the required parameters in Redis settings.
"Redis":{
"Hostname":"",
"Port":"6379",
"UserName":"",
"Password":"",
"Topic":"",
"Database":0,
"Enable":true
},
If Redis is not installed, then Enable should be mentioned as False("Enable":false).
It is recommended to use Redis always.
• Update the required parameters in SummitAPI Info settings.
"SummitApiInfo":{
"SummitApiUrl":"https://ApplicationURL/common/api/",
"Username":"",
"Password":"",
"AuthenticationType":"hashPasswordLogin",
"ApiKey":""
},
Application URL: https://apex.symphonyai.com
Login details for the application
Generate the API from the application and update.
5. ~\Configurationchanges\RBMQ\appsettings.json
• Find and replace ApplicationURL for all API key values
Ex: Application URL: https://apex.symphonyai.com
• Update the required parameters in RabbitMq settings.
"RabbitMq":{
"Hostname":"",
"Port":"15672",
"UserName":"",
"Password":"",
"VirtualHost":""
}
• Update the required parameters in Redis settings.
"Redis":{
"Hostname":"",
"Port":"6379",
"UserName":"",
"Password":"",
"Topic":"",
"Database":0,
"Enable":true
},
If Redis is not installed, then Enable should be mentioned as False("Enable":false).
It is recommended to use Redis always.
• Update the required parameters in Vault settings.
"VaultSettings":{
"VaultEndpointUri":"",
"AppRoleId":"",
"AppRoleSecret":"root",
"Token":"",
"BootstrapToken":null,
"AdminUserName":"",
"AdminUserPassword":"",
"ByPassVault":true
},
VaultEndpointUri: Vault URL along with port (http://121.0.0.1:8200/)
Token : update the Vault token
• Update the required parameters in SummitAPI Info settings.
"SummitApiInfo":{
"SummitApiUrl":"https://ApplicationURL/common/api/",
"Username":"",
"Password":"",
"AuthenticationType":"hashPasswordLogin",
"ApiKey":""
},
Application URL: https://apex.symphonyai.com
Login details for the application
Generate the API from the application and update.
• Update the required parameters in SMTP Configurations:
"SMTP":{
"Server":"",
"Port":"587",
"FromAddress":"",
"DisplayName":"",
"UserName":"",
"Password":""
},
• Update the connection string:
"MSSqlServerConn":"",