Comment 5 for bug 897719

Revision history for this message
Jenny Vo (jenny-vo) wrote : RE: [Bug 897719] Re: Add Endpoint to tenant method not working for json

yes, tried without comma and 12 have to be in "12" it worked...so, document (.pdf) should be updated.

Thanks,
Jenny
________________________________________
From: <email address hidden> [<email address hidden>] on behalf of Yogeshwar [<email address hidden>]
Sent: Tuesday, November 29, 2011 3:12 PM
To: Jenny Vo
Subject: [Bug 897719] Re: Add Endpoint to tenant method not working for json

I have removed the extra comma from the samples.Could

{
"OS-KSCATALOG:endpointTemplate":{
"id":12,=> additional comma
}
}

Could you try and let me know?
Thanks

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/897719

Title:
  Add Endpoint to tenant method not working for json

Status in OpenStack Identity (Keystone):
  Confirmed

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
  Accept-Encoding: gzip,deflate
  X-Auth-Token: 9da3dca9-a378-4234-8525-4b9d61b7684b
  Accept: application/xml
  Content-Type: application/json;charset=UTF-8
  User-Agent: Jakarta Commons-HttpClient/3.1
  Host: localhost:35357
  Content-Length: 49

  {
  "OS-KSCATALOG:endpointTemplate":{
  "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:
https://bugs.launchpad.net/keystone/+bug/897719/+subscriptions