/resource returns 404 should probably be list of resource types

Bug #1423990 reported by Chris Dent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
Fix Released
Wishlist
Romain Soufflet

Bug Description

/resource returns 404 but /resource/instance returns [] (empty JSON list).

This breaks the discoverability of the API.

Looks like this is a TODO for ResourcesController in gnocchi/rest/__init__.py

Julien Danjou (jdanjou)
Changed in gnocchi:
importance: Undecided → Wishlist
Julien Danjou (jdanjou)
Changed in gnocchi:
status: New → Triaged
status: Triaged → Confirmed
Changed in gnocchi:
assignee: nobody → Romain Soufflet (romain-s)
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/169294

Changed in gnocchi:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (master)

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

commit f1670f8963ee0681a6fcebc797d39374b206e53f
Author: Romain Soufflet <email address hidden>
Date: Wed Apr 1 17:39:54 2015 +0200

    rest: Add list of resources types URL on /v1/resource

    Change-Id: I8fce7c897ae49413b405883d05eada1b2c9bbfcf
    Closes-Bug: #1423990

Changed in gnocchi:
status: In Progress → Fix Committed
Julien Danjou (jdanjou)
Changed in gnocchi:
milestone: none → 1.0.0rc1
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.