[cloudkitty] cloudkitty 5.0.0 (ocata)
We are pleased to announce the release of: cloudkitty 5.0.0: Rating as a Service component for OpenStack This release is part of the ocata release series. Download the package from: https://pypi.python.org/pypi/cloudkitty For more details, please see below. Changes in cloudkitty 0.6.1..5.0.0 ---------------------------------- 31845a8 Trivial: fix warnings when build_sphinx 2ba69c4 Modify policy of get total/summary f85dc55 Rename yaml file to keep consistent format 1798630 Refact Orchestrator 8945bc5 Fix JSON serialization error with sqlachemy storage backend 0f35d8d Fix compute service collection with ceilometer 7038eb4 Trivial: add the missing period 5af98e1 Add oslo_debug_helper to tox.ini cf4305c Fix wrong option names and missed options in cloudkitty.conf.sample ad173be Get total price group by res_type and tenant_id 138d85e Fix pep8 check error 671fbb9 Improve User Experience by adding an info REST entrypoint 0fbb20a Added release note for cloudkitty 25910c7 Add a note to indicate the change of default port 6761087 Generate the needed configuration files for devstack 4672cf9 [docs] Add rating module introduction ae94b6d The qty's type should be more precision in storage tables 932b5fe Replace oslo_utils.timeutils.isotime 982b5c6 Update the documentation to propose the usage of keystone v3 5d35fa1 Introduce hacking check to Cloudkitty b3e6efa Bring the begin/end checking before the storage module cd994fb Ensure the exist of writer path f9a16c5 devstack: support the gnocchi collector 240415f Don't include openstack/common in flake8 exclude list e17cec1 Add .idea and vim temp/swap types to .gitignore 7336f8a Delete the magic number 8e38bd4 Use keystone v3 instead of keystone v2 in cloudkitty's devstack plugin 80d4aaf Remove discover from test-requirements 1123103 Pin kombu to < 4.0.0 to fix gate error 03bc777 Add wrapper for decimal.Decimal objects in json.dumps() 29410ca Replace six.iteritems() with .items() a106fd8 Show team and repo badges on README 6f1fa2f Add PyScript module documentation 85920c9 Fix devstack plugin compatibility 460c4e3 Add Apache 2.0 license header to the alembic/script.py.mako 5553b95 Update the install docs 994c6f7 Modify variable's using method in Log Messages 681f875 Rename the gabbi filename to avoid GabbiSyntaxWarning d9ad38c Replaces uuid.uuid4 with uuidutils.generate_uuid() f6af017 Make begin and end optional when get dataframes 470ec70 Don't include */alembic/version/* in flake8 exclude list babfc92 Upgrade oslo.messaging to 5.2.0 4aa4d66 Enable DeprecationWarning in test environments 8dbb42d Remove mox3 in test-requirement.txt da42758 Add http_proxy_to_wsgi to api_paste 5d95908 Enable code coverage report in console output 584d81b Remove html_static_path from doc 3acacc7 Add Python 3.5 classifier and venv for cloudkitty Diffstat (except docs and test files) ------------------------------------- .gitignore | 13 + HACKING.rst | 102 +++ README.rst | 9 + cloudkitty/api/app.py | 6 +- cloudkitty/api/hooks.py | 10 +- cloudkitty/api/middleware.py | 2 +- cloudkitty/api/v1/controllers/__init__.py | 2 + cloudkitty/api/v1/controllers/info.py | 83 +++ cloudkitty/api/v1/controllers/report.py | 70 +- cloudkitty/api/v1/controllers/storage.py | 8 +- cloudkitty/api/v1/datamodels/info.py | 65 ++ cloudkitty/api/v1/datamodels/report.py | 75 ++ cloudkitty/backend/__init__.py | 4 +- cloudkitty/cli/writer.py | 9 + cloudkitty/collector/__init__.py | 25 + cloudkitty/collector/ceilometer.py | 68 +- cloudkitty/collector/fake.py | 18 + cloudkitty/collector/gnocchi.py | 22 +- cloudkitty/common/config.py | 11 +- cloudkitty/common/policy.py | 3 + cloudkitty/db/sqlalchemy/alembic/script.py.mako | 15 + ...ac2217dcbd9_added_support_for_meta_collector.py | 13 + ...385e33fef139_added_priority_to_modules_state.py | 13 + .../versions/464e951dc3b8_initial_migration.py | 13 + cloudkitty/hacking/__init__.py | 0 cloudkitty/hacking/checks.py | 386 ++++++++++ cloudkitty/orchestrator.py | 37 +- cloudkitty/rating/hash/__init__.py | 4 +- .../hash/db/sqlalchemy/alembic/script.py.mako | 15 + ...7df_rename_mapping_table_to_hashmap_mappings.py | 13 + .../versions/3dd7e13527f3_initial_migration.py | 13 + .../4da82e1c11c8_add_per_tenant_hashmap_support.py | 20 +- .../4fa888fd7eda_added_threshold_support.py | 13 + .../versions/54cc17accf2c_fixed_constraint_name.py | 13 + ...88a06b1cfce_clean_hashmap_fields_constraints.py | 13 + .../f8c799db4aa0_fix_unnamed_constraints.py | 56 +- cloudkitty/rating/hash/db/sqlalchemy/api.py | 5 +- .../pyscripts/db/sqlalchemy/alembic/script.py.mako | 15 + .../versions/4f9efa4601c0_initial_migration.py | 13 + cloudkitty/rating/pyscripts/db/sqlalchemy/api.py | 3 +- cloudkitty/state.py | 11 +- cloudkitty/storage/__init__.py | 7 +- cloudkitty/storage/gnocchi/__init__.py | 54 +- .../storage/gnocchi_hybrid/alembic/script.py.mako | 15 + .../versions/4c2f20df7491_initial_migration.py | 36 +- .../d39836d70aee_fixed_uuid_length_problem.py | 13 + cloudkitty/storage/sqlalchemy/__init__.py | 62 +- .../storage/sqlalchemy/alembic/script.py.mako | 15 + .../versions/17fd1b237aa3_initial_migration.py | 38 +- .../versions/307430ab38bc_improve_qty_precision.py | 35 + .../792b438b663_added_tenant_informations.py | 15 +- cloudkitty/storage/sqlalchemy/models.py | 2 +- cloudkitty/tenant_fetcher/keystone.py | 5 +- .../gabbi/rating/hash/gabbits/hash-empty.yaml | 28 + .../gabbi/rating/hash/gabbits/hash-errors.yaml | 318 ++++++++ .../gabbi/rating/hash/gabbits/hash-location.yaml | 144 ++++ .../gabbi/rating/hash/gabbits/hash_empty.yaml | 28 - .../gabbi/rating/hash/gabbits/hash_errors.yaml | 318 -------- .../gabbi/rating/hash/gabbits/hash_location.yaml | 144 ---- cloudkitty/transformer/__init__.py | 7 +- cloudkitty/transformer/ceilometer.py | 23 + cloudkitty/transformer/format.py | 2 +- cloudkitty/transformer/gnocchi.py | 25 + cloudkitty/utils.py | 43 +- cloudkitty/write_orchestrator.py | 3 + devstack/plugin.sh | 32 +- etc/cloudkitty/api_paste.ini | 6 +- etc/cloudkitty/cloudkitty.conf.sample | 798 --------------------- etc/cloudkitty/policy.json | 8 +- etc/oslo-config-generator/cloudkitty.conf | 3 +- releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 263 +++++++ releasenotes/source/index.rst | 16 + releasenotes/source/unreleased.rst | 5 + requirements.txt | 4 +- setup.cfg | 1 + test-requirements.txt | 10 +- tox.ini | 13 +- 102 files changed, 4129 insertions(+), 2395 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 40f8504..e9c1af8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17 +17 @@ oslo.config>=3.7.0 # Apache-2.0 -oslo.context>=2.2.0 # Apache-2.0 +oslo.context>=2.9.0 # Apache-2.0 @@ -22 +22 @@ oslo.log>=1.14.0 # Apache-2.0 -oslo.messaging>=4.0.0 # Apache-2.0 +oslo.messaging>=5.2.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index e455d2a..e38b022 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4 +4,4 @@ -hacking<0.10,>=0.9.2 + +# hacking should be first +hacking>=0.12.0,<0.13 # Apache-2.0 + @@ -6 +9,2 @@ coverage>=3.6 # Apache-2.0 -discover # BSD +kombu<4.0.0 # BSD +ddt>=1.0.1 # MIT @@ -8 +11,0 @@ gabbi>=1.11.0,<=1.25.0 # Apache-2.0 -mox3>=0.7.0 # Apache-2.0 @@ -16,0 +20 @@ sphinxcontrib-pecanwsme>=0.8 # Apache-2.0 +reno>=1.8.0 # Apache2
participants (1)
-
no-reply@openstack.org