How to configure XCONF admin service

Pre-requisite:

  Install go version above 1.15

  For this setup used ,  go version go1.22.1 linux/amd64


git checkout https://github.com/rdkcentral/xconfadmin.git

go to project directory

Modify the line https://github.com/rdkcentral/xconfadmin/blob/main/config/sample_xconfwebconfig.conf#L34

   sat {
         SAT_REFRESH_FREQUENCY_IN_HOUR = 6
         SAT_REFRESH_BUFFER_IN_MINS = 15
         host = ""
-        SatOn = false
+        SAT_ON = false
     }



execute make command

launch : bin/xconfadmin-linux-amd64 -f config/sample_xconfwebconfig.conf &



To verify execute :  curl http://localhost:9000/version

{"status":200,"message":"OK","data":{"code_git_commit":"xconfwebconfig-22.2.14-461.879f957","build_time":"Thu Feb 14 02:14:00 2022 UTC","binary_version":"da59315","binary_branch":"main","binary_build_time":"2024-03-20_09:24:03_UTC"}}



How to configure XCONF UI

Pre-requisite

Refer this page for installing node using nvm https://www.freecodecamp.org/news/node-version-manager-nvm-install-guide/

use the node version 16

Create a workspace and clone the xconf ui to that 
git clone https://github.com/rdkcentral/xconfui.git

Go to project directory and run to install all UI dependencies:

npm install


Compile UI files:

grunt install

Check if config file (server/config) has correct log and backend path. XConf backend should be run separately.



Start golang UI server:

Go to xconfui directory
Execute make

go to bin folder and launch
bin/xconfui-linux-amd64 -f config/sample_xconfui.conf &


Open following link in browser http://localhost:


How to configure XCONF data service

git checkout https://github.com/rdkcentral/xconfwebconfig.git

go to project directory

execute make command

export SAT_CLIENT_ID='xxxxxx'
export SAT_CLIENT_SECRET='yyyyyy'
export XPC_KEY="dGVzdF9rZXkK"

bin/xconfwebconfig-linux-amd64 -f config/sample_xconfwebconfig.conf &







  • No labels