Commit Graph

23 Commits

Author SHA1 Message Date
akhiljain23 8ec3b67b77 Add support for using Falcon 2.0.0
Falcon 2.0.0 introduces some breaking changes. The relevant ones here are:

- falcon.testing.TestCase.api property was removed
- falcon.testing.TestBase class was removed

This commit also switches the project to use stestr, update sphinx dependency
and add lower-constraints job

Change-Id: I34255a603c069ed3b1e52017634ff01147473221
Story: 2005695
Task: 35688
2019-07-12 06:39:15 +00:00
Doug Hellmann a9ca4bf8c7 uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Additionally:
* remove lower constraint for oslo.config
* remove lower constraint and exclusion for reno

Change-Id: I187a6bd4eedcc139383efc25b6dbffe1c8cd39bc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-23 15:00:04 +02:00
Artur Basiak 620a477df0 Add events endpoint
Provide basic endpoint:
/v1.0/events/
/healthcheck
/version
Endpoint reads request and returns HTTP code 200.
Provide code to run application in gunicorn mode.

Story: 2001112
Task: 4863

Change-Id: Ic7c344360b5acec5af7751a825e2dff8346cf1f7
Depends-On: I18d9f4ec543c76bfe1311ed1ee940827d4162298
2017-12-18 13:42:02 +01:00
Artur Basiak 32c4560c3b Provide oslo.policies
Add policies to the api based on oslo.policies.
Small changes in documentation. Provide generator for
sample policies file.
Add policies for agent and admin.

Story: 200112
Task: 4807

Depends-On: I76d737bf9d1216b041bc1a518cc2098f28e7da7b
Change-Id: Idf5c4ec1b663ad9ed3ab25744bdf0b7f28cdb1a2
2017-08-01 13:24:09 +02:00
Tomasz Trębski 5321635049 Preparing infrastructure for events-api
Following change aims at setting up the
tooling for events-api againts latest
requirements and guideliness from OpenStack.
Removing old code , add basic structure of the python
modules. Add basic documentation and release notes.
Prepare to use oslo-config-generator.
Add devstack basic setup to the project.

Story: 2001112
Task: 4798

Change-Id: I76d737bf9d1216b041bc1a518cc2098f28e7da7b
2017-07-12 12:08:35 +02:00
root 15fc03258c added missing greenlet in req 2015-08-04 16:13:33 +00:00
SamKirsch10 ded95f0714 fixed requirements 2015-07-22 10:49:29 -06:00
SamKirsch10 5b23c97de7 added versions to api and updated requirements falcon==0.2.0 2015-07-21 13:08:57 -06:00
Joe Keen c896672c61 Added oslo.log to requirements 2015-06-25 16:16:37 -06:00
SamKirsch10 2ba6af8eab added transform test and updated requirements 2015-06-12 15:02:49 -06:00
Joe Keen ca838cbbcc Upgrade to Falcon 0.2 2015-05-01 13:55:49 -06:00
Joe Keen f70b50135a Updated requirements
Removed extra requirements files
2015-05-01 13:09:19 -06:00
Joe Keen 3c0c2e6b9e Refactorig API structure
Replaced stevedore with simport

Updated documentation
Updated config files for simport
Updated config defaults for simport
2015-04-30 13:35:42 -06:00
Joe Keen a4154ea85f Added two GET api methods for events
Change-Id: I5fdbee17dd7c1b171b6cd099537d33b8146400ef
2015-04-20 13:57:33 -06:00
cindy oneill 6db717e919 creation_time to use utc timestamp for metrics and events
Change-Id: I7862f0a0e268dabe62a9da0700965cef17dc1fe0
2015-02-20 10:37:03 -07:00
Jenkins 4c54a95d54 Merge "Integrating monasca-api with keystonemiddleware" 2015-02-12 18:31:30 +00:00
henriquetruta ccdb3e1806 Integrating monasca-api with keystonemiddleware
Adds the possibility of authenticating through keystone-middleware
and creates a Keystone Context after validating the token.

Both v3 and v2 tokens are valid, once the user has a valid role
on the project/tenant he's scoped. The default_authorized_roles property
in monasca.conf must be updated if another user should have API full access.

Change-Id: Iacd66cd2868cd44a5ab1b2a3f80fa38c7e0bb6da
2015-02-12 10:00:28 -07:00
Craig Bryant eaf7b43719 Limit the changes that can be made to Alarm Definition
Changing the metrics that would match an Alarm Definition would invalidate
already created Alarms so don't allow that type of change. Changes
to match-by or the metrics in sub expressions or the number of
sub expressions is not allowed

Also, added some more dependencies to requirements.txt

Change-Id: I3375e647516f77ea4ba003edecde1871f17f8af8
2015-02-11 12:17:01 -07:00
Tong Li 89383b08be implementation specific requirement files
current requirements.txt file lists all the dependency files
which will install libraries which are not needed if one choose
to use a different implementation. For example, one can use
v2 reference implementation or elastic search implementation.
not having separate files, one will install many libraries.
For elastic search implementation, one will not wish to install
influxdb dependencies. But without separate requirement files,
it won't be possible to do that. With this change, one can
simply use implementation specific requirement file to
accomplish that. To install v2 reference implementation, simply
run this command:
   pip install -r requirements.txt -r ref-impl-requirements.txt

To install elastic search implementation, simply run this command:
   pip install -r requirements.txt -r es-impl-requirements.txt

Change-Id: I59cd53f934237a76545975361c2d41415e17fa05
2014-12-09 09:08:25 -05:00
Deklan Dieterly 2247c20ebb Switch to MySQLdb
Use MySQLdb instead of pyodbc.

Change-Id: I8f677dc708f262143bc0f6deb5b074a8e88cf748
2014-11-18 15:19:29 -07:00
Deklan Dieterly 71c9acb1cc Add alarm history resource
Change-Id: Ic19c09cc0808c994cadfb7e3c7680dd58438852d
2014-11-17 15:38:47 -07:00
Deklan Dieterly 30a411cff9 Add alarm definition delete resource
Change-Id: If9a1b2c7b068056f352b41787922e6f7caa8b638
2014-11-05 13:31:01 -07:00
Tong Li ed99a4edb3 initial python implementation
Change-Id: I25ca78414cd26340a4a640cb4f9ee92dda650037
2014-09-15 13:18:10 -04:00