Versions Compared

Key

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

...

  • 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” and "device_config.json" files.  When ever user edits automatics properties or device_config.json, 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. These credentials has to be configured under 'user' and 'pwd' keys.
  • 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.
  • The base URL for Automatics Properties application will be {protocol}//{host:port}/AutomaticsProps/automatics/props. Using this URL user can login and configure the properties for “automatics.properties” and "device_config.json" files.