Hi Lathish,

I tried with both users, but same issue. There is no logs in aai-resources pod 
and dev-aaf-aaf-locate pod running fine.

Tried with username: [email protected]<mailto:[email protected]> pwd: 
demo123456! Also , no change.

Should I need to add/configure anything in the AAI/AAF?


Thanks & Regards,
Thamlur Raju.

From: Lathishbabu Ganesan <[email protected]>
Sent: Thursday, July 4, 2019 9:20 PM
To: [email protected]; Thamlur Raju <[email protected]>
Subject: RE: [onap-discuss][AAI] AAI got access denied (403)

Hi Raju,

This worked for me in almost all the labs I have worked,

curl  -k --user VID:VID -H "Accept: application/json" -H "Content-Type: 
application/json" -H "X-TransactionId: 1234" -H "X-FromAppId: 1234" 
https://aai.api.simpledemo.onap.org:8443/aai/v14/cloud-infrastructure/cloud-regions/<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faai.api.simpledemo.onap.org%3A8443%2Faai%2Fv14%2Fcloud-infrastructure%2Fcloud-regions%2F&data=02%7C01%7CTR00568434%40TechMahindra.com%7Ce861eab2a4be4316337f08d7009751f6%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C636978522239878525&sdata=wvVy9dmxo1GscSrRGv98PrL3oTIRDfWQQvcoUgn4B8o%3D&reserved=0>

if it fails, give a try with user 
[email protected]:demo123456<mailto:[email protected]:demo123456>!

/Lathish

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Thamlur Raju via Lists.Onap.Org
Sent: Thursday, July 4, 2019 3:38 PM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss][AAI] AAI got access denied (403)

Hi AAI Team,

I am using the Dublin release of AAI, when I am trying to access the API by 
curl command, it is giving error, as shown in below.


url:

curl -X GET -k -H 'Accept: application/json' -H 'Content-Type: 
application/json' -H 'x-FromAppId: SO' -H 'X-TransactionId: get_aai_subscr' -H 
'Authorization: Basic QUFJOkFBSQ==' -i 
'https://aai.api.simpledemo.onap.org:8443/aai/v14/cloud-infrastructure/cloud-regions/'

response:

HTTP/1.1 403 Forbidden
Connection: close
Date: Thu, 04 Jul 2019 14:30:36 GMT
Content-Type: application/json;charset=utf-8
Strict-Transport-Security: max-age=16000000; includeSubDomains; preload;

{"timestamp":1562250636966,"status":403,"error":"Forbidden","message":"Access 
Denied","path":"/aai/v14/cloud-infrastructure/cloud-regions/"}



Please suggest something on this issue.



Thanks & Regards,
[cid:[email protected]]<http://www.techmahindra.com/>
Thamlur Raju
NS-NDU-OSS
Bengaluru | India
| Ext : 858518


============================================================================================================================
 Disclaimer: This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftim.techmahindra.com%2Ftim%2Fdisclaimer.html&data=02%7C01%7CTR00568434%40TechMahindra.com%7Ce861eab2a4be4316337f08d7009751f6%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C636978522239888537&sdata=cqKe3%2FY1Qpp%2BLumkP5i9RkBGXMK3WFtS0S060rNzXiY%3D&reserved=0>
 internally within TechMahindra. 
============================================================================================================================

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

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

<<attachment: winmail.dat>>

Reply via email to