...
xApp should always refer to the environment variables for their values instead of using the default ones.
Environment Variable | Description | Default Value |
---|---|---|
RMR_RTG_SVC | 4561 | |
XAPP_DESCRIPTOR_PATH | Path of the xApp descriptor JSON file | /opt/ric/config |
DBAAS_MASTER_NAME | Entry point of DBAASHA sentinel | service-ricplt-dbaas-tcp.ricplt.svc.cluster.local |
DBAAS_SERVICE_HOST | Entry point of DBAAS service | service-ricplt-dbaas-tcp.ricplt.svc.cluster.local |
DBAAS_SERVICE_PORT | DBAAS service port | 6379 |
DBAAS_SERVICE_SENTINEL_PORT | DBAASHA sentinel port | 26379 |
How do xApp consume the parameters
...
Consuming parameters in the xApp descriptor
The xApp program can find the xApp descriptor file using XAPP_DESCRIPTOR_PATH. The descriptor should contains all the internal configuration parameters for the xApp.