Bug 1165503 - [RFE][ceilometer]: Declarative HTTP API Tests
Summary: [RFE][ceilometer]: Declarative HTTP API Tests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Upstream M2
: 7.0 (Kilo)
Assignee: Eoghan Glynn
QA Contact: Yurii Prokulevych
URL: https://blueprints.launchpad.net/ceil...
Whiteboard: upstream_milestone_kilo-2 upstream_de...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-19 05:04 UTC by RHOS Integration
Modified: 2015-08-05 13:16 UTC (History)
5 users (show)

Fixed In Version: openstack-ceilometer-2015.1.0-2.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-05 13:16:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description RHOS Integration 2014-11-19 05:04:48 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/declarative-http-tests.

Description:

This spec proposes a suite of "grey-box" tests for the Ceilometer HTTP API that are driven by one or several human-readable text files that declare URL requests alongside expected responses. These tests will provide end to end tests of API endpoints that in addition to confirming the functionality of the API will provide a cogent and readable overview of the HTTP API.

Specification URL (additional information):

https://github.com/openstack/ceilometer-specs/blob/master/specs/kilo/declarative-http-tests.rst

Comment 6 Yurii Prokulevych 2015-07-21 08:43:07 UTC
Running test manually:
gabbi-run X.X.X.X:8777 < /usr/lib/python2.7/site-packages/ceilometer/tests/gabbi/gabbits/alarms.yaml                                                      
... ✓ list alarms none: Lists alarms, none yet exist
... o try to PUT an alarm: what does PUT do
        [expected failure]
... o createAlarm: Creates an alarm.
        [expected failure]
... ✓ showAlarm: Shows information for a specified alarm.
... ✓ updateAlarm: Updates a specified alarm.
... ✓ showAlarmHistory: Assembles the history for a specified alarm.
... ✓ updateAlarmState: Sets the state of a specified alarm.
... ✓ list alarms for data: Lists alarms, only one
... ✓ showAlarmState: Gets the state of a specified alarm.
... ✓ list alarms one: Lists alarms, only one
... ✓ deleteAlarm: Deletes a specified alarm.
... ✓ list alarms none end: Lists alarms, none now exist

----------------------------------------------------------------------
Ran 12 tests in 0.659s

OK (expected failures=2)

Comment 8 errata-xmlrpc 2015-08-05 13:16:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548


Note You need to log in before you can comment on or make changes to this bug.