summaryrefslogtreecommitdiffstats
path: root/docs/message-router/message-router.rst
diff options
context:
space:
mode:
authorrn509j <rn509j@att.com>2017-10-16 12:10:35 -0400
committerrn509j <rn509j@att.com>2017-10-16 12:14:19 -0400
commitf3571166c018ed6bbfaf449d0b0ef78c753ac358 (patch)
tree58a614e2b8bdec95b034b44a261918601451998c /docs/message-router/message-router.rst
parent65c8c7537ef3cd765c7c13bbccf7f4421154fa32 (diff)
modified the document to remove errors
DMAAP-149 Signed-off-by: rn509j <rn509j@att.com> Change-Id: I563ae63f2724cbd0c973d61f106ffa3a81deabc8
Diffstat (limited to 'docs/message-router/message-router.rst')
-rw-r--r--docs/message-router/message-router.rst31
1 files changed, 13 insertions, 18 deletions
diff --git a/docs/message-router/message-router.rst b/docs/message-router/message-router.rst
index d8c597b..8bc94b2 100644
--- a/docs/message-router/message-router.rst
+++ b/docs/message-router/message-router.rst
@@ -33,15 +33,11 @@ HTTP URL
http[s]://Username:Password@serverBaseURL{/routing}{resourcePath}
-- The Username:Password utilizes HTTP Basic Authentication and HTTPS/TLS
-to securely transmit the authorization and authentication credentials
-that AAF needs to validate the client's access to the requested
-resource.
-- The serverBaseURL points to DMaaP Message Router host/port that will
-service the request. Optionally DME2 service end points for Message
-Router can be used.
-- The resourcePath specifies the specific service, or Topic, that the
-client is attempting to reach
+- The Username:Password utilizes HTTP Basic Authentication and HTTPS/TLS to securely transmit the authorization and authentication credentials that AAF needs to validate the client's access to the requested resource.
+
+- The serverBaseURL points to DMaaP Message Router host/port that will service the request. Optionally DME2 service end points for Message Router can be used.
+
+- The resourcePath specifies the specific service, or Topic, that the client is attempting to reach
HTTP Header
===========
@@ -97,7 +93,7 @@ Request Parameters
==================
+--------------------------+---------------------------------+------------------+------------+-----------+-------------+--------------------------------+-----------------------------+
-| Name | Description | Param Type | Data type | Max Len | Req’d | Format | Valid/EXample values |
+| Name | Description | Param Type | Data type | Max Len | Required | Format | Valid/EXample values |
+==========================+=================================+==================+============+===========+=============+================================+=============================+
| Topicname | topic name to be posted | Path | String | 40 | Y | <app namespace>.<topicname> | org.onap.crm.empdetails |
+--------------------------+---------------------------------+------------------+------------+-----------+-------------+--------------------------------+-----------------------------+
@@ -210,28 +206,27 @@ Request URL:
GET http(s)://{HOST:PORT}}/events/{topicname}/{consumegroup}/{consumerid}/{timeout=x}
Request Parameters:
-==================
+===================
+-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
-| Name | Description | Param Type | data type | MaxLen | Req’d | Format | Valid/Example Values |
+| Name | Description | Param Type | data type | MaxLen | Required | Format | Valid/Example Values |
+=============+=================================+==================+============+==============+=============+=============+=================================================+
| Topicname | topic name to be posted | Path | String | 40 | Y | namespace. | |
| | | | | | | String | |
-+-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
++-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
|Consumergroup| A name that uniquely identifies | Path | String | | | | |
-| | your subscriber's | | | | Y | | CG1 |
+| | your subscribers | | | | Y | | CG1 |
+-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
-| consumerId | Within your subscriber's group, | | | | | | |
+| consumerId | Within your subscribers group, | | | | | | |
| | a name that uniquely identifies | Path | String | | y | | C1 |
-| | your subscriber's process | | | | | | |
-+-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
+| | your subscribers process | | | | | | | +-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
| content-type| To specify type of message | | | | | |aplication/json |
| | content(json,text or cambria) | Header | String | 20 | N | | |
+-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
|Username | userid | Header | String | 1 | N | | |
+-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
| Password | | Header | String | 1 | N | | |
-+-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
++-------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-------------------------------------------------+
**NOTE1**:Subscribers /user should have access on the topics. The user () and
permissions details needs to be in AAF.