We are pumped to announce the release of: cloudkitty 16.0.0: Rating as a Service component for OpenStack This release is part of the yoga 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. Changes in cloudkitty 15.0.0..16.0.0 ------------------------------------ 32bf128 Fix v2 API dataframes get policy check 65af204 Introduce reprocessing API a6575f4 Avoid DivByZero if there is no metrics to collect 9d917cc Fix description of orchestrator parameters 839fdf7 Update sample configuration file fe34ef9 Support customising Prometheus queries 73b256d Updating python testing classifier as per Yoga testing runtime 21a8730 Fix quote API 76e98ff Add support for multiple value filters f332cdf Add missing whitespace in log message 6ba9d45 Introduce "response_format" for the V2 summary API 3c7f573 Adding two options in fetcher_keystone 2acaa5a Add active status fields in the storage state table 9654373 Add Python3 yoga unit tests 2a4e3be Update master for stable/xena 5b738c3 Fixed PyScripts.start_script method to return the updated data object Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + .zuul.yaml | 2 +- cloudkitty/api/v1/controllers/rating.py | 6 +- cloudkitty/api/v2/__init__.py | 1 + cloudkitty/api/v2/dataframes/dataframes.py | 2 +- cloudkitty/api/v2/scope/state.py | 93 ++- cloudkitty/api/v2/summary/summary.py | 54 +- cloudkitty/api/v2/task/__init__.py | 35 + cloudkitty/api/v2/task/reprocess.py | 280 +++++++ cloudkitty/cli/processor.py | 2 +- cloudkitty/collector/prometheus.py | 15 +- cloudkitty/common/policies/__init__.py | 2 + cloudkitty/common/policies/v2/scope.py | 7 + cloudkitty/common/policies/v2/tasks.py | 36 + cloudkitty/fetcher/keystone.py | 35 +- cloudkitty/orchestrator.py | 467 +++++++++-- cloudkitty/rating/pyscripts/__init__.py | 2 +- cloudkitty/storage/v2/influx.py | 20 +- cloudkitty/storage_state/__init__.py | 247 +++++- .../4d69395f_add_storage_scope_state_fields.py | 49 ++ ...d3050_create_last_processed_timestamp_column.py | 41 + .../9feccd32_create_reprocessing_scheduler.py | 45 ++ ...c50ed2c19204_update_storage_state_constraint.py | 3 +- cloudkitty/storage_state/models.py | 53 +- .../v2/api_samples/scope/scope_get.json | 9 +- .../api-reference/v2/scope/scope_parameters.yml | 15 + .../v2/summary/summary_parameters.yml | 30 +- .../v2/task/reprocessing_parameters.yml | 56 ++ lower-constraints.txt | 3 +- ...rames-get-v2-policy-check-6070fc047b2e1496.yaml | 6 + .../notes/fix-quote-v1-api-7282f01b596f0f3b.yaml | 5 + ...ts-and-ignore_rating_role-dfe542a0cafd412e.yaml | 8 + ...oduce-active-status-field-cdfecd27c2bb9a42.yaml | 4 + ...ntroduce-reprocessing-api-822db3edc256507a.yaml | 5 + ...filter_summary_get_v2_api-1110373a900fad0d.yaml | 4 + .../prometheus-custom-query-ab2dc00e97b14be2.yaml | 5 + ...nse_format-v2-summary-api-270facdb01d9202b.yaml | 5 + releasenotes/source/index.rst | 1 + releasenotes/source/xena.rst | 6 + requirements.txt | 3 +- setup.cfg | 1 + 55 files changed, 3079 insertions(+), 182 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 2678a9f..a7904de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26 +26 @@ oslo.upgradecheck>=1.3.0 # Apache-2.0 -python-dateutil>=2.7.0 # BSD +python-dateutil>=2.8.0 # BSD @@ -35,0 +36 @@ futurist>=2.3.0 # Apache-2.0 +datetimerange>=0.6.1 # MIT
participants (1)
-
no-reply@openstack.org