RDK Resources

[*RDK Preferred*]

Code Management Facility

Code Releases

RDK Forums

[RDK Conferences]

RDK Support

Archives

Papers & Presentations Archive

In the News!

Skip to end of metadata
Go to start of metadata

After installing all the required softwares, follow the below steps for running the application


Step 1: Make sure that Cassandra server has started & running


Step 2: Go to the xconfserver source code downloaded from RDK central repository (as mentioned in step 1 of initialization steps) & execute the below command, for downloading all the dependencies

    mvn clean install

For Ref: Above will the result of mvn clean install in command prompt


Step 3: Execute the below command under the folder “xconfserver\xconf-angular-admin” for running the angular admin application

    mvn jetty:run

For the first application deployment, the ApplicationDiscoveryDataservice schema needs to be created in Cassandra. So, create service.properties in xconf-angular-admin\src\main\resources\ and configure in run configuration in eclipse for Admin-UI.

    mvn jetty:run -DappConfig=…..\xconf\xconf-angular-admin\src\main\resources\service.properties

For ref : Below is the example to mvn run in Eclipse IDE


Where service.properties should have the below content in the file,

#autoGenerate schema is true by default but can be turned to false

autoGenerateSchema=true

Step 4:

Node JS and GIT should be installed and configured in the environment variables (for windows) 

Run the below commands under the folder <<server_directory>>//xconfserver/xconf-angular-admin/src/main/webapp

• npm install -g bower
• npm install -g grunt-cli
• npm install
• npm install grunt-contrib-copy --save-dev
• grunt install



Step 5: Launch http://localhost:9093/admin/ in any browser to open Admin UI & validate the application running status.

Step 6: Execute the below command under the folder “xconfserver\xconf-dataservice” for running the dataservice application

    mvn jetty:run


    For the first application deployment, the ApplicationDiscoveryDataservice schema needs to be created in Cassandra. So, create service.properties in xconf-dataservice\src\main\resources\ and configure in run configuration in eclipse for Admin-UI.


    mvn jetty:run -DappConfig=…..\..\xconf-dataservice\src\main\resources\service.properties


    Where service.properties should have the below content in the file,

#autoGenerate schema is true by default but can be turned to false

autoGenerateSchema=true


Step 6: Validate the status of dataservice application by following below sub steps

a)      Add environment details in each environment tab/section.

b)      Open Postman/rest client and enter the below URL with GET method and validate whether the environment entered in previous sub-step is available in the environment list.

    http://localhost:9092/queries/environments

  • No labels

3 Comments

  1. If I have to test a unit pointing to this XCONF server, should it be from the whitelisted IP address scope? 

    1. Are you referring to the whitelist in the percent filter?  The whitelist in the percent filter defines devices that get the latest version of firmware, regardless of whether they are in the percent range.

      1. Stephen,

        Thanks for your response and I was able to figure out the IP whitelist issue and really appreciate your inputs.