From the api it is possible to GET resource history on all the resources but not one. It should be.

Bug #1479819 reported by Chris Dent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
Fix Released
Low
Mehdi Abaakouk

Bug Description

You can GET /v1/resources/generic?history=true and you can do a POSTed search to get get history on a single resource

But you can't /v1/resources/instance/<some id>?history=true

That should be possible (I find I want it all the time).

Mehdi Abaakouk (sileht)
Changed in gnocchi:
assignee: Chris Dent (chdent) → Mehdi Abaakouk (sileht)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gnocchi (master)

Fix proposed to branch: master
Review: https://review.openstack.org/216653

Changed in gnocchi:
status: New → In Progress
Julien Danjou (jdanjou)
Changed in gnocchi:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (master)

Reviewed: https://review.openstack.org/216653
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=22a13902c025da1aabae922f942341ac3430a0cb
Submitter: Jenkins
Branch: master

commit 22a13902c025da1aabae922f942341ac3430a0cb
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Aug 25 11:44:55 2015 +0200

    rest: implements /resource/generic/UUID/history

    This change allows to get the history of one resource via the
    /resource/generic/UUID/history instead of doing a search in the whole
    resources list.

    Change-Id: Ia282b5026c4d4211bf5e4dcc252c31bf734b0fe6
    Closes-bug: #1479819

Changed in gnocchi:
status: In Progress → Fix Committed
Julien Danjou (jdanjou)
Changed in gnocchi:
milestone: none → 1.2.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.