We are overjoyed to announce the release of: cloudkitty 17.0.0: Rating as a Service component for OpenStack This release is part of the zed release series. The source is available from: https://opendev.org/openstack/cloudkitty Download the package from: https://pypi.org/project/cloudkitty Please report issues through: https://storyboard.openstack.org/#!/project/openstack/cloudkitty For more details, please see below. 17.0.0 ^^^^^^ New Features * Adds a "MAP" mutator to map arbitrary values to new values. This is useful with metrics reporting resource status as their value, but multiple statuses are billable. Changes in cloudkitty 16.0.0..17.0.0 ------------------------------------ 15b2bfb Fix compatibility with oslo.db 12.1.0 c9340b3 Add MAP mutator 3ba19ed Fix response format 'total' for v2 dataframes API 788970e Replace deprecated assertRaisesRegexp ab1e31d Allow rating rules that have 12 digits in the integer part of the number 3a26234 Add API to create scopes 937a03b Drop lower-constraints.txt and its testing ed53054 [CI] Move queue setting to project level 85da729 Fix incorrect use of voluptuous.Coerce 9f9f4f1 Add rating modules GET endpoints to v2 API 9ea3450 Include /v2 in public routes for keystone auth 34d121b Add Python3 zed unit tests 75104ee Update master for stable/yoga a536880 Raise CollectError when Prometheus query returns an error Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 5 +- HACKING.rst | 1 + cloudkitty/api/v2/__init__.py | 3 +- cloudkitty/api/v2/rating/__init__.py | 31 +++++++ cloudkitty/api/v2/rating/modules.py | 102 +++++++++++++++++++++ cloudkitty/api/v2/scope/state.py | 76 +++++++++++++++ cloudkitty/collector/__init__.py | 21 ++++- cloudkitty/collector/gnocchi.py | 4 +- cloudkitty/collector/monasca.py | 4 +- cloudkitty/collector/prometheus.py | 9 +- cloudkitty/common/policies/__init__.py | 2 + cloudkitty/common/policies/v2/rating.py | 37 ++++++++ cloudkitty/common/policies/v2/scope.py | 7 +- cloudkitty/dataframe.py | 4 +- cloudkitty/db/__init__.py | 6 +- cloudkitty/hacking/checks.py | 13 +++ .../4e0232ce_increase_precision_for_cost_fields.py | 45 +++++++++ cloudkitty/rating/hash/db/sqlalchemy/models.py | 4 +- cloudkitty/storage/v2/elasticsearch/client.py | 9 +- cloudkitty/storage_state/__init__.py | 56 +++++++++-- cloudkitty/utils/__init__.py | 10 +- .../v2/api_samples/rating/module_get.json | 7 ++ .../v2/api_samples/rating/modules_list_get.json | 18 ++++ .../api-reference/v2/rating/modules_parameters.yml | 49 ++++++++++ .../api-reference/v2/scope/scope_parameters.yml | 8 ++ etc/cloudkitty/api_paste.ini | 2 +- lower-constraints.txt | 53 ----------- ...ing-rules-value-precision-40d1054f8ab494c3.yaml | 10 ++ ...-total-for-elastic-search-a3a9244380ed046f.yaml | 7 ++ .../notes/map-mutator-632b8629c0482e94.yaml | 6 ++ .../post-api-create-scope-739098144706a1cf.yaml | 7 ++ .../notes/prometheus-error-8eab9f1793c2280c.yaml | 5 + .../notes/rating-modules-v2-7e4e7a3c5fa96331.yaml | 4 + releasenotes/source/index.rst | 1 + releasenotes/source/yoga.rst | 6 ++ requirements.txt | 5 + tox.ini | 7 +- 50 files changed, 821 insertions(+), 123 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index a7904de..241658b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,4 @@ +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. + @@ -3,0 +8 @@ +
participants (1)
-
no-reply@openstack.org