summaryrefslogtreecommitdiffstats
path: root/docs/cps-events.rst
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2022-10-04 08:56:03 +0000
committerGerrit Code Review <gerrit@onap.org>2022-10-04 08:56:03 +0000
commit67d6f6ba1e4fdcda171c6fe8e30248adaaf6d543 (patch)
tree91105bd3b7d7d5f48b6b303c9df03f5fbe5119f7 /docs/cps-events.rst
parent8c6b5627652a4f3b4926b8c425e4c1036ac1e570 (diff)
parent52950bd82f680261458c082bd6d592fb4a14de12 (diff)
Merge "Async External Schema and related Read the doc"
Diffstat (limited to 'docs/cps-events.rst')
-rw-r--r--docs/cps-events.rst39
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/cps-events.rst b/docs/cps-events.rst
index dce1a30feb..df37de3632 100644
--- a/docs/cps-events.rst
+++ b/docs/cps-events.rst
@@ -11,6 +11,45 @@ CPS Events
CPS-NCMP
********
+Async events are triggered when a valid topic has been detected in a passthrough operation.
+
+:download:`NCMP request response event schema <schemas/ncmp-async-request-response-event-schema-v1.json>`
+
+Event header
+^^^^^^^^^^^^^
+
+.. code-block:: json
+
+ {
+ "eventId" : "001",
+ "eventCorrelationId" : "cps-001",
+ "eventTime" : "2022-09-28T12:24:21.003+0000",
+ "eventTarget" : "test-topic",
+ "eventType" : "org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent",
+ "eventSchema" : "urn:cps:org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent:v1",
+ "forwarded-Event" : { ... }
+ }
+
+Forwarded-Event Payload
+^^^^^^^^^^^^^^^^^^^^^^^
+
+.. code-block:: json
+
+ "Forwarded-Event": {
+ "eventId" : "002",
+ "eventCorrelationId" : "cps-001",
+ "eventTime" : "2022-09-28T12:24:18.340+0000",
+ "eventTarget" : "test-topic",
+ "eventType" : "org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent",
+ "eventSchema" : "urn:cps:org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent:v1",
+ "eventSource" : "org.onap.cps.ncmp.dmi",
+ "response-data-schema" : "urn:cps:org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent:v1",
+ "response-status" : "OK",
+ "response-code" : "200",
+ "response-data" : { ... }
+ }
+
+
Lifecycle Management (LCM) Event
================================