| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As part of the first community-wide goal, teams were asked
to remove the openstack/common package of their projects
if one existed. This was a byproduct of the old oslo-incubator
form of syncing common functionality.
The package, apiclient, was moved to a top level location
and a new i18n module was created. There is no oslo.apiclient
library or equivalent, the recommended solution is to move it
in tree and maintain it there.
Change-Id: Ia788313e0926dc872a87b090ef0a350898bfb079
|
|
|
|
|
|
|
|
|
|
|
| |
Class base.Resource defines __eq__() built-in function, but does
not define __ne__() built-in function, so self.assertEqual works
but self.assertNotEqual does not work at all in this test case in
python2. This patch fixes it by defining __eq__() built-in function
of class base.Resource. Also fixes spelling errors:resoruces.
Change-Id: I8a4e09e277a14a16105feab81ba8d07ceee5b47f
Closes-Bug: #1586268
|
|
|
|
|
|
|
| |
* uuidutils has been ported to oslo.utils.uuidutils, so use the new one.
* port cliutils to ceilometerclient.common.utils
Change-Id: Ic5d3be140957510ed5d01f25552f2713845c4fdc
|
|
|
|
|
|
|
|
|
| |
The oslo.utils reflection module/code handles more variations
of where a class name may come from (on python 2 and python 3)
so its usage allows getting more accurate class names so we might
as well use it.
Change-Id: Ic6a1d4a34336ae6501c48e92e8114932c283650f
|
|
|
|
|
|
|
|
|
|
|
|
| |
The __eq__ of apiclient.base.Resource will return True,
if the two objects have same id, even if they have different
other attributes value. The behavior is weird and don't
match the semantics of object equal. The objects that have
different value should be different objects.
Fix this issue and add some test cases in this patch.
Change-Id: Ieb28aa179bda945686e0d9c2f341c373ce2bab74
Closes-Bug: #1499369
|
|
|
|
|
|
|
| |
oslo-incubator will cease to host common code soon. This is
hopefully the very last sync from oslo-incubator.
Change-Id: I5adf01a6db61f34c1699c52c08cd47c4edccd8fd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: I1f539cf9f5d6f48e10cac381c13eeb5fa314abd4
|
|
|
|
|
|
|
|
|
|
|
| |
This patch also syncs with latest oslo-incubator, to solve bug
1354470 and safe log auth token when --debug is enabled, see
https://github.com/openstack/oslo-incubator/blob/master/openstack/common/apiclient/client.py#L128
Note, this patch also removes importutils.py since it is no longer used.
Change-Id: I4f2d18ef05c3be27cf2ee3474761408e3f5ccbcd
Closes-Bug: #1354470
|
|
|
|
|
|
|
|
|
| |
- remove strutils and gettextutils from openstack/common
- start use of oslo.i18n
sync to Change-Id: Ia1820495a989f4f84530ab83f2d87d53a9f761df
Change-Id: I7e2ead688ac9fcab0ac6a2479e0eca12af415b07
|
|
|
|
|
|
|
|
|
|
|
| |
- sync code up to Change-Id: Ie6064e73abe4b0729498a0343d50e1be35684b75
- includes fix to resolve alarm-evaluator failure
- does not include openstack/common/strutils sync as it requires
test update
Co-Authored-By: Vaibhav Kale <vaibhav_kale@persistent.co.in>
Closes-Bug: #1357343
Change-Id: Ieec08520cb39c5bf2e795dfeb3e36e52c6fd2a82
|
|
|
|
|
|
|
|
|
| |
Everything is already in six>=1.4.0 and we already depend on such a
version. There's no reason to keep this file. So remove py3kcompat
from python-ceilometerclient.
Change-Id: Ide6876e7a60377cb3843816d1d9ab2c589bc8f1b
Closes-Bug: #1280033
|
|
|
|
|
|
|
|
|
| |
This fixes a bunch os Python3-related issues, linked to iteritems(), urllib,
encoding, etc.
This is now up-to-date with 6827012438c7c88e0f54803f33c612684cf34e86 in Oslo.
Change-Id: Id8c265d76abfd8ede5575d3903f612ad1ea46643
|
|
|
|
|
|
|
|
|
| |
- py3 compatibility fixes
- Only pass non-None sortby to PrettyTable.get_string fix
synced with commit-id: 0d2546b228f13a42355bc54e82256bf17a2eb478
Change-Id: Ic70eba1a10339ad5407541446cd37c9229836965
|
|
|
|
|
| |
Change-Id: I3122b62ebf87354340e971f7cb58f67045fbcfef
Related-Bug: #1227495
|
|
|
|
|
| |
Change-Id: I7eb0adfbb6bc86157c3e3b969c00099dd8cfe315
Related-Bug: #1227495
|
|
|
|
|
|
|
|
|
| |
Copy py3kcompat from oslo for urlparse
Substitute StringIO / httplib with six
Partial Implement: blueprint py33-support
Change-Id: Ic8da2ca53b4217ef13f15be094437f1f4e643001
|
|
|
|
|
|
| |
Fixes bug 1179007.
Change-Id: Ie921a710d9460196ed8023ad63f05dec998b60f0
|
|
|
|
| |
Change-Id: I2d9f4b9ac585d91c2d7651db96c9440ff683e0ef
|
|
|
|
|
|
| |
Gets things set for tag-based versions.
Change-Id: I8cc498562dde8831145583caf85de2ed46ccd206
|
|
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|