2520 Commits

Author SHA1 Message Date
Andreas Jaeger
727bf03512 Import legacy keystoneclient-dsvm-functional
Import Zuul v2 legacy job so that it can be modified and
converted to v3 in-repo.

Change-Id: Ia1a0efa0591d0e37e22a8cac24b72af63604f087
2018-09-24 20:22:01 +02:00
Andreas Jaeger
f311819acf Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job as
non-voting in the check queue only.

Use openstack-lower-constraints-jobs template

Remove jobs that are part of the templates.

Change-Id: I53c95dfd73679653099df83400e18f9ba5c1def7
2018-09-24 20:20:57 +02:00
Zuul
abeacaef03 Merge "Update reno for stable/rocky" 2018-09-06 19:09:39 +00:00
Doug Hellmann
59f3bbed5b add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I50cd4bef7aae2792f38333fe019d0ec1b7fb2736
Story: #2002586
Task: #24304
2018-08-29 16:05:00 -04:00
Doug Hellmann
58e3e41f18 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Id84bb8e0e754b6eb20f85f0a0c1c7416bb9664c8
Story: #2002586
Task: #24304
2018-08-29 16:04:57 -04:00
Doug Hellmann
f8c28e76ad switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I33d8721a9fd6ef8b2daa542f9e51dc36cd69dbac
Story: #2002586
Task: #24304
2018-08-29 16:04:50 -04:00
Doug Hellmann
5168c615c5 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I93c27562e47fe34b6ec9a2886347c4f224163eca
Story: #2002586
Task: #24304
2018-08-29 16:04:47 -04:00
Zuul
7935208040 Merge "fix misspelling of 'default'" 2018-08-16 08:16:28 +00:00
lvxianguo
b4fb2fbb0a fix misspelling of 'default'
Change-Id: I12ffcf28d05655f1f60038dcf1c42e43a516978e
2018-08-16 09:03:37 +08:00
0438a3ca44 Update reno for stable/rocky
Change-Id: I5a190d6ee3b55355611f1f431f165ee54207a548
2018-08-08 09:35:38 +00:00
zhubx007
31a7ce67fe refactor the getid method in keystoneclient/base.py
Refer to a merged commit.
https://review.openstack.org/#/c/588983/

TrivialFix

Change-Id: Ie3a02843e35382dd24230e91534b6ed72846957d
2018-08-08 10:35:12 +08:00
Zuul
783655f546 Merge "Switch to stestr" 2018-07-24 13:00:47 +00:00
Vu Cong Tuan
e29067486a Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I6484b605b1a7b8bcc4589170d2645f7cb0ca66f6
2018-07-11 09:59:08 +07:00
wu.chunyang
ac03532e29 Add release note link in README
Change-Id: I5b9b9c31d58f0e5411d03d9f27991c97f3ad3980
2018-06-28 09:38:47 +00:00
Zuul
234ea50d5d Merge "Add support for project-specific limits" 2018-06-20 20:33:45 +00:00
Zuul
cd87a1e474 Merge "Add support for registered limits" 2018-06-20 20:21:13 +00:00
chenxing
5700bac410 Update IdentityProviderManager docstring
Change-Id: Ie386caf4fc9ad660581558406cd72fafc391379d
Closes-Bug: #1763475
2018-06-20 12:03:11 +08:00
Zuul
c878196076 Merge "Remove PyPI downloads" 2018-06-15 21:08:38 +00:00
Zuul
d016989283 Merge "fix a typo in docstring" 2018-06-15 13:36:04 +00:00
Lance Bragstad
650716d0dd Add support for project-specific limits
Thsi commit adds client support for managing limits in keystone.

bp unified-limits

Change-Id: I33251dbd4d3bfaf178ca86a2f5d564ac94879dd2
2018-06-14 18:39:01 +00:00
Lance Bragstad
0b9a7b05c0 Add support for registered limits
This change add client support for creating, reading, updating, and
deleting registered limits.

A subsequent patch will do the same for project-specific limits.

bp unified-limits
Depends-On: https://review.openstack.org/#/c/569741/
Change-Id: I6b5d106d08af53c2ad41ed3f799e9e71d370c6dd
2018-06-14 18:35:52 +00:00
Zuul
41e44e61dc Merge "fix tox python3 overrides" 2018-06-11 16:59:10 +00:00
Morgan Fainberg
f2d3fec9b2 Fix python3 test compat
Python3 test requirement means that the unicode type does not exist
instead we use six.unicode to get `unicode` in py27 and `str` in
python3.

Change-Id: I2cbf2e63a9d93c232b6928acf002a45b7fbcec8e
2018-06-10 18:36:50 +00:00
Doug Hellmann
a019108f2b fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I0637976fc3097ff5052e38cf8a9afc7a3330034f
Depends-On: I2cbf2e63a9d93c232b6928acf002a45b7fbcec8e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-08 16:14:29 +00:00
Chen
ba7f1217ac Remove PyPI downloads
According to official site,
https://packaging.python.org/guides/analyzing-pypi-package-downloads/
PyPI package download statistics is no longer maintained and thus
should be removed.

Change-Id: Ib43759f6e7edc55f13a2466a7c6098cca883df39
2018-06-07 22:38:41 +08:00
melissaml
c68c272c10 fix a typo in docstring
Change-Id: I56e9c3b03ed85c1c6031390b835d678c43e51e17
2018-06-07 15:08:42 +08:00
Tovin Seven
20a2f2ffdc Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I5d7b250d0281883b91e80c83fd0af352b8846b43
2018-04-20 17:20:18 +07:00
Doug Hellmann
935401e67b add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I27d40ced965e35f5edcb1200faa5d1693cc12544
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
3.16.0
2018-04-09 10:26:11 -04:00
Maho Koshiya
d3ea00e6d8 Add return-request-id-to-caller function(v3)
Added return-request-id-to-caller function to resources and resource
managers in the following files.

* keystoneclient/v3/projects.py

The methods in the resource class and resource manager return
a wrapper class that has 'request_ids' property.
The caller can get request ids of the callee via the property.

NOTE:
Remaining resources from the V3 package are already covered in the
base patch: https://review.openstack.org/#/c/329913/

Change-Id: I0133d51cfadc02e2dd926b8b0419b2e1dd0fa92a
Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com>
Co-authored-by: Dinesh Bhor <dinesh.bhor@nttdata.com>
Implements: blueprint return-request-id-to-caller
2018-03-26 01:55:58 -07:00
David Stanek
b2e9caee38 Add Response class to return request-id to caller
This change is required to return 'request_id' from client
to log request_id mappings of cross-project requests.

Instantiating class 'keystoneclient.v3.client.Client' using
'include_metadata=True' will cause manager response to return
a new 'Response' class instead of just the data. This 'Response'
class is going to have additional metadata properties available
like 'request_ids' and the original data will be available as
property 'data' to it.

This change is backward compatible since user has to set a new
parameter 'include_metadata=True' to client in order to get the
request_id returned.

Co-author: Dinesh Bhor <dinesh.bhor@nttdata.com>
Partially Implements: blueprint return-request-id-to-caller
Change-Id: Ibefaa484158ff08bfcacc1e2802d87fc26fd76a5
2018-03-26 01:51:30 -07:00
OpenStack Proposal Bot
40642d597d Updated from global requirements
Change-Id: Ied4043ac0a30e78804875cbbe6e22724d164073a
2018-03-23 01:47:14 +00:00
Zuul
9476554f06 Merge "Updated from global requirements" 2018-03-21 19:58:39 +00:00
OpenStack Proposal Bot
2a13f2b557 Updated from global requirements
Change-Id: I50a3011c302fb5568da8f57e2f5c354d1afb3a94
2018-03-15 07:58:00 +00:00
melissaml
7c778ae843 Update links in README
Change the outdated links to the latest links in README

Change-Id: I19a9ece589e8412bf1dc31742c22ae8ae31acc79
2018-03-11 03:06:39 +08:00
OpenStack Proposal Bot
70f33b5e22 Updated from global requirements
Change-Id: I881fca9b06f551fd26b37fdb43502a71da8ffec8
2018-02-17 10:13:32 +00:00
Zuul
afbc8c4eaf Merge "Override find function in project" 2018-01-26 22:53:40 +00:00
Gage Hugo
53972d68f6 Override find function in project
This change overrides the base find functionality within project
in order to encode tags to a base string.

Change-Id: I4599b8a4dafcb9d4178c973eb48a8ad3a7d292f5
2018-01-24 23:23:43 -06:00
9021e33873 Update reno for stable/queens
Change-Id: Ib9f2444a91679930a42f980eab22d32241e57302
2018-01-24 19:46:08 +00:00
Zuul
1e8c9302fc Merge "Add CRUD support for application credentials" 2018-01-24 16:15:12 +00:00
Zuul
62982077aa Merge "Add system role functionality" 2018-01-24 16:13:18 +00:00
Lance Bragstad
1e435e6dcd Add system role functionality
This commit adds the necessary bits to be able to use system
role assignments from python-keystoneclient.

bp system-scope

Change-Id: Iecbcbf020a15f2bec777334c648d4477f89f3b2c
2018-01-23 23:38:34 +00:00
Colleen Murphy
d59aaaa25c Add CRUD support for application credentials
Add support for creating, reading, and deleting application credentials.
Application credentials do not support updating.

Keystoneclient does not handle authentication with application
credentials. This is done in keystoneauth. Additional work will be
needed in python-openstackclient to support both CRUD and auth for
application credentials.

bp application credentials

Change-Id: I21214238deac2c45f2f2d666287c2ae106955ab1
2018-01-23 10:09:45 +01:00
OpenStack Proposal Bot
e410b2985c Updated from global requirements
Change-Id: I748fadaececc4c5fe67ab6d671f13ce4ea964049
I44f2950a092bc03bdd0a9976242689a8f198b07a
I5f4dccaef48902bb4a5e6eab304c76cc5dbb258d
2018-01-18 10:16:34 +00:00
Zuul
e5d44e5cea Merge "Add project tags to keystoneclient" 2017-12-21 20:59:53 +00:00
Samuel Pilla
9cfbf96620 Add project tags to keystoneclient
Adds the client functionality for the following project tag calls:
- Create a project tag on a project
- Check if a project tag exists on a project
- List project tags on a project
- Modify project tags on a project
- Delete a specific project tag on a project
- Delete all project tags on a project

Co-Authored-By: Jess Egler <jess.egler@gmail.com>
Co-Authored-By: Rohan Arora <ra271w@att.com>
Co-Authored-By: Tin Lam <tin@irrational.io>

Partially Implements: bp project-tags

Change-Id: I486b2969ae0aa2638842d842fb8b0955cc086d25
2017-12-20 13:51:08 -06:00
Zuul
35c5654d88 Merge "Create doc/requirements.txt" 2017-12-20 10:10:06 +00:00
QinglinCheng
3016f08782 Create doc/requirements.txt
For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

Refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: Iaa1530f19049883fc9fbce66f1fcc82ded559a07
2017-12-19 22:20:06 +01:00
OpenStack Proposal Bot
0a282f5430 Updated from global requirements
Change-Id: I772af1795f877b6cd8f9bb4bbe1cb3d76a9d02e3
2017-12-19 01:42:59 +00:00
Zuul
2bea645ccc Merge "Updated from global requirements" 3.14.0 2017-12-07 11:22:48 +00:00
OpenStack Proposal Bot
99fae22c43 Updated from global requirements
Change-Id: Ie46206cb91bc9f34b5c30d5eba4e14a14e513dd6
2017-12-05 03:32:11 +00:00