Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WIP- CPS-1613 Explore the Test Plan Scenarios for Kafka related use cases

Assumptions

#AssumptionNotesDecisions
1The validation metricThe current validation metrics are "eventSource" and "eventSchema"
2


Issues & Decisions

#IssueNotesDecisions
1What could be the best validation metric for that LCM of CM handles?Is it possible to count the total messages published into the topic "ncmp-events" as well?
2



Overview

Topic:ncmp-events
Flow Path:NCMP to External Clients
Trigger:CURL Request- LCM CM Handle- Registration
Frequency:



The CURL Request:


Code Block
languagetext
titleCM Handle Registration CURL
		curl --location 'http://localhost:8883/ncmpInventory/v1/ch' \
		--header 'Content-Type: application/json' \
		--header 'Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=' \
		--header 'Cookie: JSESSIONID=node0m0pehau5f3be1ly3jmq2yeib70.node0' \
		--data '{
				"dmiDataPlugin":"dminame1",
				"dmiModelPlugin":"x",
				"createdCmHandles": [
						{
								"cmHandle": "CMHandle1",
								"cmHandleProperties": {
										"Books": "Social Media"
								},
								"publicCmHandleProperties": {
										"Color": "yellow",
										"Size": "small",
										"Shape": "cube"
								}
						},
						{
								"cmHandle": "CMHandle2",
								"cmHandleProperties": {
										"Books": "Novel"
								},
								"publicCmHandleProperties": {
										"Color": "blue",
										"Size": "medium",
										"Shape": "square"
								}
						}
				]
		}'

...