X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcr%2FREADME.md;h=e93fd1be1042edaf94ab9b2cb450460742dc2ce5;hb=7f8b77b648ea7b36fe7a785b642a08f67d51f2a6;hp=55c5cc5e64d2a7811d6c02db13cca740cd6e528f;hpb=6f48adb69090799c74c29204dd2cd1737cc9d6ac;p=nonrtric.git
diff --git a/test/cr/README.md b/test/cr/README.md
index 55c5cc5e..e93fd1be 100644
--- a/test/cr/README.md
+++ b/test/cr/README.md
@@ -1,8 +1,8 @@
# callback receiver - a stub interface to receive callbacks
The callback receiver is intended for function tests to simulate a RAPP.
-The callback receiver exposes the read and write urls, used by the agent, as configured in service.
-The callback receiver receives notifications from PMS when synchronization happens between PMS and RICs. However, the callback receiver can be uses to receive any json payload from any source.
+The callback receiver exposes the read and write urls, used by the a1pms, as configured in service.
+The callback receiver receives notifications from A1PMS when synchronization happens between A1PMS and RICs. However, the callback receiver can be uses to receive any json payload from any source.
## Ports and certificates
@@ -23,12 +23,12 @@ The control interface can be used by any test script.
The following REST operations are available:
>Send a message to CR
-This method puts a request message from PMS to notify that sychronization between PMS and certain RIC happens.
+This method puts a request message from A1PMS to notify that synchronization between A1PMS and certain RIC happens.
```URI and payload, (PUT or POST): /callbacks/ ```
```response: OK 200 or 500 for other errors```
>Fetch one message for an id from CR
-This method fetches the oldes message for an id, and removes the message.
+This method fetches the oldest message for an id, and removes the message.
```URI and payload, (GET): /get-event/```
```response: 200 or 500 for other errors```
@@ -37,7 +37,7 @@ This method fetches all message in an array for an id, and removes all messages.
```URI and payload, (GET): /get-all-events/```
```response: 200 or 500 for other errors```
->Dump all currently wating callback messages in CR
+>Dump all currently waiting callback messages in CR
This method fetches all message in an array for an id. Messages are left intact in the CR.
```URI and payload, (GET): /db```
```response: 200```
@@ -67,7 +67,7 @@ file "key.crt" is the key file
file "generate_cert_and_key.sh" is a shell script to generate certificate and key
file "pass" stores the password when you run the shell script
-This certificates/key can be overriden by mounting a volume when using "docker run" or "docker-compose"
+This certificates/key can be overridden by mounting a volume when using "docker run" or "docker-compose"
In 'docker run', use field:
>```-v "$PWD/certificate:/usr/src/app/cert"```
@@ -77,7 +77,7 @@ eg:
In 'docker-compose.yml', use field:
>```volumes: - ./certificate:/usr/src/app/cert:ro```
-The script ```cr-build-start.sh``` do the above two steps in one go. This starts the callback-receiver container in stand-alone mode for basic test.
If the callback-receiver should be executed manually with the agent, replace docker run with this command to connect to the docker network with the correct service name (--name shall be aligned with the other components, i.e. the host named given in all callback urls).
+The script ```cr-build-start.sh``` do the above two steps in one go. This starts the callback-receiver container in stand-alone mode for basic test.
If the callback-receiver should be executed manually with the a1pms, replace docker run with this command to connect to the docker network with the correct service name (--name shall be aligned with the other components, i.e. the host named given in all callback urls).
>```docker run --rm -it -p 8090:8090 -p 8091:8091 --network nonrtric-docker-net --name callback-receiver callback-receiver```
>Start the image on http only