Name alignment, agent to a1pms, in test env
[nonrtric.git] / test / mrstub / README.md
index 171b4f4..202c1e5 100644 (file)
@@ -1,7 +1,7 @@
-# mrstub - stub interface to interact with the policy agent over Dmaap
+# mrstub - stub interface to interact with the A1PMS over Dmaap
 
 The mrstub is intended for function tests to simulate a message router.
-The mrstub exposes the read and write urls, used by the agent, as configured in consul.
+The mrstub exposes the read and write urls, used by the a1pms, as configured in consul.
 In addition, request messages can be fed to the mrstub and the response messages can be read by polling.
 
 ## Ports and certificates
@@ -37,7 +37,7 @@ The control interface can be used by any test script.
 The following REST operations are available:
 
 >Send a message to MR<br>
-This method puts a request message in the queue for the agent to pick up. The returned correlationId (auto generated by the mrstub) is used when polling for the reposone message of this particular request.<br>
+This method puts a request message in the queue for the a1pms to pick up. The returned correlationId (auto generated by the mrstub) is used when polling for the reposone message of this particular request.<br>
 ```URI and parameters (GET): /send-request?operation=<GET|PUT|POST|DELETE>&url=<url>```<br><br>
 ```response: <correlation-id> (http 200) or 400 for parameter error or 500 for other errors```
 
@@ -49,10 +49,10 @@ The method is for polling of messages, returns immediately containing the receiv
 >Metrics - counters<br>
 There are a number of counters that can be read to monitor the message processing. Do a http GET on any of the current counters and an integer value will be returned with http response code 200.
 ```/counter/requests_submitted``` - The total number of requests sent from the application<br>
-```/counter/requests_fetched``` - The total number of requests picked up by the agent<br>
-```/counter/responses_submitted``` - The total number of responses written by the agent<br>
+```/counter/requests_fetched``` - The total number of requests picked up by the a1pms<br>
+```/counter/responses_submitted``` - The total number of responses written by the a1pms<br>
 ```/counter/responses_fetched``` - The total number of responses picked up by the application<br>
-```/counter/current_requests``` - The current number of requests waiting to be picked up by the agent<br>
+```/counter/current_requests``` - The current number of requests waiting to be picked up by the a1pms<br>
 ```/counter/current_responses``` - The current number of responses waiting to be picked up by the application<br>
 
 ### Build and start