10621 Commits

Author SHA1 Message Date
Anh Tran
e4a82b3da1 api-ref: Renaming parameters of V3-ext APIs
Change-Id: I7f0ab81e3f8c0799bbcbbcd5a849603d7c2bde3a
Partial-Bug: #1610777
2016-08-11 13:36:30 +07:00
Jenkins
c065366978 Merge "Use international logging message" 2016-08-11 06:02:00 +00:00
Jenkins
cab5b468ca Merge "api-ref: Correcting V3 Credentials APIs" 2016-08-11 05:44:09 +00:00
Jenkins
1f1934bfe8 Merge "api-ref: Correcting V3 Policies APIs" 2016-08-11 05:44:02 +00:00
Jenkins
b91f1ae08a Merge "api-ref: Correcting V3 Authentication APIs" 2016-08-11 04:52:59 +00:00
Jenkins
f5e33001e8 Merge "api-ref: Correcting V3 Domain config APIs" 2016-08-11 04:52:52 +00:00
Jenkins
ef1431d53b Merge "Updates Development Environment Docs" 2016-08-11 03:29:54 +00:00
Anh Tran
9241aeb485 api-ref: Correcting V3 Credentials APIs
Correcting all parameters of Credentials APIs.
http://developer.openstack.org/api-ref/identity/v3/index.html#credentials
Rename parameters for more easy to maintain.

Change-Id: I811558a646d41d2594777b4601fa223d13e193e7
Partial-Bug: #1610777
2016-08-11 08:38:19 +07:00
Anh Tran
ceaa09dcd7 api-ref: Correcting V3 Policies APIs
Fixed in Create/List/Show/Update APIs.
http://developer.openstack.org/api-ref/identity/v3/index.html#policies

Change-Id: Ia3e4caf80c783ac2213444e9d6fecf39018187d8
Partial-Bug: #1610777
2016-08-11 08:35:26 +07:00
Anh Tran
b3c838153f api-ref: Correcting V3 Authentication APIs
http://developer.openstack.org/api-ref/identity/v3/index.html#authentication-and-token-management

Change-Id: I17a3a974c36c0992c681100833f0443963edbf69
Partial-Bug: #1610777
2016-08-11 08:29:42 +07:00
Anh Tran
8d5926a962 api-ref: Correcting V3 Domain config APIs
Correcting parameters of APIs.
http://developer.openstack.org/api-ref/identity/v3/index.html#domain-configuration

Change-Id: Ia36dd13f813d3cf718a1d3bf9a7f4be482a1ce0a
Partial-Bug: #1610777
2016-08-11 08:23:35 +07:00
liujiong
8a069c066b Use international logging message
Change-Id: I688ae251a909682dd206a5f27b250e398643db4f
2016-08-11 07:42:24 +08:00
Jenkins
93248d23a1 Merge "api-ref: Correcting V3 Endpoints APIs" 2016-08-10 22:14:22 +00:00
Samuel de Medeiros Queiroz
7f3ec1428d Updates Development Environment Docs
Now that we support other-requirements.txt and there is a Project Team
Guide doc [1] on how to set a Python environment up for development, we
can take benefit of them and make our docs more concise.

[1] http://docs.openstack.org/project-team-guide/project-setup/python.html

Co-Authored-By: Hidekazu Nakamura <hid-nakamura@vf.jp.nec.com>

Change-Id: Idcfadb7922b75464af430264e55aadc442e1b0a8
2016-08-10 20:36:27 +00:00
Tin Lam
5740a320f8 api-ref: Add query options to GET /projects API documentation
Add the following query options to the api-ref:

* parents_as_list (key-only, no value expected)
* subtree_as_list (key-only, no value expected)
* parents_as_ids (key-only, no value expected)
* subtree_as_ids (key-only, no value expected)

Change-Id: Ie9362885d57112c81c7141c4238e9e3d5d3e0431
Closes-Bug: #1609175
2016-08-10 12:32:31 +00:00
Jenkins
cdd8f24250 Merge "api-ref: Correcting V3 Services APIs" 2016-08-10 12:20:06 +00:00
Jenkins
1270396c47 Merge "api-ref: Add "nocatalog" option to GET /v3/auth/tokens" 2016-08-10 02:29:28 +00:00
Jenkins
2ca0db2d62 Merge "api-ref: Add missing parameter tables to tenant" 2016-08-10 02:29:20 +00:00
Jenkins
967d8fcad0 Merge "Updated from global requirements" 2016-08-10 00:58:28 +00:00
Jenkins
83d6720e15 Merge "Fix warning when running tox -e api-ref" 2016-08-09 19:04:08 +00:00
OpenStack Proposal Bot
2398e5bb8d Updated from global requirements
Change-Id: I9531301d14942dfc5e33ca58a93908987e56222c
2016-08-09 16:00:52 +00:00
Gage Hugo
6db31c8590 api-ref: Add missing parameter tables to tenant
This adds response tables to multiple tenant API calls within
the identity admin API.

Change-Id: I78ff3d981ed0a1d4dc42d0a81b0369e7275d4d85
Closes-Bug: #1572168
2016-08-09 10:37:31 -05:00
Samuel de Medeiros Queiroz
e1e7c7ddb7 Create unit tests for the policy drivers
This change adds unit tests for the current version of the policy
abstract driver.

Change-Id: I8795999753424fdda512e5a1a8b0b6e522a39b1a
2016-08-09 11:59:20 -03:00
Jenkins
d082fb29ce Merge "PCI-DSS Password expires validation" 2016-08-09 10:40:20 +00:00
Anh Tran
6919253c8f api-ref: Correcting V3 Endpoints APIs
Correcting all parameters of Show/Create/List/Update/Delete APIs.
http://developer.openstack.org/api-ref/identity/v3/index.html?#show-endpoint-details

Change-Id: Iea796c4cd475bd0bb2879f4810abf9a645ff58ea
Partial-Bug: #1610777
2016-08-09 14:17:00 +07:00
Anh Tran
9a520bcfa8 api-ref: Correcting V3 Services APIs
Correcting all parameters of services APIs.
http://developer.openstack.org/api-ref/identity/v3/index.html?expanded=#list-services
Rename parameters for more easy to maintain.

Change-Id: I9819c19032c93bab9a613bf94b4b95dda722ced9
Partial-Bug: #1610777
2016-08-09 14:17:00 +07:00
Tin Lam
82bf342f20 api-ref: Add "nocatalog" option to GET /v3/auth/tokens
Added missing "nocatalog" query parameter for GET /v3/auth/tokens API
to api-ref.  See [1].

[1] http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#validate-token

Change-Id: Ie2310b7dfaf8d6a05b6a61ac6f9639d181798930
Closes-Bug: #1609177
2016-08-09 00:51:58 -05:00
Tin Lam
6b52756f09 Fix warning when running tox -e api-ref
Running `tox -e api-ref` prints warning:

  WARNING:test command found but not installed in testenv
    cmd: /bin/rm
    env: /opt/stack/keystone/.tox/api-ref
  Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.

Change-Id: I4c1718dac22c374f048d9e04f42051e10021bb31
2016-08-08 23:51:18 -05:00
Dolph Mathews
ff00d33e9b Add basic upgrade documentation
Rolling upgrades are being introduced in the Newton release, which will
substantially impact the process that deployers will have to follow to
upgrade keystone.

This will provide us a basis for documenting rolling upgrades (also,
it's about time we documented our current process).

bp manage-migration

Change-Id: I5a37c781b83967b12cda60b054c612df3c3cb697
2016-08-08 16:12:24 -05:00
Jenkins
12f0db8cc9 Merge "remove test utilities related to adding extensions" 2016-08-08 18:14:00 +00:00
liyingjun
8026a952de Document query option (is_domain) for projects
The "is_domain" query parameter is missing from GET/UPDATE /v3/projects
documentation in the API site.

Change-Id: I059f7e2ac689ec799dbdcc30c071de26d1603c47
Closes-bug: #1609174
2016-08-07 22:47:10 +08:00
Steve Martinelli
6c408a0607 remove test utilities related to adding extensions
these functions are not used by any test, no need to keep them
around.

Change-Id: If38e8cc496cc1c3909bbb7fe4da89fa85bdc02f5
2016-08-05 21:16:17 -07:00
Jenkins
969d2fc703 Merge "Update etc/keystone.conf.sample" 2016-08-06 00:20:47 +00:00
Jenkins
3f04fc368f Merge "Make hash_algorithms order deterministic" 2016-08-05 20:12:21 +00:00
liyanhang
b33512f0d8 Update etc/keystone.conf.sample
If we generate keystone.conf using "tox -e genconfig",
some options are different from the sample file.
So update it.

Change-Id: I7f20338d2fab60f692dc58ca731a6a56279224fe
2016-08-05 14:46:43 +00:00
David Stanek
3de3d71044 Make hash_algorithms order deterministic
hashlib.algorithms_guaranteed is a set so the order is not guaranteed. This
means that the order could be different every time 'tox -e genconfig'
is run.

Change-Id: Iaa46604fccb382f174836fa6e248abf0bd7c3674
2016-08-05 14:31:58 +00:00
Ronald De Rose
041f53f2f6 PCI-DSS Password expires validation
This patch implements the following PCI-DSS requirements:

* PCI-DSS 8.2.4: Change user passwords/passphrases at least once every
90 days.

Once a user's password is expired, they will not be able to authenticate
and be required to reset their password. This patch adds a new
password_expires_at attribute to the user response.

Depends-On: I07c10de627898d6ac79578dc24292ded4a2190f1
Partially-implements: blueprint pci-dss
Change-Id: If8979dbfc202bc354b1537a5962143bb7b3be28e
2016-08-05 13:21:42 +00:00
Jenkins
910e6e0a12 Merge "PCI-DSS Lockout requirements" 2016-08-05 06:28:09 +00:00
Jenkins
bf63a23cd2 Merge "Report v2.0 as deprecated in version discovery" 2016-08-05 04:23:48 +00:00
Jenkins
c02ce9f261 Merge "Update the api-ref to mark the v2 API as deprecated" 2016-08-05 04:23:41 +00:00
Jenkins
91586b7741 Merge "Add schema validation to create user v2" 2016-08-05 02:44:14 +00:00
Jenkins
b393123111 Merge "Fix the spelling of a test name" 2016-08-04 22:32:58 +00:00
Boris Bobrov
aa9fdfc41a Report v2.0 as deprecated in version discovery
Change-Id: Iecf52ec18b05b894bd233b532ab210c34911ae17
2016-08-04 23:59:38 +03:00
Matt Riedemann
50ff85813f Update the api-ref to mark the v2 API as deprecated
The v2 API was deprecated in mitaka with change:

e63a8311fa2e5d7cccdb76b4cd3fc17719cc86c6

The api-ref needs to be updated to show that as
well since that's the main thing someone sees when
they are in the API docs.

The status value comes from:

https://wiki.openstack.org/wiki/VersionDiscovery#status

Change-Id: I6dc5d8fd26d0981e5d83e829fe2dd09b7b9b4c17
2016-08-04 16:01:05 -04:00
gage hugo
a5264d7f35 Add schema validation to create user v2
Added validation for create user in v2

Partially implements: bp schema-validation-extent

Change-Id: I555243cb00423367a415dcbf3674af0940c2a669
2016-08-04 19:33:17 +00:00
Lance Bragstad
935530f4e3 Fix the spelling of a test name
Change-Id: I4b3a272a02e1b089d289310a37205206c4188718
2016-08-04 17:37:21 +00:00
Dolph Mathews
141970f193 Remove mention of db_sync per backend
Many releases ago, we supported the notion of having migration
repositories per backend interface. If a backend needed to use the
database, it could manage it's own migrations independently from the
rest of keystone. That functionality was removed long ago, and this
blurb of text should have been removed with it.

Change-Id: If90e25ec556cf42322509ef28878e96120b0baad
2016-08-04 12:09:35 -05:00
Jenkins
4c7be56e34 Merge "Use URIOpt instead of StrOpt for SAML config" 2016-08-04 16:32:06 +00:00
Alexander Makarov
9838e542af Trust controller refactoring
In lieu of new more complicated role system role collections tend to grow,
so extracting all roles to normalize/populate trust scope should be more
granular. This patch is a rework of role treating logic in trust controller.

Change-Id: Id6945ff9be23250d72909beceaa9cd73eebde04f
2016-08-04 18:49:32 +03:00
Béla Vancsics
ffd2fea754 Use more specific asserts in tests
Instead of assertTrue and assertFalse use more specific asserts.
They are compatible with Python 2.7[1] and 3.4[2]

[1]: https://docs.python.org/2.7/library/unittest.html
[2]: https://docs.python.org/3.4/library/unittest.html

Change-Id: Id9f73e90f0786ef7576edd2f97aa31b1503c14dd
2016-08-04 12:48:08 +02:00