Hi Aniello,
For unauthenticated topic creation, we need to prefix the topic name with
"unauthenticated."
{
"topicName" : "unauthenticated.org.onap.dmaap.mr.testtopic" ,
"description" : "This is a test Topic" ,
"partitionCount" : "1" ,
"replicationCount" : "3" ,
"transactionEnabled" : "true"
}
For authenticated topics the user must have the correct AAF permissions.
*NOTE* : To Create an authenticated topic, user must have the AAF permission
org.onap.dmaap.mr.topicFactory|:org.onap.dmaap.mr.topic:org.onap.dmaap.mr|create
If a user posts an event to a non existing topic, MR will auto create it.
https://{{MR_HOST}}: {{MR_PORT}} /events/AAI_EVENT
Hope this clears things up.
Fiachra
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23392): https://lists.onap.org/g/onap-discuss/message/23392
Mute This Topic: https://lists.onap.org/mt/84173712/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-