[release-announce] monasca-events-api 0.1.0

no-reply at openstack.org no-reply at openstack.org
Wed Sep 19 14:16:15 UTC 2018


We are pumped to announce the release of:

monasca-events-api 0.1.0: Monasca API for events

Download the package from:

    https://tarballs.openstack.org/monasca-events-api/

For more details, please see below.

Changes in monasca-events-api 0.0.5..0.1.0
------------------------------------------

735a086 Add mechanism that send msg again if request fail
200c88e Use openstack-tox-cover template
dc9e276 Change incorrect default policy role
8e84984 add python 3.6 unit test job
3bd0b04 switch documentation job to new PTI
004c0dd import zuul job settings from project-config
18b7759 Fix README.rst and add syntax check
025b87d Fix coverage job
a9ca4bf uncap eventlet
3128a3d Zuul: Remove project name
f24c310 changed self oslo.policy enforcement to monasca-common oslo.policy  enforcement engine.
3ea627d Download Kafka from Apache Archives
230ef25 updated gitignore to ignore .venv
620a477 Add events endpoint
508c3b6 Remove -U from pip install
b9c0eb7 Avoid tox_install.sh for constraints support
9788b42 Zuul: add file extension to playbook path
badc30f Remove setting of version/release from releasenotes
c3a3b4b Create devstack plugin for monasca-events
6149b0d Fix pep8 test
3bfd48f Monasca-events-api spec documentation
ae9f825 Add sample configuration files to documentation
32c4560 Provide oslo.policies
5321635 Preparing infrastructure for events-api
c00fd08 Remove non used import
6f34923 Cleanup the amount of conditionals and temp variables in patch
9113a2c Take away the ability to patch certain fields
344ebd6 Return empty list on getting fire actions if it is not there
a142d52 Add the ability to patch stream definitions
e6a0568 Changed monasca-events-api port to 8072


Diffstat (except docs and test files)
-------------------------------------

.coveragerc                                        |    6 +-
.gitignore                                         |    6 +-
.gitreview                                         |    2 +-
.stestr.conf                                       |    3 +
.testr.conf                                        |    3 +-
.zuul.yaml                                         |   29 +
README.md                                          |  470 ----
README.rst                                         |   53 +
api-ref/locale/.gitkeep                            |    0
api-ref/source/conf.py                             |  217 ++
api-ref/source/events.inc                          |   73 +
api-ref/source/http_codes.yaml                     |   43 +
api-ref/source/index.rst                           |   25 +
api-ref/source/parameters.yaml                     |   16 +
config-generator/README.rst                        |   11 +
config-generator/config.conf                       |    7 +
config-generator/policy.conf                       |    3 +
demo/demo.py                                       |  141 --
.../compute.instance.create.start_23.json          | 2527 --------------------
.../compute.instance.delete.start_7.json           |  974 --------
.../compute.instance.power_off.start_4.json        |  370 ---
.../compute.instance.reboot.start_6.json           |  598 -----
.../compute.instance.rebuild.start_24.json         | 2381 ------------------
demo/files/server/data.txt                         |  125 -
demo/files/server/events.php                       |   11 -
demo/files/server/index.html                       |   70 -
demo/files/transform_definition.yaml               |   18 -
demo/post_webhook.py                               |   51 -
demo/webserver.sh                                  |    2 -
devstack/Vagrantfile                               |   90 +
devstack/files/debs/monasca-events-api             |    3 +
devstack/files/elasticsearch/elasticsearch.yml     |  360 +++
devstack/files/kafka/kafka-server-start.sh         |   38 +
devstack/files/kafka/log4j.properties              |   72 +
devstack/files/kafka/server.properties             |  118 +
.../events-persister-logging.conf                  |   36 +
devstack/files/zookeeper/environment               |   36 +
devstack/files/zookeeper/log4j.properties          |   69 +
devstack/files/zookeeper/myid                      |    1 +
devstack/files/zookeeper/zoo.cfg                   |   74 +
devstack/lib/.gitkeep                              |    0
devstack/lib/elasticsearch.sh                      |   98 +
devstack/lib/events-agent.sh                       |   61 +
devstack/lib/events-api.sh                         |  103 +
devstack/lib/events-persister.sh                   |   89 +
devstack/lib/kafka.sh                              |   98 +
devstack/lib/utils.sh                              |   75 +
devstack/lib/zookeeper.sh                          |   67 +
devstack/plugin.sh                                 |  141 ++
devstack/post_test_hook.sh                         |   28 +
devstack/settings                                  |   89 +
etc/events_api.conf                                |   92 -
etc/events_api.ini                                 |   22 -
etc/monasca/events-api-logging.conf                |   34 +
etc/monasca/events-api-paste.ini                   |   68 +
func_test/api_func_test.py                         |  197 --
func_test/transform_definitions.yaml               |   63 -
monasca_events_api/api/__init__.py                 |    0
monasca_events_api/api/events_api_v2.py            |   30 -
monasca_events_api/api/server.py                   |   76 -
.../api/stream_definitions_api_v2.py               |   34 -
monasca_events_api/api/transforms_api_v2.py        |   33 -
monasca_events_api/api/versions_api.py             |   26 -
monasca_events_api/app/__init__.py                 |    0
monasca_events_api/app/api.py                      |  123 +
monasca_events_api/app/common/__init__.py          |    0
monasca_events_api/app/common/events_publisher.py  |  197 ++
monasca_events_api/app/common/helpers.py           |   44 +
monasca_events_api/app/controller/__init__.py      |    0
monasca_events_api/app/controller/api/__init__.py  |    0
monasca_events_api/app/controller/healthchecks.py  |   62 +
monasca_events_api/app/controller/v1/__init__.py   |    0
.../app/controller/v1/body_validation.py           |   40 +
.../app/controller/v1/bulk_processor.py            |   64 +
monasca_events_api/app/controller/v1/events.py     |   71 +
monasca_events_api/app/controller/versions.py      |  114 +
monasca_events_api/app/core/__init__.py            |    0
monasca_events_api/app/core/error_handlers.py      |   29 +
monasca_events_api/app/core/model.py               |   28 +
monasca_events_api/app/core/request.py             |   41 +
monasca_events_api/app/core/request_contex.py      |   41 +
monasca_events_api/app/healthcheck/__init__.py     |    0
monasca_events_api/app/healthcheck/kafka_check.py  |   94 +
monasca_events_api/app/model/__init__.py           |    0
monasca_events_api/app/model/envelope.py           |   17 +
monasca_events_api/app/wsgi.py                     |   23 +
monasca_events_api/common/__init__.py              |    0
monasca_events_api/common/messaging/__init__.py    |    0
monasca_events_api/common/messaging/exceptions.py  |   17 -
.../common/messaging/kafka_publisher.py            |  125 -
.../common/messaging/message_formats/__init__.py   |    0
.../common/messaging/message_formats/events.py     |   36 -
.../common/messaging/message_formats/exceptions.py |   17 -
.../common/messaging/message_formats/transforms.py |   22 -
monasca_events_api/common/messaging/publisher.py   |   28 -
monasca_events_api/common/repositories/__init__.py |    0
.../common/repositories/constants.py               |    1 -
.../common/repositories/events_repository.py       |   28 -
.../common/repositories/exceptions.py              |   29 -
.../common/repositories/mysql/__init__.py          |    0
.../common/repositories/mysql/events_repository.py |   94 -
.../common/repositories/mysql/mysql_repository.py  |   81 -
.../repositories/mysql/streams_repository.py       |  239 --
.../repositories/mysql/transforms_repository.py    |   94 -
.../common/repositories/streams_repository.py      |   48 -
.../common/repositories/transforms_repository.py   |   33 -
monasca_events_api/conf/__init__.py                |   84 +
monasca_events_api/conf/events_publisher.py        |   39 +
monasca_events_api/config.py                       |   57 +
monasca_events_api/middleware/context.py           |   84 -
.../middleware/keystone_context_filter.py          |  110 -
.../middleware/validation_middleware.py            |   67 +
monasca_events_api/policies/__init__.py            |   57 +
monasca_events_api/policies/admin.py               |   30 +
monasca_events_api/policies/agent.py               |   30 +
.../event_template_json/req_multiple_events.json   |  187 ++
.../unit/event_template_json/req_simple_event.json |   91 +
monasca_events_api/v2/__init__.py                  |  114 -
monasca_events_api/v2/common/__init__.py           |    0
monasca_events_api/v2/common/helpers.py            |  423 ----
monasca_events_api/v2/common/resource.py           |   50 -
monasca_events_api/v2/common/schemas/__init__.py   |    0
.../common/schemas/events_request_body_schema.py   |   49 -
monasca_events_api/v2/common/schemas/exceptions.py |   17 -
.../stream_definition_request_body_schema.py       |   53 -
.../schemas/transforms_request_body_schema.py      |   41 -
monasca_events_api/v2/common/utils.py              |   17 -
monasca_events_api/v2/events.py                    |  158 --
monasca_events_api/v2/stream_definitions.py        |  363 ---
monasca_events_api/v2/transforms.py                |  197 --
monasca_events_api/v2/versions.py                  |   63 -
monasca_events_api/version.py                      |   18 +
.../legacy/monasca-tempest-events-base/post.yaml   |   15 +
.../legacy/monasca-tempest-events-base/run.yaml    |   72 +
policy-sample.yaml                                 |    7 +
.../notes/add_policies-24ddd2a505f3de6c.yaml       |    9 +
.../notes/clean_repo-13f2c84c9054a7db.yaml         |    6 +
.../notes/spec_documentation-5cc534fcd1a293da.yaml |    7 +
releasenotes/source/conf.py                        |  228 ++
releasenotes/source/index.rst                      |   10 +
releasenotes/source/unreleased.rst                 |    5 +
releasenotes/unreleased.rst                        |    5 +
requirements.txt                                   |   57 +-
setup.cfg                                          |   60 +-
setup.py                                           |   18 +-
test-requirements.txt                              |   47 +-
tools/bashate.sh                                   |    6 +
tox.ini                                            |  147 +-
181 files changed, 6155 insertions(+), 12288 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 5c96b7a..2074524 100755
--- a/requirements.txt
+++ b/requirements.txt
@@ -3 +3 @@
-# process, please pay attention to order them correctly.
+# process, which may cause wedges in the gate later.
@@ -5,39 +5,16 @@
-# this is the base monasca-api requirements. To choose a particular
-# implementation to install, run pip install -r xxx-requirements.txt.
-#
-# for example, to install monasca-api and v2 reference implementation, do the
-# followings:
-#
-#    pip install -r requirements.txt -r ref-impl-requirements.txt
-#
-# The above will install monasca-api base and reference implementation
-# dependencies.
-#
-# To install monasca-api and elasticsearch implementation, do the following:
-#
-#    pip install -r requirements.txt -r es-impl-requirements.txt
-#
-# The above command will install monasca-api base and elasticsearch
-# implementation while leave other implementation dependencies alone.
-
-falcon==0.2
-gunicorn>=19.1.0
-keystonemiddleware
-oslo.config>=1.2.1
-oslo.middleware
-oslo.serialization
-oslo.utils
-oslo.log
-pastedeploy>=1.3.3
-pbr>=0.6,!=0.7,<1.0
-python-dateutil>=1.5
-six>=1.7.0
-ujson>=1.33
-pyparsing>=2.0.3
-voluptuous>=0.8.7
-MySQL-python>=1.2.3
-eventlet
-greenlet
-simport>=0.0.dev0
-kafka-python>=0.9.1,<0.9.3
-requests>=1.1
+pbr!=2.1.0,>=2.0.0 # Apache-2.0
+Paste # MIT
+falcon>=1.0.0 # Apache-2.0
+keystonemiddleware>=4.12.0 # Apache-2.0
+oslo.config!=4.3.0,!=4.4.0 # Apache-2.0
+oslo.context>=2.14.0 # Apache-2.0
+oslo.middleware>=3.27.0 # Apache-2.0
+oslo.log>=3.22.0 # Apache-2.0
+oslo.policy>=1.23.0 # Apache-2.0
+oslo.serialization>=1.10.0,!=2.19.1 # Apache-2.0
+oslo.utils>=3.20.0 # Apache-2.0
+PasteDeploy>=1.5.0 # MIT
+eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
+monasca-common>=1.4.0 # Apache-2.0
+voluptuous>=0.8.9 # BSD License
+six>=1.10.0 # MIT
diff --git a/test-requirements.txt b/test-requirements.txt
index 0217a59..1e8ea75 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,23 +1,24 @@
-# Hacking already pins down pep8, pyflakes and flake8
-hacking>=0.9.2,<0.10
-Babel>=1.3
-coverage>=3.6
-discover
-fixtures>=0.3.14
-flake8==2.1.0
-pep8<=1.5.6
-httplib2>=0.7.5
-mock>=1.0
-mox>=0.5.3
-nose
-# Docs Requirements
-oslosphinx
-oslotest
-python-subunit>=0.0.18
-sphinx>=1.1.2,!=1.2.0,<1.3
-sphinxcontrib-docbookrestapi
-sphinxcontrib-httpdomain
-sphinxcontrib-pecanwsme>=0.8
-testrepository>=0.0.18
-testscenarios>=0.4
-testtools>=0.9.34
\ No newline at end of file
+# The order of packages is significant, because pip processes them in the order
+# of appearance. Changing the order has an impact on the overall integration
+# process, which may cause wedges in the gate later.
+
+# Install bounded pep8/pyflakes first, then let flake8 install
+hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
+flake8-import-order==0.12 # LGPLv3
+bandit>=1.1.0  # Apache-2.0
+bashate>=0.2 # Apache-2.0
+
+fixtures>=3.0.0 # Apache-2.0/BSD
+coverage!=4.4,>=4.0 # Apache-2.0
+mock>=2.0 # BSD
+oslotest>=1.10.0 # Apache-2.0
+os-testr>=0.8.0 # Apache-2.0
+simplejson>=2.2.0 # MIT
+voluptuous>=0.8.9 # BSD License
+
+# documentation
+doc8 # Apache-2.0
+sphinx>=1.6.2  # BSD
+os-api-ref>=1.0.0 # Apache-2.0
+reno # Apache-2.0
+openstackdocstheme>=1.16.0 # Apache-2.0






More information about the Release-announce mailing list