Hi Eswar,
The heat API was not listed yet, it requires multiple steps.
You can try with following URI prefix for heat APIs:
http://onap-multi-service:80/api/multicloud-ocata/v0/vimid/orchestration/v1/<project-id>
So to list the stack, you can refer to following commands:
export MULTICLOUD_PLUGIN_ENDPOINT=
http://onap-multi-service:80/api/multicloud-ocata/v0/radisys_mec
curl -v -s -H "Content-Type: application/json" -X POST -d '{"auth":
{"tenantName": "<your tenant name>", "passwordCredentials": {"username": "<your
username>", "password": "<your password>"}}}'
$MULTICLOUD_PLUGIN_ENDPOINT/identity/v2.0/tokens
export TOKEN= <TOKEN returned by issuing command above>
export PROJECT_ID = <your project id>
curl -v -s -H "Content-Type: application/json" -H "X-Auth-Token: $TOKEN" -X
GET $MULTICLOUD_PLUGIN_ENDPOINT/orchestration/v1/$PROJECT_ID/stacks
Best Regards,
Bin Yang, Solution Readiness Team, Wind River
Direct +86,10,84777126 Mobile +86,13811391682 Fax +86,10,64398189
Skype: yangbincs993
From: [email protected]
[mailto:[email protected]] On Behalf Of ESWAR RAO
Sent: Monday, January 15, 2018 4:47 PM
To: [email protected]
Subject: [onap-discuss] [Multicloud] Heat not getting listed in swagger url
Hi All,
Can some one please help me in en-listing HEAT with multicloud for a registered
VIM.
I have summarized the issue.
When we issue request as per online documentation,
http://onap.readthedocs.io/en/latest/submodules/multicloud/framework.git/docs/Multicloud-Fake_Cloud-Guide.html
http://onap.readthedocs.io/en/latest/submodules/multicloud/framework.git/docs/MultiCloud-Test-Guide.html#list-instance-of-users-project
http://
onap-multi-service:80/api/multicloud-ocata/v0/vimid/nova/323b4f23d58143d29a81cd4adb6ade3b/servers/
HTTP/1.1 500 Internal Server Error
Server: openresty
Date: Mon, 15 Jan 2018 07:06:14 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Cookie
X-Frame-Options: SAMEORIGIN
Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
response
{"error":"invalid cached metadata"}
When we issue request as per swagger gui, it works. (Attached)
Eventhough HEAT is installed on the VIM, it is not listed in the swagger and I
am getting the below error
http://
onap-multi-service:80/api/multicloud-ocata/v0/radisys_mec/323b4f23d58143d29a81cd4adb6ade3b/stacks/
HTTP/1.1 404 Not Found
Server: openresty
…
<p>
Using the URLconf defined in <code>ocata.urls</code>,
Django tried these URL patterns, in this order:
</p>
…..
<p>The current URL,
<code>api/multicloud-ocata/v0/radisys_mec/323b4f23d58143d29a81cd4adb6ade3b/stacks/</code>,
didn't match any of these.</p>
Thanks
Eswar Rao
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss