Simple command to test DMAAP pub/sub
Code Block |
---|
|
root@oom-rancher:~/oom/kubernetes# curl -X POST -H 'Content-Type: application/json' -d @/tmp/sdc-controllers-config.json http://10.12.6.110:30227/events/unauthenticated.VES_MEASUREMENT_OUTPUT
{
"serverTimeMs": 0,
"count": 1
}
root@oom-rancher:~/oom/kubernetes# curl http://10.12.6.110:30227/events/unauthenticated.VES_MEASUREMENT_OUTPUT/group1/C1?timeout=50000
|
Code Block |
---|
language | bash |
---|
title | List DMAAP Topics |
---|
linenumbers | true |
---|
collapse | true |
---|
|
xuyang11@pod-onap-01-vjhost:~/Integration/onap1.1$ curl http://{{dmaap_ip}}:3904/topics
{"topics": [
"ECOMP-PORTAL-OUTBOX-APP1",
"ECOMP-PORTAL-OUTBOX-POL1",
"SDC-DISTR-STATUS-TOPIC-AUTO",
"msgrtr.apinode.metrics.dmaap",
"APPC-CL",
"PDPD-CONFIGURATION",
"POLICY-CL-MGT",
"SDC-DISTR-NOTIF-TOPIC-SDC-OPENSOURCE-ENV1",
"unauthenticated.CL_OUTPUT",
"SDC-DISTR-NOTIF-TOPIC-AUTO",
"unauthenticated.SEC_MEASUREMENT_OUTPUT",
"SDC-DISTR-STATUS-TOPIC-SDC-OPENSOURCE-ENV1",
"ECOMP-PORTAL-OUTBOX-VID1",
"ECOMP-PORTAL-INBOX",
"ECOMP-PORTAL-OUTBOX-SDC1",
"unauthenticated.TCA_EVENT_OUTPUT",
"DCAE-CL-EVENT",
"APPC-TEST2",
"APPC-TEST1",
"ECOMP-PORTAL-OUTBOX-DBC1"
]} |
...