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
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>
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
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
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
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
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
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