...
WIP- CPS-1613 Explore the Test Plan Scenarios for Kafka related use cases
Assumptions
# | Assumption | Notes | Decisions |
---|
1 | The validation metric | The current validation metrics are "eventSource" and "eventSchema" |
|
2 |
|
|
|
Issues & Decisions
# | Issue | Notes | Decisions |
---|
1 | What 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 |
---|
language | text |
---|
title | CM 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"
}
}
]
}' |
...