X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=xapp_onboarder%2FREADME.md;h=8ce97f7f7502f229899af6486170b34d13c26489;hb=a9b4e2aca7fdaae20d576805e136a17342f4c625;hp=c6fefad1207f230e51af0af7de96a41b9afb3f9f;hpb=3b56acc14a2308e853612e22738cd44687288149;p=it%2Fdev.git diff --git a/xapp_onboarder/README.md b/xapp_onboarder/README.md index c6fefad..8ce97f7 100644 --- a/xapp_onboarder/README.md +++ b/xapp_onboarder/README.md @@ -17,10 +17,6 @@ A helm chart repo is needed to store the xApp helm charts. You can use [chartmus Environment variables: * **FLASK_SERVER_NAME**: Address that the xapp_onboarder is listening on. Default http://0.0.0.0:8888 * **CHART_REPO_URL**: helm chart repo URL. Default http://0.0.0.0:8080 -* **DBAAS_SERVICE_HOST**: DBAAS service host URL that will be injected into the xApp config -* **DBAAS_MASTER_NAME**: DBAAS_HA sentinel master URL that will be injected into the xApp config -* **DBAAS_SERVICE_SENTINEL_PORT**: DBAAS_HA sentinel port that will be injected into the xApp config -* **DBAAS_SERVICE_PORT**: DBAAS service port that will be injected into the xApp config ## Configurations Environment variables: @@ -32,25 +28,9 @@ Environment variables: ## Run the API server ```bash -python3 -m xapp_onboarder.server.server -``` -Or we recommend you can set up the symbolic link in your PATH -```bash -ln -s $(pip show xapp_onboarder | grep Location | awk '{printf $2 "/xapp_onboarder/xapp_onboarder"}') /usr/local/bin/xapp_onboarder -``` -Then you can run the server -```bash xapp_onboarder ``` ## Run the CLI tool ```bash -python3 -m xapp_onboarder.server.cli -``` -Or we recommend you can set up the symbolic link in your PATH -```bash -ln -s $(pip show xapp_onboarder | grep Location | awk '{printf $2 "/xapp_onboarder/cli"}') /usr/local/bin/cli -``` -Then you can run the server -```bash cli ```