RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Table of Contents |
---|
Please setup Automatics system if not already done following Automatics Tool Setup
Follow below steps to deploy CDRouter service in Automatics System.
JDK 17
Maven 3
JDK 17 Setup Details
Follow Steps below to install Java 17 on CentOS/linux.
...
Install Java 17
yum install java-17-openjdk |
---|
Verify Java is Installed
java –version |
---|
CD-ROUTER Service Setup
For setting up the CDRouter Service of Automatics , clone the repo << CDRouter Service >> . Once the repo is cloned, please follow the below steps,
. If not added, add it using , 'CDROUTERS', 'CDROUTER_SERVICE_BASE_URL' and 'CDROUTER_PAGINATION_LIMIT' as the config names in master_config table. please refer this page (Automatics CDRouter Integration) for more detailed information on how to add the values using UI and Database(MySQL) as well.
"mvn clean install"
Run the below command from cdrouter-service directory 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 serverVM.
nohup java -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -jar cdrouterservice-0.0.1-SNAPSHOT.jar > logfile.log 2>&1 & |
---|