Configuration
The eWater Run Manager application contains a number of sub-directories. Two of these, the Agent and Run Manager sub-directories, contain configuration files called appSettings.json. These files can be opened in a text editor and allow you to configure the Source Cloud settings. Generally, the only setting that the
The user will need to modify is specify the eWater Source installation directory, which is located in the Agent's appSettings.json configuration file.
eWater Run Manager settings file:
Code Block | ||||
---|---|---|---|---|
| ||||
{
"BaseUrl": "http://localhost:5051",
"MaxLocalAgents": 4,
"TimeseriesCycleCreatorExe": "..\\..\\TimeseriesCycleCreator\\TimeseriesCycleCreator.exe"
}
|
- BaseUrl - The browseable URL for the local version of Source Cloud
- MaxLocalAgents - The maximum number of Source instances to be running for a given job
- TimeseriesCycleCreatorExe - The location of the executable for the TSCC
Generally, other settings can be left at their default values. The Run Manager will need to be restarted for configuration changes to take effect.
When entering file paths, back slashes (\) must be escaped. i.e. use double back-slashes (\\).
Agent Settings file:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "PollingPeriodMs": "10000", "ServerBaseUrl": "http://localhost:5051", "SourceDirectory": "C:\\Source\\Source_4.5.0.7410\\" } |
- PollingPeriodMs - How often agent will poll the server requesting for a job/task
- ServerBaseUrl - The URL to contact the server on
- SourceDirectory - The directory containing the version of Source to run Back slashes must be escaped with a double slash (\\)
eWater Run Manager settings file:
Code Block | ||||
---|---|---|---|---|
| ||||
{
"BaseUrl": "http://localhost:5051",
"MaxLocalAgents": 4,
"TimeseriesCycleCreatorExe": "..\\..\\TimeseriesCycleCreator\\TimeseriesCycleCreator.exe"
}
|
- BaseUrl - The browseable URL for the local version of Source Cloud
- MaxLocalAgents - The maximum number of Source instances to be running for a given job
- TimeseriesCycleCreatorExe - The location of the executable for the TSCC
Launch eWater Run Manager
Launch the eWater Run Manager application by Source.Web.exe, which is located in the /Run Manager directory. This will launch the local eWater Run Manager application in your default web browser.
Warning |
---|
Your web browser may cache old versions of the eWater Run Manager website and fail to update when you run a new version. To ensure that this does not happen, always do a 'hard refresh' on the eWater Run Manager webpage after installing a new version. In Firefox and Chrome, the default shortcut for a hard refresh is Ctrl-F5. |