Commit Graph

18 Commits (581f4cd49301fa0918daa8c8f2091db022ffc1f7)

Author SHA1 Message Date
Morgan Fainberg f70d313def Initial Split of python-keystoneclient to keystoneauth
Change-Id: Ib33d022506072749e23caf6d9defbcc9a65c8b48
2015-04-20 14:49:59 -07:00
Steve Martinelli 6db6946c98 Use oslo.utils and oslo.serialization
Left timeutils and strutils in openstack/common since they are used in
openstack/common/apiclient and memorycache.

Change-Id: Idb5f09c159d907dfba84cd1f7501f650318af7d9
2014-10-15 04:25:50 +00:00
Brant Knudson 383b0a765c Config fixture from oslo-incubator is not used.
Keystoneclient doesn't use the config fixture, so remove it from
openstack-common.conf and re-sync to remove it.

Change-Id: I9cf85a0bbbceb4c36e6ec968b19f34bb0716be95
2014-07-31 16:18:36 -05:00
Brant Knudson 0a2fd6d7fa Remove importutils from oslo config
The importutils module is only used by other oslo modules, so
remove it from openstack-common.conf. It'll be pulled in
automatically if it's needed.

Change-Id: Iaa7e047a9ff76f911f8c64b45ceb1f240855670a
2014-05-05 17:35:04 -05:00
Jamie Lennox 66f8efbfe1 Sync config fixture object from oslo.incubator
Specify the config file directly otherwise we end up with a lot of new
dependencies.

Change-Id: Id39f5c039d5d0d68ab6e4008a1212868396eda3e
2014-03-24 12:09:35 +10:00
llg8212 4dadb7a576 Remove dependent module py3kcompat
Sync commit of removing py3kcompat from oslo

Change-Id: Icb7740a3652c26f0c1da3688aae7fb5b10b5c3e2
Closes-Bug: #1280033
2014-02-27 14:56:26 +08:00
Jenkins d7cfdbe38e Merge "Sync openstack/common/memorycache.py with Oslo" 2014-02-11 15:57:01 +00:00
Cyril Roelandt c26a5a3769 Sync openstack/common/memorycache.py with Oslo
This fixes an issue in Client.get(), where a dictionary was modified as we
iterated on its keys, which does not work in Python 3.

Change-Id: I37583504dcc672060a3d780dce46418baa32dd53
2014-02-07 20:45:13 +01:00
Andrey Kurilin 6f610b8d1c Sync apiclient from oslo
In the process of unification of the clients code we should
reuse common functionality from Oslo.

Hash of latest commit which affected apiclient in oslo at time of sync:
- be81d6ba70152e5cdd7e8e9d789b9733c6ff527f

Related to blueprint common-client-library-2

Change-Id: I93d5dae3a2ba124d6fba91f02c486dca25c5e09e
2014-02-04 17:39:39 +02:00
Chmouel Boudjnah 9c4178415f Sync with latest module from oslo
- This add a few bugfixes for py3 support.

Change-Id: Ieb73d5f799423fa8abf71634c86601ba6d32df2f
2013-12-10 11:11:53 +01:00
Chuck Short cde7614e69 Sync py3kcompat from oslo-incubator
Python3 reorganized the standard library and moved several
functions to different modules and combined modules. Six
provides a consistent interface to the module through
six.moves

However urllib/urlparse is not covered by six.moves so
py3kcompat adds python2/python3 compatibility layer for
urllib/urlparse.

Change-Id: I98d45a84e8c2dcd965a9e5cc08d7bb341eb08bfc
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-08-23 11:25:52 -04:00
Alessio Ababilov 9e0728429d Add importutils and strutils from oslo
They will be used by apiclient library.

Change-Id: Ifb0d5fa1480c3701316b57d9e59507d608b11753
2013-08-20 16:18:45 +03:00
Alessio Ababilov 9d04d443b0 Update openstack-common.conf format
Change-Id: I78528bf7055b6975a642e1f2f3264e94f5a4885b
2013-07-16 14:34:34 +03:00
Monty Taylor a985862ad3 Migrate to pbr.
Fixes bug 1179007

Change-Id: Iceb63c223faab49be01baa36c035f703ddf59fc0
2013-05-17 14:43:31 -07:00
Alan Pevec 11c4f003d4 Use oslo-config-2013.1b3
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.

Removes the load of copied-and-pasted cfg from each application
in authtoken middleware.
Depends on oslo-config deployments:
Nova I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Glance I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Quantum I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Cinder I4815aeb8a9341a31a250e920157f15ee15cfc5bc

Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.

Change-Id: I18c450174277c8e2d15ed93879da6cd92074c27a
2013-02-17 00:35:40 +01:00
Matthew Treinish ddfa4d0048 Use install_venv_common.py from oslo.
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.

Change-Id: Ia8c2674b4abed8de754e92ea795130cdb065a720
2013-02-06 16:47:37 -05:00
Henry Nash 86acb5657e Make initial structural changes to keystoneclient in preparation
to moving auth_token here from keystone.  No functional change
should occur from this commit (even though it did refresh a newer copy
of openstack.common.setup.py, none of the newer updates are in
functions called from this client)

blueprint authtoken-to-keystoneclient-repo

Change-Id: Ie54feb73e0e34b56400fdaa8a8f876f9284bac27
2012-11-09 02:35:11 +00:00
Bhuvan Arumugam a393258a66 Auto generate AUTHORS for python-keystoneclient.
Bug: 976267

Now that git commits are gated by CLA, we shouldn't enforce
committers to add an entry in AUTHORS file. The AUTHORS file
should be generated automatically, based on git commits.

This commit fixes the problem.

* AUTHORS
  Remove this file.

* .gitignore
  Add AUTHORS file.

* keystoneclient/openstack/common/setup.py
  generate_authors(): New method to create AUTHORS file. If
  AUTHORS.in file exists, append it's content to AUTHORS file.

* setup.py
  Import the new method.
  Generate AUTHORS file before creating the package.

* openstack-common.conf
  Add config file to copy libraries from openstack-common project,
  using update.py script.

* keystoneclient/openstack/__init__.py
* keystoneclient/openstack/common/__init__.py
  Add new placeholders.

Change-Id: I1a17ee8f1e19e8ad522f0d2e37c04fffba5e16cb
2012-05-04 21:46:32 -07:00