Versions Compared

Key

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

...

  1. Use the command "mvn clean install" to build the .jar file of the CDRouter Service.
  2. Check whether the base URLs and values of Automatics Orchestration and CDRouter Service is added to the database. If not added, add it using 'AUTOMATICS_BASE_URL' , 'CDROUTERS', 'CDROUTER_SERVICE_BASE_URL' and  'CDROUTER_PAGINATION_LIMIT' as the config names in master_config table.  


    AUTOMATICS_BASE_URLBase URL of Automatics Orchestration Application
    CDROUTERSUrl of different CDRouters
    CDROUTER_PAGINATION_LIMITAdd the pagination value 
    CDROUTER_SERVICE_BASE_URLBase URL of CDRouter Service
  3. Copy thecdrouterservice-0.0.1-SNAPSHOT.jar of CDrouter Service to a folder in VM. Create a empty folder with the name as 'logs' outside the folder that contains the CDRouter service jar file using the command mkdir logs. Run the below command inside the folder that contains the CDRouter Service jar file to bring the CDrouter Service up in the server.

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