Commit Graph

951 Commits

Author SHA1 Message Date
Elod Illes 04633984a0 Fix deprecated zuul queue syntax
Zuul deprecated (and now removed) declaring shared queues at a pipeline
level [1]. This patch fixes the syntax to make the gate work for
monasca-events-api.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html

Change-Id: I01f2b5033aed9d97758f32a00c61e5fc8f73f7fa
2022-09-28 17:48:08 +02:00
Witek Bedyk fc97ceed7a Add CONTRIBUTING.rst
Change-Id: I8a629c4bf0e637917f4169087879e64690c52361
2020-05-19 16:19:47 +02:00
OpenStack Release Bot bbf83e1d69 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ic5e87003ee6aea7a2df25db490cb52f5386f6779
Sem-Ver: feature
2020-04-23 21:29:24 +00:00
Zuul 2550100ada Merge "[ussuri][goal] Drop python 2.7 support and testing" 2019-12-06 10:16:13 +00:00
Ghanshyam Mann 67ee8e5c66 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-event-api is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I1ea3a93bdd2cd6d5e95b7fefaca6a26c682aebc0
2019-12-02 09:45:09 +00:00
OpenStack Release Bot 512c8efe15 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: Ic9f48c8f2ece5cfe900dda51e98f3ddc7a23b6b2
Sem-Ver: feature
2019-12-02 09:38:42 +00:00
pengyuesheng 5e7f9f193d Bump the openstackdocstheme extension to 1.20.0
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_elements
- version
- release.

The change also fixed Apache Kafka URLs in API and persister
configuration in DevStack plugin.

Depends-On: https://review.opendev.org/689513
Change-Id: I9f3c611029385eb9d4ff2a2ff190b441b1971f33
2019-11-15 14:45:05 +01:00
Zuul 64e4e9af47 Merge "Add Python 3 Train unit tests" 2019-07-23 10:13:16 +00:00
Zuul 7a4402d10a Merge "Blacklist sphinx 2.1.0 (autodoc bug)" 2019-07-22 09:12:32 +00:00
zhulingjie 1fabe3616c Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Idca14292845055f7831fcab7a361d85190515c01
2019-07-18 16:02:50 +00:00
jacky06 d241424009 Blacklist sphinx 2.1.0 (autodoc bug)
1. See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/
2. Remove unncessary "=="

Change-Id: I529eff5e1cc21458d9a58ea36f577c6d593d4ef6
2019-07-15 14:10:25 +08:00
Corey Bryant c8b38fe98a Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Ib97c4d05a9bee29808cbc1f37f9a7fe89d23d0c6
Story: #2005924
Task: #34223
2019-07-14 14:08:57 +00:00
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
OpenDev Sysadmins 6647b88cbe OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:39:39 +00:00
Ghanshyam Mann be016896dd Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I810c1731659213457558eec31873ab4807a8d1c3
2019-04-15 18:17:27 +00:00
OpenStack Release Bot c7d161ed17 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I7db50a44453943290c76084800aa2b90b88cfd1a
Sem-Ver: feature
2019-04-01 12:52:23 +00:00
Ian Wienand 7b581bed94 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ide1f122e2ecd71edc1840dc598c100c965a47c0e
2019-03-24 20:34:15 +00:00
Adrian Czarnecki e86c6fbc65 Reconfigure tempest configuration
Switch tempest test to zuul3 native, and add proper configuration  
for events tempest test.


Story: 2004549
Task: 28303
Depends-On: https://review.openstack.org/599575

Change-Id: If630fc2e13ed4a81bb7b74c4238d1e28c78490d7
2019-03-05 10:46:31 +00:00
ZhongShengping bcc8cb36c1 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I3f7b1a4fc9c035700ed7071729f7964667fb48d0
2019-02-18 15:29:50 +08:00
melissaml 82dee1cb80 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I6f88fd87a4672411b89ef29d4fc7c62da43982c2
2018-12-05 01:49:02 +08:00
Zuul abd68381ca Merge "fix tox python3 overrides" 2018-11-19 14:39:21 +00:00
Zuul c1ae8b36b0 Merge "Added validations" 2018-11-19 13:58:29 +00:00
huang.zhiping 84fdd24d5d fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I4dd441f65a364eeccff217c99bf423540c44e3f5
2018-11-19 13:55:41 +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
Zuul c40c777ae1 Merge "Refactor devstack-plugin" 2018-11-19 11:24:16 +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
Sean McGinnis f2cf7ade39 Remove setup.py check from pep8 job
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.

Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.

More details can be found in this mailing list post:

http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html

Change-Id: I35beb33fe3d0875f742b46da2b04f6084d1b9c38
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-30 10:31:31 -05:00
Zuul a6ca0fead5 Merge "Use the tenant_id from context to name the index in ES" 2018-10-16 12:21:08 +00: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
98k 15c6877237 Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I63fad8f1110702a12a3a84a34c34c46d800b06be
2018-10-09 21:10:05 +00:00
Doug Hellmann 09356e0b9f fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Id3e87ce28348d247545ce979f6b34a1cb76beb8c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-01 15:44:05 +00: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
melissaml 13c429b1f7 Update links in README
Change the outdated links to the latest links in README

Change-Id: I482b659ba8adeb859420e258142b8fc497ee94d1
2018-09-23 16:41:17 +08:00
OpenStack Release Bot 9b8f8be597 Update reno for stable/rocky
Change-Id: I836db205b10d5336a65910be64c3321571107ffd
2018-09-19 13:58:44 +00: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
Andreas Jaeger 200c88e13a Use openstack-tox-cover template
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Remove jobs and use template instead.

Change-Id: I28111ced5dececccaa38e0033aac920279c45381
2018-09-08 16:16:07 +02:00
Adrian Czarnecki dc9e276f10 Change incorrect default policy role
Change-Id: I194164425416e5905e2234e76014e32f276fde76
2018-09-07 08:36:27 +02:00
Doug Hellmann 8e84984c74 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I5d74766083f438556f8fe889e4a4b6c197e884c0
Story: #2002586
Task: #24312
2018-08-22 18:51:58 -04:00
Doug Hellmann 3bd0b04e43 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ib8ea06691a7082d43db336070e60b415941677e5
Story: #2002586
Task: #24312
2018-08-22 18:51:45 -04:00
Doug Hellmann 004c0dd63d import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I8229b64e652d27c72248659ff1bcbcd69f874865
Story: #2002586
Task: #24312
2018-08-22 18:49:19 -04:00
Witold Bedyk 18b77596f6 Fix README.rst and add syntax check
Change-Id: Ic395c4d7bcf3301b865bab3b214b8e78aece83ff
Story: 2002163
Task: 24463
2018-08-09 13:53:30 +00:00
Witold Bedyk 025b87ddfb Fix coverage job
Change-Id: I6a78e9ef18666b344e62c7b25bc698e8df634431
2018-08-09 15:52:07 +02: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
Zuul 5bf5f27f1b Merge "changed self oslo.policy enforcement to monasca-common oslo.policy enforcement engine." 2018-02-05 08:53:38 +00:00
James E. Blair 3128a3da34 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I82b0b798da177404ca2a73b22c23906c7c22afbc
2018-02-01 02:56:51 -08: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
Adrian Czarnecki 3ea627d853 Download Kafka from Apache Archives
Apache Kafka 0.9.0.1 is not available on mirrors any more.

Change-Id: Ibfd548919c7a50809ad4ebd0b6eb9045f3b4250c
2018-01-23 10:26:10 +01:00
Amir Mofakhar 230ef25dc7 updated gitignore to ignore .venv
Change-Id: I9724c79369628d4083c8a6d054d27eadf90a60a1
2018-01-17 10:30:41 +01:00
Zuul 50dfeb1f81 Merge "Add events endpoint" 2017-12-18 13:12:33 +00:00