X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fusecases%2Foruclosedlooprecovery%2Fgoversion%2FREADME.md;h=15c53364f575796c7c1603d7fc8cc3e765a57f5b;hb=3b2f07a98d1d5e2f83aaf05fede3f07379d48b88;hp=b5b93553326b67b7e281d341fa0e42506a9e8527;hpb=0ade79498db21c8db3ecdd96ec30eb006e593acb;p=nonrtric.git diff --git a/test/usecases/oruclosedlooprecovery/goversion/README.md b/test/usecases/oruclosedlooprecovery/goversion/README.md index b5b93553..15c53364 100644 --- a/test/usecases/oruclosedlooprecovery/goversion/README.md +++ b/test/usecases/oruclosedlooprecovery/goversion/README.md @@ -11,7 +11,7 @@ The consumer takes a number of environment variables, described below, as config >- CONSUMER_CERT_PATH **Required**. The path to the certificate to use for https. Defaults to `security/producer.crt` >- CONSUMER_KEY_PATH **Required**. The path to the key to the certificate to use for https. Defaults to `security/producer.key` >- INFO_COORD_ADDR Optional. The address of the Information Coordinator. Defaults to `http://enrichmentservice:8083`. ->- SDNR_ADDRESS Optional. The address for SDNR. Defaults to `http://localhost:3904`. +>- SDNR_ADDR Optional. The address for SDNR. Defaults to `http://localhost:3904`. >- SDNR_USER Optional. The user for the SDNR. Defaults to `admin`. >- SDNR_PASSWORD Optional. The password for the SDNR user. Defaults to `Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U`. >- ORU_TO_ODU_MAP_FILE Optional. The file containing the mapping from O-RU ID to O-DU ID. Defaults to `o-ru-to-o-du-map.csv`. @@ -25,13 +25,16 @@ The configured public key and cerificate shall be PEM-encoded. A self signed cer ## Functionality -The creation of the job is not done when the consumer is started. Instead the consumer provides a REST API where it can be started and stopped, described below. +The creation of the job is not done when the consumer is started. Instead the consumer provides a REST API where it can be started and stopped, described below. The API is available on the host and port configured for the consumer ->- /start Creates the job in ICS. ->- /stop Deletes the job in ICS. +>- /admin/start Creates the job in ICS. +>- /admin/stop Deletes the job in ICS. If the consumer is shut down with a SIGTERM, it will also delete the job before exiting. +There is also a status call provided in the REST API. This will return the running status of the consumer as JSON. +>- /status {"status": "started/stopped"} + ## Development To make it easy to test during development of the consumer, three stubs are provided in the `stub` folder.