We jubilantly announce the release of: python-cloudkittyclient 3.0.0: API client of cloudkitty, Rating as a Service project. This release is part of the train release series. The source is available from: https://opendev.org/openstack/python-cloudkittyclient Download the package from: https://pypi.org/project/python-cloudkittyclient Please report issues through: https://bugs.launchpad.net/cloudkitty/+bugs For more details, please see below. 3.0.0 ^^^^^ New Features ************ * Support for the "/v2/summary" endpoint has been added to the client. The "summary get" CLI command as well as the "client.summary" object in the python library have been overriden in case the v2 API is used. Upgrade Notes ************* * The client has been adapted to allow adding support for v2 API endpoints. The v2 client class implements all v1 endpoints, but v1 endpoints ported to v2 will be overriden. The API version to use can be specified through the "--os-rating-api-version" option or the "OS_RATING_API_VERSION". Bug Fixes ********* * The "rating.get_quotation" method of the client has been fixed: the json body has been updated to match the API reference. Changes in python-cloudkittyclient 2.1.0..3.0.0 ----------------------------------------------- d660bef Add support for PUT /v2/scope API endpoint to the client c138f40 Add support for /v2/summary to the client a5a14a5 Bump openstackdocstheme to 1.30.0 7e7d25d Add support for /v2/scope API endpoint to the client b29fefa Modify the url of upper_constraints_file 301d8cb Blacklist sphinx 2.1.0 (autodoc bug) 0c623ef Add python 3.7 classifier to setup.cfg 6d27c9b Use openstack-python3-train-jobs for python3 test runtime a3e18a1 Add upper-constraints.txt to releasenotes tox environment 573908b Replaced openstack.org with opendev.org d2fb83e Adapt the client for the v2 API d77526b Fix sphinx for global requirements 1f1f811 OpenDev Migration Patch 40984c2 Dropping the py35 testing aeebd64 Adding a python3 functional job de96c61 Fix the rating.get_quotation method a7e687f Asserting 'summary get' returns nothing in functional tests 89475e2 Fix releasenotes generation 454584f Update master for stable/stein 613e698 add python 3.7 unit test job e7a9f20 Update home-page dd1a421 Update the bugs link to storyboard 419ee04 Change openstack-dev to openstack-discuss 541d682 Update http link to https link 378ee67 Fix oslo_debug_helper not running Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 23 +++- CONTRIBUTING.rst | 8 +- cloudkittyclient/common/__init__.py | 0 cloudkittyclient/{v1 => common}/base.py | 0 cloudkittyclient/common/client.py | 44 ++++++++ cloudkittyclient/osc.py | 6 + cloudkittyclient/shell.py | 25 +++-- cloudkittyclient/v1/client.py | 29 ++--- cloudkittyclient/v1/collector.py | 2 +- cloudkittyclient/v1/info.py | 2 +- cloudkittyclient/v1/rating/__init__.py | 8 +- cloudkittyclient/v1/rating/hashmap.py | 2 +- cloudkittyclient/v1/rating/pyscripts.py | 2 +- cloudkittyclient/v1/report.py | 2 +- cloudkittyclient/v1/storage.py | 2 +- cloudkittyclient/v2/__init__.py | 0 cloudkittyclient/v2/client.py | 40 +++++++ cloudkittyclient/v2/scope.py | 102 +++++++++++++++++ cloudkittyclient/v2/scope_cli.py | 98 ++++++++++++++++ cloudkittyclient/v2/summary.py | 52 +++++++++ cloudkittyclient/v2/summary_cli.py | 62 ++++++++++ lower-constraints.txt | 3 +- .../adapt-client-to-v2-api-c870d5ca49af6341.yaml | 8 ++ .../add-support-v2-summary-7c1ff903f21f057b.yaml | 6 + .../notes/fix-get-quotation-1d2c18a979f85fe6.yaml | 5 + releasenotes/source/conf.py | 17 +-- releasenotes/source/index.rst | 1 + releasenotes/source/stein.rst | 6 + requirements.txt | 1 + setup.cfg | 125 ++++++++++++++++++++- tox.ini | 10 +- 62 files changed, 1043 insertions(+), 88 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 264165a..73e1ac8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,0 +14 @@ os-client-config>=1.29.0 # Apache-2.0 +osc-lib>=1.12.1 # Apache-2.0
participants (1)
-
no-reply@openstack.org