I have question, when we are starting runEasyTravelNoGui.sh can we overwrite some properties from config file via arguments passed in bash? Or should I create multiple instances of config files and sh pass it to sh script in this way. I know that there is REST interface to change some of problems scenarios but I need commandline option as well.
Solved! Go to Solution.
You should be able to overwrite the properties by passing arguments such as these:
You can change most properties in this way.
I tried to set up the parameter you need.
I used the following argument for test "-Dconfig.backendCPUCycleTime=57".
I modified and used "runEasyTravelNoGui.sh".
I checked the value of this parameter through the ConfigurationService with "...:8091/services/ConfigurationService/getBackendCPUCycleTime". And what I got is the value I set, that is "57":
So I would say that setting the value with an argument works fine.