| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR makes troveclient to handle API response in new data schema.
Trove API response data schema has changed by the commit[1].
Original problem is that python-troveclient can't parse a API response
data in new data schema, resulting in an error.
[1]: https://opendev.org/openstack/trove/commit/429c39890e3242c6a502037673943b38452c5811
Task: 44986
Story: 2009979
Change-Id: I2e446c68c3b82c11d13f6bace54273c109e02069
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This PR replaces a request parameter name "net-id" with "network_id"
creating a cluster. When creating a cluster, Clusters API internally
calls Instaces API to create a instance. A request parameter name to
create instances has changed[1] but python-troveclient still uses
old parameter name when creating a cluster.
The original problem is instance creation error when creating a
instance that belongs to a cluster. Troves's Instances API has
changed a parameter name from "net-id" to "network_id", but Clusters
API and python-troveclient still uses the "net-id" parameter name.
We need to fix it.
[1]: https://opendev.org/openstack/trove/commit/535417240709694080255c064c9d84a5ab1d5372
Task: 44925
Story: 2009958
Change-Id: Ia3d1d6f451296eba34f2389da184c41a7ee9e84e
|
| |
|
|
| |
Change-Id: Id0853dfb207bbd219755d46a9c0d6b4e897bfbeb
|
| |
|
|
| |
Change-Id: I97d3fcfa2935f76cb8753734fec6dab8669e732a
|
| |
|
|
| |
Change-Id: I9886792f346bbe8d4887539ca69588b4957547e1
|
| |
|
|
|
|
|
|
| |
When troveclient is used as a plugin for osc, it does not respect
provided endpoint type or cert via osc. This might result in
CERTIFICATE_VERIFY_FAILED error with osc, but not with trove shell.
Change-Id: I3d34774e87fcf0fe8efb024d4e6ff80a4e3f49c6
|
| |
|
|
|
|
|
| |
This feature needs to bump python-troveclient major version as it
introduced an incompatible change for backup creation CLI.
Change-Id: I6fe94ccb552e2c0020150494ccc2ba6361184229
|
| |
|
|
| |
Change-Id: I100f8a302aeb498e3c0cebd8d36ef5fa437d444d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The abstract base classes previously defined in 'collections' were moved
to 'collections.abc' in 3.3. The aliases will be removed in 3.10.
Preempt this change now with a simple find-replace:
$ ag -l 'collections.($TYPES)' | \
xargs sed -i 's/\(collections\)\.\($TYPES\)/\1.abc.\2/g'
Where $TYPES is the list of moved ABCs from [1].
[1] https://docs.python.org/3/library/collections.abc.html
Credit for this commit message to Stephen Finucane <stephenfin@redhat.com>
Change-Id: I782f2449832398cf2cfb886f561635de3d8ac18d
|
| |
|
|
|
| |
Change-Id: Iadc87779bf513c9d04847b6cf8ecbc60b300d7db
Implements: blueprint remove-unicode
|
| |
|
|
|
|
|
|
|
| |
If using formatters it will raise a error that local variable
'data' referenced before assignment
story: 2008472
task: 41511
Change-Id: I6c66139b54a203bd8af01e8534e4d7ce7735e02d
|
| |
|
|
|
|
|
|
| |
Just use 'server_id' from the instance response instead.
Story: 2008464
Task: 41496
Change-Id: Ib84dbd5fbd752ab7c7607ccb874663b01bfb7388
|
| |
|
|
| |
Change-Id: I3f5badc4d3bbb41de008d39e813d48f6aa670dc1
|
| |
|
|
|
|
|
| |
Story: 2008420
Task: 41361
Change-Id: I4dd67cf9aa9a13a520e69872d2752d22f19e63cf
|
| |
|
|
|
|
|
| |
Story: 2008419
Task: 41360
Change-Id: Ib14e5d56f75b68f32ee3ec23a198f618e5141931
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Story: 2008341
Task: 41244
This reverts commit f859692cc3f3f9ad72546d6b94f991a1558d78af.
Change-Id: I690956927fb2558950362d1f223596db92e53d1e
|
| | |
| |
| |
| | |
Change-Id: I9d08740b9e220d24aad7f691491d5eea8a7e16f9
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Support "--datastore-version-number" for creating configuration
- Support "--datastore-version-number" for creating instance
- Support "--version-number" for creating datastore version
- Support "--version-name" for updating datastore version
- Support showing version number for datastore version, instance and
configuration
Story: 2008358
Task: 41264
Change-Id: Ie84b4506736a82a214b0416f7e451d565552f651
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Story: 2008341
Task: 41242
This reverts commit 27cf71299ec51976fed8b18dbf5c0e4f9f4fd6f5.
Change-Id: I036a0423263b1a0332415c6403647ae82c9e34c4
|
| |/
|
|
|
|
|
| |
Story: 2008343
Task: 41245
Change-Id: Id6a0dc82430dc601d4102729b3ac010e137881c6
|
| |
|
|
|
|
| |
Change-Id: Iee4d92921d75f4d72405342fb5147a8bbfd269e5
Story: 2008340
Task: 41241
|
| |
|
|
|
|
| |
Change-Id: Ib0fb05c82477c4f081a5608012c7d64b3857a223
Story: 2008342
Task: 41243
|
| |
|
|
| |
Change-Id: I9399c62815c20f8db129bf22647e7457eaae0f57
|
| |
|
|
| |
Change-Id: I1b3e8dce864740221722070a710f5a2f867d6c4b
|
| |
|
|
|
|
| |
Remove all usages of six.
Change-Id: I6ea8d1cdc3060d5c2a4311c7454b66ba75109b0c
|
| |
|
|
|
|
|
|
|
| |
The imp module is deprecated[1] since version 3.4, use importlib to
instead
[1]: https://docs.python.org/3/library/imp.html
Change-Id: Ifb44be3b0a0c35dd99d0230e9c371dfcb97f6fdd
|
| |
|
|
| |
Change-Id: Ic4efe1fec9b26b90d1412ab13b94939961bb4be3
|
| |
|
|
| |
Change-Id: Ie6f22493d1722f41db5aa1a601a652e7eefa29c4
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I7314abe06ac750c202382ffcf37eaa08bfabcede
|
| |/
|
|
| |
Change-Id: Ia0580a599fc2385d54def4e18e0780209b82eff7
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: Ia590fa6aae23b7323963181d79c9b0097fd2e4d1
|
| |/
|
|
| |
Change-Id: I1d6ae85f93c4b2e549ba528f33ead1076daa601d
|
| |
|
|
| |
Change-Id: Id88e8100a397b1512c73a0b28f14ab8edb221689
|
| |
|
|
| |
Change-Id: Iff7baea5719f5b94d3e89048d17b37c0682dfdb8
|
| |
|
|
| |
Change-Id: I750434c7ebc9038b0acf0e657768f57981817e1f
|
| |
|
|
|
|
|
| |
* Added "public" and "allowed_cidrs" fields for getting instance.
* Added '--is-public/--is-private' and '--allowed-cidr' for updating.
Change-Id: Ifc919667e83573bd6c3b7aff205fe08e82667457
|
| |
|
|
| |
Change-Id: Ieae9216033d1c9ce0078554c7519bc891f50dc35
|
| |
|
|
|
|
|
| |
When creating replicas, flavor is not needed. Replica has the same
server settings as the primary.
Change-Id: Ia9b43a464763234b84ba163d8c773b21f53f4ee7
|
| |
|
|
| |
Change-Id: Ic8c20109b287f2f9220379cb249669d18b52893d
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
assertItemsEqual was removed from Python's unittest.TestCase in
Python 3.3 [1][2]. We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.
[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - https://github.com/testing-cabal/testtools/issues/286
[4] - https://github.com/testing-cabal/testtools/pull/277
Change-Id: I444b5919817b6b5cde2165872293076aff6bf6e9
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
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: Ida35e5f79ee17ef8ac6ea2186019ddd4040ec882
|
| | |
| |
| |
| | |
Change-Id: I0e597a64fae27016fc06195e8f3531a26753966f
|
| | |
| |
| |
| | |
Change-Id: Ibc7c191a3dbbe8d03cfbc9d41e30833b47ab429f
|