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
1117
Maven 3
JDK 17 Setup Details
Follow Steps below to install Java 11 17 on CentOS/linux.
Update before installing any new program
yum -y update |
---|
Install Java 1117
yum install java-1117-openjdk |
---|
Verify Java is Installed
java –version |
---|
CDROUTER 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 refere this page (Automatics CD Router 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 to bring the CDRouter Service up in the VMCopy 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 |
cdrouterservice- |
0.0. |
1-SNAPSHOT.jar > logfile.log |
2>&1 |
& |