Installing Optimization Microservice
- From the WFM Optimization Service installation ISO, extract and unzip the WbOptimizationServices-OnPrem-<version>-Core-<date>.zip file.
- If required in the startOptimizationMicroservice.sh script, modify these variables:
           - JAVA_HOME
- Full path of the directory where Java 17 is installed.
- JVM_OPTIONS
- 
              JVM options for the microservice. This only changes the minimum and maximum heap size through the parameters -Xms and -Xmx. Do not change other parameters. 
- SERVER_PORT
- Port on which microservice should run. The default value is 8080.
- LOG_DIRECTORY
- Directory where microservice logs should get stored.
- SERVICE_QUEUETHREADPOOLSIZE
- Number of schedules the microservice can process in parallel. The default is 10.
 
- If required in the script checkMicroserviceStatus.sh, modify this variable:
           - SERVER_PORT
- Port on which microservice should run. The default value is 8080.
 
- To start the microservice, run this command: ./startOptimizationMicroservice.sh
- Wait for a few seconds for the microservice to start, then run this command to check the startus of the microservice:
           ./checkMicroserviceStatus.sh
- To check the logs, navigate to the log directory specified in the startOptimizationMicroservice.sh script. 
           The log file optimization-microservice.log would contain the microservice logs.The log files inside the directory access-logs would contain the microservice access logs.
- To stop the microservice, run this command: 
           ./stopOptimizationMicroservice.sh