ceilometer event list api should prompt valid values when query operator is invalid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
shubham chitranshi |
Bug Description
curl -i -X GET -H 'X-Auth-Token: 8065419986684ee
HTTP/1.0 400 Bad Request
Date: Sat, 03 Jan 2015 19:58:20 GMT
Server: WSGIServer/0.1 Python/2.7.6
Content-Type: application/json
Content-Length: 191
{"error_message": {"debuginfo": null, "faultcode": "Client", "faultstring": "The data type xyz is not supported. The supported data type list is: ['integer', 'float', 'string', 'datetime']"}}
when trait type is invalid, the message is good
but
curl -i -X GET -H 'X-Auth-Token: 8065419986684ee
HTTP/1.0 400 Bad Request
Date: Sat, 03 Jan 2015 19:52:46 GMT
Server: WSGIServer/0.1 Python/2.7.6
Content-Type: application/json
Content-Length: 105
{"error_message": {"debuginfo": null, "faultcode": "Client", "faultstring": "operator xyz is incorrect"}}
when operator is invalid, the message is not so good
Changed in ceilometer: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
Changed in ceilometer: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ceilometer: | |
status: | Triaged → Confirmed |
assignee: | ZhiQiang Fan (aji-zqfan) → shubham chitranshi (chitranshi-shubham) |
Changed in ceilometer: | |
status: | Confirmed → In Progress |
Changed in ceilometer: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | liberty-2 → 5.0.0 |
is this a bug for python- ceilometerclien t ?