Comment 2 for bug 1312146

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (master)

Reviewed: https://review.openstack.org/91554
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=b8a3fe54c06c7e04314d39da80b5964a589356f0
Submitter: Jenkins
Branch: master

commit b8a3fe54c06c7e04314d39da80b5964a589356f0
Author: Artur Svechnikov <email address hidden>
Date: Thu May 1 17:00:26 2014 +0400

    Add methods to resource classes

    Resource classes of managers should have methods
    like delete() and get(). Basicly base.Resource
    class has method get(), which uses id attribute,
    but classes Alarm, Event, etc. have no this attribute.
    Added intercept getting of id in the resource classes.
    Also added catch of HTTPNotFound for alarm get()
    because it affects correct functionality of
    scenario tests.

    Closes-Bug: #1312146
    Change-Id: Ie598b73c64dece2185955467936dc6544a8a3dc7