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.
Reviewed: https:/ /review. openstack. org/91554 /git.openstack. org/cgit/ openstack/ python- ceilometerclien t/commit/ ?id=b8a3fe54c06 c7e04314d39da80 b5964a589356f0
Committed: https:/
Submitter: Jenkins
Branch: master
commit b8a3fe54c06c7e0 4314d39da80b596 4a589356f0
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 2185955467936dc 6544a8a3dc7
Change-Id: Ie598b73c64dece