Versions Compared

Key

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

...

  • Launch {protocol}// {host:port}/AutomaticsProps/deviceProps.
  • User will be redirected to device json page, where it contains the device model based configuration.
  • To edit device properties, user has to update the file device_config.json deployed in tomcat server at path apache-tomcat/webapps/automatics/. Currently, UI support is not available to edit values of device_config.json.

Software Requirement

  • JDK

    1.8

    17

Following page provide the detailed to setup Java 1.8 on linux

https://wiki.rdkcentral.com/display/ASP/Automatics+Orchestration Setup#JDK17+Setup#AutomaticsOrchestrationSetup-JDK17 

  • Tomcat

    7

    9.0.XX or above

Following page provide the detailed steps to setup Tomcat 7 version on linux

https://wiki.rdkcentral.com/display/ASP/Automatics+Orchestration Setup#Tomcat9+Setup#AutomaticsOrchestrationSetup-Tomcat9.0.XX

  • Maven 3

Following page provide the detailed steps to setup maven on linux

https://wiki.rdkcentral.com/display/ASP/Automatics+Orchestration Setup#Maven3+Setup#AutomaticsOrchestrationSetup-Maven3

Setup

  • Clone AutomaticsProps project from the repository (rdk/tools/automatics/automatics-props) with branch (“rdk-next”).
  • Execute “mvn clean install”, and war file will be generated at target directory.
  • Copy automaticsProps.war file to apache-tomcat/webapps directory and rename it to AutomaticsProps.war.
  • Create a directory named “backup_file”, in apache-tomcat and place the sample “automatics.properties” file.  When ever user edits automatics properties, a backup file will be generated inside this directory.
  • Create a directory “automatics” inside apache-tomcat/webapps.
  • Copy “automatics.properties”, "device_config.json" and “config.properties” from automatics-props\src to tomcat/webapps/automatics folder. 
  • Configure“config.properties” with username and password required for Automatics Properties UI login.
  • Configure“config.properties” with base 64 encrypted passcode with login id and password separated by colon format.
    example: admin:automatics when we encrypt it, the value will be YWRtaW46YXV0b21hdGljcw==
    It is used to authenticate automatics properties using automatics.properties.passcode. When a test is triggered from automatics orchestration, automatics core tries to communicates with automatics properties to get the data of automatics properties and device properties file. In order to communicate, automatics core authenticates itself with automatics properties using this password.
  •  Start the server using command ./startup.sh.