Policy Drool Dmaap Pooling #dmaap #policy #drools


minsang.yoon@...
 

I am trying to trigger the policy by sending the event to Dmaap 'unauthenticated.DCAE_CL_OUTPUT' topic. I expected to see log from drool that subscribe this topic, but I cannot see any log for that even when I generate the event to Dmaap manually.

I was trying to send the event to drool directly using "
https://10.0.117.22:30221/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_CL_OUTPUT/events" API but it is rejected with below message.

{
"error": "unauthenticated.DCAE_CL_OUTPUT not acceptable due to current state"
}

Anyone knows what is the issue for this case?


Jorge Hernandez
 

Hello,

Try changing "ueb" to dmaap, for example:

http --verify=no -a "${TELEMETRY_USER}:${TELEMETRY_PASSWORD}" PUT https://localhost:9696/policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events @./dcae.vdns.onset.json Content-Type:'text/plain'

Jorge