Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add the username and password of Automatics MYSQL Database in the application.properties file(/src/main/resources/). Enter the value of username and password of the database to 'spring.datasource.username' and 'spring.datasource.password'.
  2. The password should be entered in base 64 encrypted format.
  3. Use the command "mvn clean install" to build the .jar file of the Scriptless Service.
  4. Check whether the tables that are required for Scriptless Service is present in the automatics database. If not present, create it using the SQL scripts present in the Automatics_DB.sql file starting from line number 1596
  5. Check whether the base URLs of Automatics Orchestration and Scriptless Service application is added to the database. If not added, add it using 'AUTOMATICS_BASE_URL' and 'MICROSERVICE_URL' as the config names in master_config table.  

    AUTOMATICS_BASE_URLBase URL of Automatics Orchestration Application
    MICROSERVICE_URLBase URL of Scriptless Service
  6. Copy the rackdataservice-1.0.0.jar of Rackdataservice Scriptless Service to a folder in VM. Create a empty folder with the name as 'logs' outside the folder that contains the Rackdataservice jar file using the command mkdir logs. Run the below command inside the folder that contains the Rackdataservice jar file to bring the Scriptless Service up in the server.

    Code Block
    nohup java -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -jar rackdataservice-1.0.0.jar > logfile.log 2>&1 &
  7. A log file will be created in the logs folder with the name rackDataService.log. We can check the real time logs of the Scriptless Service using this file. 

...