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
Martin Chacon Piza
8c0ddb4f4d
Added validations
...
- Empty events list
- Missing content-type or wrong content-type
- Empty body
Change-Id: I5848dd018aee6b9d95bff7be52eece0ac97b2a49
Story: 2003955
Task: 27036
2018-11-19 12:20:45 +00:00
Adrian Czarnecki
3c5e504ede
Refactor devstack-plugin
...
* Make monasca-event-api devstack plugin compatible
with monaca devstack metrics and logs plugins
* Add monasca-ui
* Enable events visualization in kibana
* By default metrics and logs pipelines are disabled
* Change deployment mode from gunicorn to uwsgi
Story: 2003815
Task: 26569
Depends-On: https://review.openstack.org/#/c/593602/
Change-Id: I7efb969d89f0733bf27517d393cd024750e278a7
2018-11-19 11:43:13 +01:00
Martin Chacon Piza
60b86fff4d
Use the tenant_id from context to name the index in ES
...
Story: 2003955
Task: 26881
Change-Id: I17fc5121f30127ed3e53cc6cdaf904820c65dda8
2018-10-11 10:36:27 +02:00
Witold Bedyk
4b33d1b338
Fix body validation for Python 3
...
The API should expect timestamp as text, not binary data.
Change-Id: I07a26c09a19a96907da7210b3fb1544a409b562a
Story: 2003240
Task: 26832
2018-10-01 17:39:48 +02:00
Zuul
29b2d3036a
Merge "Add mechanism that send msg again if request fail"
2018-09-13 12:23:31 +00:00
Adrian Czarnecki
735a08637a
Add mechanism that send msg again if request fail
...
Improve _publish method to send message again
if first request return FailedPayloadsError.
Change-Id: I2ceb4e55f30a982bfe55ae8dd280ded5eca70704
2018-09-13 13:44:28 +02:00
Adrian Czarnecki
dc9e276f10
Change incorrect default policy role
...
Change-Id: I194164425416e5905e2234e76014e32f276fde76
2018-09-07 08:36:27 +02:00
Amir Mofakhar
f24c310156
changed self oslo.policy enforcement to monasca-common oslo.policy
...
enforcement engine.
story: 2001233
task: 6199
Change-Id: If78a95f2b454ed4775186e56146d22684d16d983
Signed-off-by: Amir Mofakhar <amofakhar@op5.com>
2018-01-24 10:16:49 +01: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
Jakub Wachowski
c3a3b4b765
Create devstack plugin for monasca-events
...
!Parts of code taken from monasca-api and monasca-log-api!
Also create a dummy implementataion for version endpoint
so that the deployment can be tested.
Story: 2001112
Task: 4808
Change-Id: Ic35f6388c34c4d4c1198401a1c6972b802a54c67
2017-11-08 13:55:10 +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
Michael James Hoppal
c00fd08178
Remove non used import
2015-11-20 13:29:52 -07:00
Michael James Hoppal
6f3492343c
Cleanup the amount of conditionals and temp variables in patch
2015-11-20 12:52:03 -07:00
Michael James Hoppal
9113a2cbbe
Take away the ability to patch certain fields
2015-11-19 21:07:17 -07:00
Michael James Hoppal
344ebd68d5
Return empty list on getting fire actions if it is not there
2015-11-18 16:28:15 -07:00
Michael James Hoppal
a142d52b24
Add the ability to patch stream definitions
2015-11-18 16:25:42 -07:00
cindy oneill
e6a05689a3
Changed monasca-events-api port to 8072
2015-10-20 14:58:18 -06:00
Joe Keen
8158e755bc
Removing soft delete functionality
...
Transform repository now deletes row rather than setting the deleted_at
attribute.
2015-08-14 13:22:24 -06:00
Joe Keen
751794485c
Fixed message format problem
2015-08-04 16:00:12 -06:00
SamKirsch10
5b23c97de7
added versions to api and updated requirements falcon==0.2.0
2015-07-21 13:08:57 -06:00
SamKirsch10
9a35070ad2
transform bug fixes in mysql clause and in get single transform
2015-07-20 11:59:24 -06:00
SamKirsch10
91c0181f08
fixed mysql formatting
2015-06-26 15:29:01 -06:00
Joe Keen
41b70b4dd5
Refactored transform repo
2015-06-26 14:53:01 -06:00
Joe Keen
13cd7cee7d
Merge branch 'master' into limitfixes
2015-06-26 14:07:22 -06:00
Joe Keen
b3a18a9fb5
Fixed broken unit tests
2015-06-26 14:00:59 -06:00
Roland Hochmuth
2896511aa0
Cleanup and deleted unused message formats
2015-06-25 23:56:09 -06:00
Roland Hochmuth
220c986a61
Merge pull request #5 from hpcloud-mon/oslo
...
Modified to use oslo libraries
2015-06-25 16:14:30 -06:00
SamKirsch10
f4c35bc653
Merge branch 'limitfixes' of https://github.com/hpcloud-mon/monasca-events-api into limitfixes
2015-06-24 13:36:10 -06:00
SamKirsch10
ef9065d32e
bug fixes and pagination fixes
2015-06-24 13:29:22 -06:00
SamKirsch10
5e69ab01a5
lots of bug fixes for the limit and transform query cleanup
2015-06-24 13:29:22 -06:00
SamKirsch10
1489fb21bd
fix pagination helper
2015-06-24 13:29:22 -06:00
SamKirsch10
64f69e6ce7
the real limit fixes
2015-06-24 13:29:22 -06:00
SamKirsch10
ab566a74f9
added get specific transform and bug fixes
2015-06-24 13:29:22 -06:00
Joe Keen
3941f834b9
Fixed unit tests broken due to recent changes
2015-06-24 10:12:57 -06:00
SamKirsch10
ae327a1e3a
lots of bug fixes for the limit and transform query cleanup
2015-06-23 16:02:14 -06:00
SamKirsch10
e19c5d4119
fix pagination helper
2015-06-23 15:15:29 -06:00
SamKirsch10
2dcd40e473
the real limit fixes
2015-06-23 11:03:02 -06:00
SamKirsch10
f4e8fda24c
added get specific transform and bug fixes
2015-06-23 10:31:34 -06:00
Joe Keen
fa1a08010f
Merge branch 'master' into oslo
2015-06-22 15:47:52 -06:00
Joe Keen
5576423117
Merge pull request #4 from hpcloud-mon/feature/batching
...
Feature/batching
2015-06-22 15:42:46 -06:00
Joe Keen
5d809e1645
Merge pull request #2 from hpcloud-mon/1767
...
Added test for HTTP endpoint methods in events api
2015-06-22 14:36:24 -06:00
Joe Keen
04fae79022
Fixes for flake8 compatibility
2015-06-22 14:26:33 -06:00
Cindy O'Neill
9b2598da31
Merge pull request #6 from hpcloud-mon/transforms_yml
...
added yaml loads to transforms
2015-06-22 12:02:15 -06:00
SamKirsch10
79d8dfb8d7
added example yaml open file
2015-06-22 11:48:35 -06:00
SamKirsch10
7398617fa6
added yaml loads to transforms
2015-06-22 08:58:32 -06:00
Roland Hochmuth
e6e82ebc62
Modified to use oslo libraries
2015-06-19 19:51:16 -06:00
Joe Keen
4f6d7654e1
Removed comment
2015-06-19 12:51:54 -06:00
Joe Keen
54e54a399b
Added batch handling
...
Added more efficient kafka publisher
Modified schema and transformation to support batch data
2015-06-19 12:49:55 -06:00