Versions Compared

Key

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

...

Tree structure of the code details https://github.com/rdkcentral/rdk-cloud-container-config is as follows.

Code Block
├── README.md
├── cassandra
│   └── db
│       ├── db_create_tables.cql
│       └──├── db_init.cql
│       └── schema_ready
├── configs
│   └── xconfui.conf
├── docker-compose.yaml
├── init-cassandra.sh
├── xconfadmin
│   ├── Dockerfile
│   └──├── configDockerfile_org
│   ├── config
│    │   └── sample_xconfadmin.conf
│   ├── credentials.txt
│   └── version.txt
├── xconfui
│   ├── Dockerfile
│   └──├── config
│   │      └── sample_xconfui.conf
│   └── version.txt
├── xconfwebconfig
   │   ├── Dockerfile
│   ├── config
│   │   └── configsample_xconfwebconfig.conf
│          └── sample_xconfwebconfig.conf

├── data_service_start.sh
│   └── version.txt



Configuration files

xconfadmin, xconfui, xconfwebconfig holds the configuration which is same as  whatever available in their respective github repo.

Eg: For xconfadmin, https://github.com/rdkcentral/xconfadmin/commit/d740d4190db6c9f285ab68fd7d3e4ffaf94e8e2b#diff-840011df7d93f21a964cb8112e896a59d8cdc5368b890f0fe32d2c6b2634498b.

The difference is in
  database {
        hosts = [
            "127.0.0.1"
        ]
For standalone, it will be localhost as cassandra is running in different container this needs to address with Container name instead of localhost.

https://github.com/rdkcentral/rdk-cloud-container-config/blob/main/xconf/xconfadmin/config/sample_xconfadmin.conf#L76. For easeness, modified file is kept in the container config github repo.

This modification is handled inside the Dockerfile https://github.com/rdkcentral/rdk-cloud-container-config/blob/main/xconf/xconfadmin/Dockerfile#L48



Steps for running Container

...

Verify UI is working properly by giving this URL in the UI

$ http://<ip>:8081


This page covers the http based configuration, for https we can configure using nginx. 

Rest Reset of the testing, refer the wiki page page Xconf Golang Server - User guide for configuration and feature validation

...