Versions Compared

Key

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

...

For setting up the Microservice of Automatics 3.0, clone the repo << Rack Data Service>> . Once the repo is cloned, please follow the below steps,

  1. Add the URL, username and password of Automatics MYSQL Database in the application.properties file(/src/main/resources/).
  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 it from the scripts present in the Automatics_DB.sql file.
  5. Copy the rackdataservice-1.0.0.jar of rackdataservice of Rackdataservice microservice to the VM in which it is running and run the below command to make bring the microservice up in the server UP.
  6. 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 &

...