- Update docker dependency to v7.
- Drop support for python 3.6, python 3.7 and python 3.8.
- The client now handles HTTP status responses from the UDM REST API based on generic range (e.g. 2xx-3xx) instead of specific codes.
- Fix
update_openapi_client
crashing with newer versions of the Python Docker client andrequests
(Issue #10). - Testing fixes (Issues #5 and #9)
- Update OpenAPI client library generator (openapitools/openapi-generator-cli) to version
5.4.0
to support Python 3.11..
- Move operations succeed, when a language header is set.
- Adjust objectType return value of
users/self
to latest UCS erratum.
- Fix error handling in base_http.py.
- Add the possibility to send an Accept-Language header with each request.
- Handle UDM REST API doing immediate moves (without redirects) for objects without subordinates.
- Pass trough UDM REST API error in
CreateError
andModifyError
exceptions.
- Format the correlation ID as a hex value.
- Send a correlation ID with each request.
- Raise version of generated client library
openapi-client-udm
to1.0.1
.
- Lower required version of
click
library, for compatibility withtyper<0.4.0
.
- UCS 5.0 container for testing is now run using LXD.
- Fix deprecated use of
ruamel.yaml
in tests.
- Add process wide cache for the LDAP base of each host.
- Update aiohttp to (at least) Version
3.8.1
, which fixes aiohttp not honoring "no_proxy". - Update development and testing dependencies.
- Fix handling of values that are lists of dicts (e.g.
dnsEntryZoneAlias
of computer objects).
- Fix not sending policy modifications to server.
- The script to create/update the OpenAPI client
update_openapi_client
has been updated to use the OpenAPI Generator version5.0.0
. - The
update_openapi_client
script now verifies the checksum of the downloaded JAR file.
- Breaking API CHANGE: The
options
attribute of UDM objects is now a dictionary. It mirrors the UDM REST APIsoptions
attribute value. Before it was a list, which did not allow to disable default options (Bug #50974).
- Add the possibility to provide credentials in the update_openapi_client script to download the schema file.
- Update download URL of openapi-generator jar.
- allow setting properties that only exist after enabling an option (Bug #50972)
- fix not detecting changes in mutable property values
Mapping
andIterable
interfaces were added to the object properties class. Adds item access (obj.props["key"]
),obj.props.get("key")
,len(obj.props)
,key in obj.props
,obj.props.keys()
,obj.props.values()
,obj.props.items()
- documentation improvements
- HTTP basic passwords are no longer logged
- map
options
andpolicies
back to original values (were being rewritten to pep8 conform keys by the OpenAPI client)
- allow specifying existing JAR for open api client build
- various small fixes to handle RTD and Travis-CI
- First release.