Reasons:
- exceptions.from_response has 3 arguments but is being called with
one argument less, which is url.
Changes:
- Updated common.check_for_exceptions to support urls as needed by
troveclient.openstack.common.apiclient.exceptions.from_response.
- Adds url to exceptions.from_response calls in troveclient.
Closes-Bug: #1266239
Change-Id: Ie18c90349479f740369f63c48a8d9b463641f84d
There are a few checks that already pass:
- F401 - unused imports of modules
- F403 - ‘from module import *’ used; unable to detect undefined names
And there are two (H401 and H403) that can be made
passing easily. Enable gating on all of them.
Change-Id: I9d3c49ecea1b2171d194ab6cc751316c252081e8
quote is defined in urlutils for Python2&3 compatability.
Partial implements: blueprint py33-support
Change-Id: I81e667c76544b6bafd81d51d788158f6a062a90c
The new client adheres to the standards of the other clients
now. It prints out tables, uses ENVVAR's for auth, no longer
stores pickled json in a login token, uses openstack common,
and moves the cli operations into a v1 module for the future
of trove when it has a v2 api.
Please note for compatibility, the troveclient.compat module
has the old cli. In order to deploy it, amend the setup.cfg
to include the compat module.
implements blueprint cli-compliance-upgrade
Change-Id: Ie69d9dbc75ce90496da316244c97acca1877a327
* This causes service catalog lookup issues when the Catalog
contains service_type = database, but service_name = somethine_else
fixes bug 1228372
Change-Id: I1f7eebb06d7f57c0ecc95d8c05104f43e803c406
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.
Change-Id: Ib30cd06cdd13b9f949e028753716aa55736f4a40
Fixes-Bug: #1214176
At present, when a Cloud Database user creates a username, password and hostname for a database user,
he does not have the ability to modify these user attributes.
This API enables the Cloud DB user to make changes to one or more of these user attributes (username,hostname,password).
These changes are in the troveclient to enable simple command line requests
Implements: blueprint modify-userattributes
Change-Id: I0887f2d927eec8c77c0f562c9d855a370591231a