Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Jaeger d1dae85ac7 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Change-Id: Ibe28b6b6bf3927e80816f0c5f1cb972fb6e2374b
2020-03-30 11:59:26 +02:00
zhurong 95f9da9cd8 Fix pep8 F821 error
Change-Id: Idef9c90b57b67fae2e896de00cc8f647c238cae8
2019-01-09 08:37:25 +00:00
Gyorgy Szombathelyi 78abdaa130 Use consistent session options
Various components defines different options for the client sessions.
Standardize them with the help of keystonauth1 lib.

Change-Id: I2f791caaf230a58b8426d1c1d6e1eb4316a85a28
2017-07-28 14:55:45 +02:00
shihanzhang 06746baa32 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I24ca32d9e92cdd2b3a91916337839d116e335084
2017-04-03 12:11:20 +08:00
Kirill Zaitsev da52590922 Use default region_name parameter in clients
As part of I289c7f8dc93a30ba1d5aa06d9da29a6af1308b9a clients
gained knowledge of region they're using, however there were a couple
of typos in initialising those.

This commit alters:
heat client to use region passed
mistral client to have default value (None)

Change-Id: I925c41b09758f531ebf021381f4899fb537b6f32
Closes-Bug: #1620716
2016-09-06 16:58:14 +00:00
Stan Lagun acd269f9b2 Update clients with multi-region support
Clients for various OpenStack services
were updated so that it would be
possible to specify region name explicitly.

If it is not provided then for clients that are
used internally by the core library it is taken
from the current region. Otherwise the default
environment region is used.

Change-Id: I289c7f8dc93a30ba1d5aa06d9da29a6af1308b9a
2016-08-29 13:18:40 -07:00
Victor Ryzhenkin 66f310b227 Change Murano API detection in tests and fix tests itself
- Use 401 error to determine work of Murano API in shell via curl
- Change tempest parameters in utils
- Rename mistralclient.py to workflowclient.py due names conflict in
path.

Closes-Bug: #1614602

Change-Id: I91bdda91da929b183393c4210af86bce619a53ec
2016-08-22 19:02:09 +00:00