Securing the topics using the API Keys is not recommended. Message Router has  
the API keys related API’s only to support the topics that are not yet migrated 
to the authenticated topics( auth/authz using AAF).  You can leverage the DMaaP 
Bus Controller application to provision the topics and the AAF permissions by 
adding a  json file to BusController configuration.

https://wiki.onap.org/display/DW/Authenticated+Topic+Provisioning


Thanks,
Sunil

From: [email protected] <[email protected]> On Behalf Of 
Deng Yuanhong
Sent: Wednesday, May 27, 2020 9:17 AM
To: [email protected]; FREEMAN, BRIAN D <[email protected]>
Cc: SAWANT, MANDAR <[email protected]>
Subject: Re: [onap-discuss] Abount DMaaP REST API

Hi brian,

Thank you very much for your quick response.
By the way, I have downloaded the swagger file from wiki: 
https://onap-doc.readthedocs.io/projects/onap-dmaap-messagerouter-messageservice/en/latest/offeredapis/offeredapis.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__onap-2Ddoc.readthedocs.io_projects_onap-2Ddmaap-2Dmessagerouter-2Dmessageservice_en_latest_offeredapis_offeredapis.html&d=DwMFoQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=t27CRRmn7U12dnOvcSPfcQ&m=Msc15YhJMutjPo15X7TkE3ggnITCsXtUKCMaiZWtsCI&s=ieZgiJf1mLVRpFbwKQf8L7s1dh9atXArNuQXviZOv2M&e=>
However, I can’t find the API to create apiKey. Is the swagger file is latest 
version?  Thanks a lot.

BR,
Yuanhong

发件人: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] 代表 Brian Freeman
发送时间: 2020年5月27日 20:23
收件人: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
抄送: SAWANT, MANDAR
主题: Re: [onap-discuss] Abount DMaaP REST API

Message Router

{{host}}:30226

https://{{host}}:30226<https://urldefense.proofpoint.com/v2/url?u=https-3A__-257b-257bhost-257d-257d-3A30226&d=DwMFoQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=t27CRRmn7U12dnOvcSPfcQ&m=Msc15YhJMutjPo15X7TkE3ggnITCsXtUKCMaiZWtsCI&s=nVM06ystAkjfy8wS6NVbhWTjGhQG0Sl1loayN-_pB_o&e=>

brian


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Deng Yuanhong
Sent: Wednesday, May 27, 2020 4:57 AM
To: [email protected]<mailto:[email protected]>
Cc: SAWANT, MANDAR <[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] Abount DMaaP REST API

Hi DMaaP team,

I try to call DMaap REST APIs to create the apiKey by calling: POST 
http://<hostname>:3904/apiKeys/create<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253chostname-253e-3A3904_apiKeys_create&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=_65sHhpAcVhlUC0xNk2Ig4zE7QINkGiPkBOLGUne3zo&s=Kg8EfCq8FnAaQKGQDPpbLfE8Cdc3prK5rcMfJb-Pd0A&e=>.
However, there is no 3904 port due to HTTPS support in Frankfurt release. Here 
is my environment:

[cid:[email protected]]

I wonder which port I should use instead of 3904. Could you please give me the 
complete URL I should call. Thanks a lot.

Best regards,
Yuanhong




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21179): https://lists.onap.org/g/onap-discuss/message/21179
Mute This Topic: https://lists.onap.org/mt/74496054/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to