10 Commits

Author SHA1 Message Date
chenke
3926dcc541 Organize the use of 'log' and replace 'log' with LOG
Change-Id: I42ddf63dd73559e43efce401f3912c4b9413a6d4
2018-07-31 11:25:25 +08:00
Jeremy Liu
a2cbb8d4b2 Use keystoneauth instead of keystoneclient
keystoneauth was extracted from keystoneclient, this CR replaces usage
of keystoneclient in favor of keystoneauth.

Implements: blueprint use-keystoneauth-instead-of-keystoneclient
Change-Id: Iada0f8b45ae30a89908a4ae9e5f55a33e3744e17
2017-01-13 16:14:33 +08:00
Vincent Francoise
940a7093e6 Added support for Client creation from KS session
In this changeset, I refactored some of the code to now support
the creation of a watcher client using a Keystone session as it was
already possible in most other OS projects.

Change-Id: I3462daeaac9103138366a0fcaa2fc46729bbd8ce
Related-Bug: #1625643
Closes-Bug: #1623070
2016-09-28 17:54:29 +02:00
Alexandr Stavitskiy
e2586130e1 Fix for importing osc-lib instead openstackclient
This patch set stop importing from the python-openstackclient and
start importing from osc-lib.

Change-Id: I6e4000565e48467f3e32a9cc408ab8a04b9c5f8a
Closes-Bug: #1604047
2016-07-19 18:52:42 +03:00
Vincent Francoise
544db1951f Flatten the project structure
In this changeset, I flattened the project structure by removing
the 'osc' package as it is now shared by both the OSC plugin and by
the 'watcher' command.

Closes-Bug: #1570467
Partially Implements: blueprint openstackclient-plugin

Change-Id: I867fd23c3a27cfc925dcc28f8dd158cb690c5659
2016-05-24 17:47:47 +02:00
Vincent Francoise
1b14be868e Switch Watcher CLI to an OSC-compatible version
In this changeset, I switched the watcher command line to now use
the OpenStackClient code to avoid code duplication.

Partially Implements: blueprint openstackclient-plugin

Change-Id: I2e0df6a96f4c7c59d33b92c01962f65129bfc7cc
2016-05-24 15:50:11 +02:00
David.T
740dcf7bc2 i18n - Make string translatable
Since internationalization should be enabled in Watcher CLI/SDK,
this patchset refactors the watcherclient codebase to wrap
previously untranslatable strings with i18n translation functions
so we can import them for translation into the .pot template file.

Change-Id: Ibb987e66b95e009e33b596add8c96ecb193a3773
Implements: blueprint support-translation
2016-01-13 11:01:26 +00:00
David.T
03d12fd030 Sync with oslo-incubator
Most of librairies available under openstack/common folder are
now deployed by using oslo dedicated package. So we can remove
them and point to new python package.

Moreover, According to the November agreement in Oslo team,
apiclient and clituils will be removed from Oslo incubator.
We should keep the local copy by ourselfs

Change-Id: I3abc09d1c512df1f5cb868ed462a7900260705ce
Implements: blueprint make-watcherclient-use-graduated-oslo-lib
2016-01-12 15:52:32 +00:00
Steve Martinelli
1852227505 use keystoneclient exceptions instead of oslo-incubator code
depending on any oslo-incubator code from another project is
dangerous. keystoneclient makes its exceptions public and it's
not recommended to use any code from
keystoneclient.openstack.common.apiclient since it's maintained
by oslo-incubator.

Change-Id: I22b7977f943abac9418342d4fd3d2b996d717e91
2015-12-27 01:46:07 -05:00
David TARDIVEL
3957331e52 push initial version
Change-Id: Ifecc2c7dd6bd859ba6ef327fddd891982382df3b
2015-06-04 14:59:34 +02:00