2023.1 Series Release Notes¶
2023.1-eom¶
Bug Fixes¶
Fixed a bug where creating a reprocessing task would fail due to sending a POST request to the wrong endpoint.
4.6.0¶
New Features¶
Introduce the patch scope API in the CLI. The command “rating scope patch” is added to the OpenStack CLI with this patch, and the command “scope patch” is added to the CloudKitty python client.
Introduce reprocessing task API in the CLI. The following new commands are added to the OpenStack CLI “rating tasks reprocessing get” and “rating tasks reprocessing create”. For CloudKitty CLI, we added the following new commands “tasks reprocessing get” and “tasks reprocessing create”. Both command sets work in a similar fashion, but one is targetting the OpenStack CLI integration, whereas the other is targetting CloudKitty client only.
4.3.0¶
Bug Fixes¶
Fixes creation of hashmap mappings with a zero cost.
4.2.0¶
Bug Fixes¶
Fix create_threshold method when using cost as 0. When using 0 as the cost, the create_threshold method throws an exception. That happens because 0 (zero) is evaluated to False. Therefore, we need to change the validation method to check if the values are None.
4.1.0¶
New Features¶
Support for the
GET /v2/dataframes
endpoint has been added to the client. A newdataframes get
CLI command is also available.
4.0.0¶
New Features¶
Support for the
/v2/dataframes
endpoint has been added to the client. A newdataframes add
CLI command is also available.
Upgrade Notes¶
Python 2.7 support has been dropped. The last release of
cloudkittyclient
to support python 2.7 is OpenStack Train (3.1.0). The minimum version of Python now supported bycloudkittyclient
is Python 3.6.
3.0.0¶
New Features¶
Support for the
/v2/summary
endpoint has been added to the client. Thesummary get
CLI command as well as theclient.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 theOS_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.
2.0.0¶
Prelude¶
python-cloudkittyclient has been completely rewritten in order to be easier to maintain. It is now built with cliff.
New Features¶
Client-side CSV report generation: It is possible for users to generate CSV reports with the new client. There is a default format, but reports may also be configured through a yaml config file. (see documentation)
The documentation has been improved. (A few examples on how to use the python library + complete API bindings and CLI reference).
It is now possible to use the client without Keystone authentication (this requires that CK’s API is configured to use the noauth auth strategy).
Various features are brought by cliff: completion, command output formatting (table, shell, yaml, json…).
The ‘python-cloudkittyclient’ module is now compatible with python 2.7 and 3.5 .
Integration tests (for ‘openstack rating’ and ‘cloudkitty’) have been added. These should allow to create gate jobs running against a CK devstack.
Tests are now ran with stestr instead of testr, which allows a better control over execution.
The dependency list has been reduced and upper constraints have been set.
Simplification of commands. Most commands are now more http-like: no more ‘list’ and ‘get’ commands, but only ‘get’ with or without a resource ID.