It seem to me OS-KSCATALOG-admin.pdf need to be updated...the json I got different from you have in curl call bellow, as from .pdf doc:
{
"OS-KSCATALOG:endpointTemplate":{
"id":12,
}
}
thanks,
Jenny
________________________________________
From: <email address hidden> [<email address hidden>] on behalf of Yogeshwar [<email address hidden>]
Sent: Tuesday, November 29, 2011 11:44 AM
To: Jenny Vo
Subject: [Bug 897719] Re: Add Endpoint to tenant method not working for json
Hi Jenny
I tried the call and it works.This is my curl.Could you check again?
Hi Yogi,
It seem to me OS-KSCATALOG- admin.pdf need to be updated...the json I got different from you have in curl call bellow, as from .pdf doc:
{ endpointTemplat e":{
"OS-KSCATALOG:
"id":12,
}
}
thanks, _______ _______ _______ _______ _____
Jenny
_______
From: <email address hidden> [<email address hidden>] on behalf of Yogeshwar [<email address hidden>]
Sent: Tuesday, November 29, 2011 11:44 AM
To: Jenny Vo
Subject: [Bug 897719] Re: Add Endpoint to tenant method not working for json
Hi Jenny
I tried the call and it works.This is my curl.Could you check again?
curl -X POST http:// localhost: 35357/v2. 0/tenants/ 1/OS- KSCATALOG: endpointTemplat e\": {\"id\": 1f24-466a- a879-0f8a515c94 f2"
KSCATALOG/endpoints -d "{\"OS-
\"12\"}}" -H "content-type: application/json" -H "X-Auth-Token:
5a385f5f-
** Changed in: keystone
Status: New => Invalid
-- /bugs.launchpad .net/bugs/ 897719
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
Add Endpoint to tenant method not working for json
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
Add Endpoint to tenant is not working for json form as example below:
POST http:// localhost: 35357/v2. 0/tenants/ 4/OS-KSCATALOG/ endpoints HTTP/1.1 a378-4234- 8525-4b9d61b768 4b json;charset= UTF-8 HttpClient/ 3.1
Accept-Encoding: gzip,deflate
X-Auth-Token: 9da3dca9-
Accept: application/xml
Content-Type: application/
User-Agent: Jakarta Commons-
Host: localhost:35357
Content-Length: 49
{ :endpointTempla te":{
"OS-KSCATALOG
"id":12,
}
}
response:
{"badRequest": {
"message": "Cannot parse endpointTemplate",
"code": "400",
"details": "Expecting property name: line 4 column 1 (char 45)"
}}
Note, the xml is working.
GET - endpoint for tenant seem not yet implemented.
To manage notifications about this bug go to: /bugs.launchpad .net/keystone/ +bug/897719/ +subscriptions
https:/