POSTing a counter to /v2/meters/something responds 200 on success should be 201
Bug #1428202 reported by
Chris Dent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
Lena Novokshonova |
Bug Description
When making a POST to add a sample to a meter at /v2/meters/
- name: post counter to meter
url: /v2/meters/apples
method: POST
request_
data:
- counter_name: apples
status: 201 # gets 200, but should be 201
Changed in ceilometer: | |
assignee: | nobody → Lena Novokshonova (enovokshonova) |
Changed in ceilometer: | |
status: | New → In Progress |
Changed in ceilometer: | |
importance: | Undecided → Low |
Changed in ceilometer: | |
milestone: | none → kilo-3 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/162076 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=6023a2233e8 b13e672a1409b5c 96bc4a53d5d114
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6023a2233e8b13e 672a1409b5c96bc 4a53d5d114
Author: Lena Novokshonova <email address hidden>
Date: Fri Mar 6 13:14:52 2015 +0400
Fix response POST /v2/meters/ (meter_ name) to 201 status
When making a POST to add a sample to a meter at /v2/meters/ something
the response is 200. It should be 201. This patchset fixes it.
Closes-bug: #1428202
Change-Id: I0a938f023c3bc0 267d0b1566ab689 786ea0e41b0