| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Iea92371176d9126205384624a18a9097acb3daef
Partial-Bug: #1714088
Depends-On: https://review.opendev.org/#/c/726334/
|
| |
|
|
|
|
|
|
| |
We currently have no unit test coverage for the
cli (openstack) implementation. This adds some very
basic coverage that we can later expand upon.
Change-Id: Ibf06cfcbf4f7c12957cf5aa0ba8de66e0554f4d0
|
| |
|
|
|
|
|
|
|
|
| |
This patch removes the use of "six" as the package declares only
python3 support.
It also updates the appdirs lower-constraint to 1.4.0 to support
pip. This version is available on both centos8 and focal.
It also removes the linter related packages from lower-constraints.
Change-Id: I9337f1998749bc40737f2f0e2dcc406b6f3a0ddf
|
| |
|
|
|
|
|
|
| |
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I3be6c40ef61e0334cab860689abbee84f5d19265
|
| |
|
|
|
|
|
|
| |
Now that we are py36 or later, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I9582d623727e5853637812083033a348b71551ce
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
| |
|
|
|
|
|
| |
The v1 has officially been removed from Designate since
the Queens release, and was deperecated long before that.
Change-Id: Ic5b44761ff939e2b319924af87849b3a79f9cb07
|
| |
|
|
|
|
|
| |
oslo project provide jsonutils, and the others use it in many place,
this PS to update the json moudule to oslo jsonutils for consistency.
Change-Id: I8cbf78b0735572f550ece31611258c3da9ae1d35
|
| |
|
|
|
|
|
|
|
| |
When a RemoteError is created, it is passed the complete content of the
json response from the server. Thus is can happen that it contains
unexpected entries, we should just ignore them.
Change-Id: I2155d1d44432884f19ef926c02b9d0f99ade57d9
Closes-Bug: 1714460
|
| |
|
|
|
|
|
|
|
|
| |
This fix adds support for the designate tsig keys api to
python-designateclient.
It will add tsigkey related crud commands to the openstackclient.
Change-Id: I84336c3aca85ca62771fd2115481eda32ee980d2
Closes-Bug: #1702506
|
| |
|
|
|
|
|
|
|
|
| |
According to PEP 396, the version of client library
should be set in xxxclient.__version__, that help
python-openstackclient command "module list" to get
the right plugin module versions.
Change-Id: I932287726c5b0a8638c6ad72171e98181867d88f
Partial-Bug: #1662058
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Trivial fix.
Change-Id: I0e678649225d58e70db09f6c0acce59d20f48004
|
| |/
|
|
|
|
|
|
|
|
| |
The following files added utf-8 encoding but never used. So we can
remove them at all.
designateclient/tests/base.py
designateclient/tests/test_designateclient.py
Change-Id: Id11c8241544ef076c95986bb645cdc6cce652a1c
|
| |
|
|
|
|
| |
trivialfix
Change-Id: Iaf6fc3b4b68d764de38856cab54d27579565310f
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch add cli for listing accepted zone ownership transfer
and corresponding test cases.
Related-Bug: #1499539
Change-Id: I3eec36c73b2dacd4eed3b8578c4d51593b43104d
depends-on: I3dc042f666be43649bb3dec6e92cc67d1c32578f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch migrates designateclient to using keystoneauth Session
instead of deprecated keystoneclient's Session and plugins.
Also, this patch removes the old designateclient.auth module as it is
not used anywhere else in the code base and its purpose is overridden by
the fact that keystoneauth acts as an abstraction layer for
authentication (handling requests and reauthentication internally).
Change-Id: Ic3cc0fbb76977a04bab322ebcb1c818e75646772
|
| |
|
|
|
| |
Change-Id: I5349524d262ffcadf88b3c914f187dfc26563156
Depends-On: Iaf10d8486ac8015ecf9f394dfbf074bfb863fb78
|
| |
|
|
|
|
|
|
|
|
|
| |
Zone import commands (create, list, show, delete)
are missing from the python-designateclient.
This change includes implementation, as well as unit tests
and functionaltests.
Change-Id: I635431b5ef11989247e8d185ad692e4fee9bebba
Closes-Bug: #1550532
|
| |
|
|
|
|
|
|
|
|
|
| |
Zone export commands (create, list, show, delete, showfile)
are missing from the python-designateclient.
This change includes implementation, as well as unit tests
and functionaltests.
Change-Id: I957946d739bceea1074e2fda2ce7f841143b0611
Partial-Bug: #1550532
|
| |
|
|
|
|
|
|
|
|
| |
There is no method called_once_with() in Mock object.
Use assert_called_once_with() instead.
I tested it in my tox environment. The revised assertion will work.
Change-Id: I530b58a434b4c031d236b0b04e8c7091854c992f
Closes-Bug: #1544522
|
| |
|
|
|
|
|
|
| |
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.
Change-Id: Ifcaeba48ff3606d3805343923378d0e58f68a2b9
Closes-bug: #1280522
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some tests in designateclient used incorrect
argument order in assertEqual(observed, expected).
The correct order expected by testtools is
assertEqual(expected, observed).
Partial-Bug: #1259292
Change-Id: Icc53b2f21e557170a61ceb52cd6f04c31e3b8425
|
| |\ \ |
|
| | |/
| |
| |
| | |
Change-Id: I52d927ab3d5328e7b38198c6cfb60fe497f811d0
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the case that designate api returns an error response which
does not have an 'message' entry, CLI will prints out nothing helpful
for users. The patch grabs info from response to try to provide a helpful msg.
Fixed axfr resource too.
Change-Id: I810426b6d4f731cc5ead4372083abf6515c05dc3
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
This patch adds test cases for v2 client.
Change-Id: I887ce631b3c38d0bd5b36bda094a8a642a21ea6c
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
This patch adds test cases for servers module of
v1 client.
Change-Id: I3576962d03a8da88ed5bf105ff2c7a5c32aff43c
|
| |/
|
|
|
|
| |
This patch adds test cases for domain of v1 client.
Change-Id: Ie6bf3c89d8c04c438e2751682f851c868b5dc48b
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Add endpoint_override keyword to v2.Client() and check for the
session argument in DesignateAdapter()
Add unit test, fix minor typos
Change-Id: I038ec7b0d1feadc9642bd47285e397b3fe84c13c
Closes-Bug: 1469739
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds tests cases for reports module
in v1 designateclient.
Change-Id: I5d91c8f975e7ea10c602af1326ebe5f33e0257c9
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds test cases for diagnostics, sync and touch modules
of v1 designateclient.
Change-Id: I2dd1d0093246289426dc045f02660c31ff0f9a38
|
| |/ /
| |
| |
| |
| |
| |
| | |
This patch adds tests cases for quotas and servers module
of designate v1 client.
Change-Id: I6d754886445ac6f35745b2d21da7e67219f0909a
|
| | |
| |
| |
| |
| |
| |
| | |
This patch adds test cases for domains and records modules of
designate v1 client.
Change-Id: I4b4d8671041193ddbaccb10947bb21f5d626fb92
|
| |/
|
|
| |
Change-Id: If33fba535f3541ade0b9fc516cf9b0bd4d215357
|
| |
|
|
|
|
|
|
|
|
| |
The previous commit at [1] introduced a bug due to last
minute reordering of code, this fixes the ordering
and adds a couple of tests to verify the functionaility.
[1]: I2e3d74168976868ea1e4dd6c797f6340faa50d0f
Change-Id: Ia6f8df92b2700f63b2208290ede85f247b33bc63
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently designate allows to identify a resource only by its id. This
change allows to identify domains by name or id. This change defines
the method find_resourceid_by_name_or_id which could be reused to
identify other resources by name or id.
Change-Id: I8e64cdbc5572623d05781d0c4e735ff0c429ea91
Closes-Bug: #1443858
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This provides bindings for:
- zones
- recordsets
- tlds
- blacklists
- limits
- nameservers
With associated unit tests.
Change-Id: Ie9b79340bd327b78916fd038633842da3ace881b
|
| |
|
|
|
|
|
| |
* [H104] Files with no code shouldn’t contain any license
header nor comments, and must be left completely empty.
Change-Id: Ic02858615833b516fd2c68a859146c8e018ae8e1
|
| |
|
|
| |
Change-Id: I3ee374157cf00739988fcf77bd6884796705b9ae
|
|
|
Change-Id: Idf7153aa287adc874a2878dc829950fda52a4879
|