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 microservice.
  4. Check whether the tables that are required for microservice is present in the automatics database. If not present, add create it from 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 microservice to the VM and run the below command to bring the microservice up in the server.
  7. The command to bring the microservice up in server is mentioned in the below snippet.

    Code Block
    nohup java -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -jar rackdataservice.jar > logfile.log 2>&1 &

...