168 Commits

Author SHA1 Message Date
wangxiyuan
090886902c Use pycodestyle in place of pep8
The lower version of pycodestyle lib (aliased to pep8) doesn't work
for py36 env. This commit unblocks the py36 gate by adding a
dependency on pycodestyle and using that for style checks.

Bump the "hacking" lib version to v1.1.0 which depends
on a higher verion of pycodestyle.

Change-Id: I3fc591e09c1e25a3bd2a3922880772ea9617f1e3
2018-11-20 17:16:01 +00:00
Nguyen Hai
a04a1dc782 Follow the new PTI for document build
- Follow new PTI for docs build
- Add sphinxcontrib.apidoc to replace pbr autodoc

REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Depends-On: https://review.openstack.org/#/c/559334/
Change-Id: I1d5f01cf49f36567f5a891c69c7269d3e966b9c5
2018-04-09 01:13:58 +09:00
OpenStack Proposal Bot
ad6a2bce2a Updated from global requirements
Change-Id: I399e08cbd0d5fa519bd0a1995d61cbda340f34bb
2018-01-17 20:36:58 +00:00
qinglin.cheng
07bba320ae 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: Ic05a55fb14741bb0802c217c81b0035b6e1f7de2
2017-12-19 16:17:26 +01:00
OpenStack Proposal Bot
dd0f7876d2 Updated from global requirements
Change-Id: I508ab26c6537104b1783f6653f04d85d885ef9d2
2017-11-16 11:06:56 +00:00
Jenkins
c83d139273 Merge "Migrate to stestr" 2017-09-27 22:58:41 +00:00
Gage Hugo
71e543152e Migrate to stestr
With the latests changes to os-testr[0] it now expects
a .stestr.conf file instead of a .testr.conf file. This
change migrates the testing suite from using testr to
use stestr instead.

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html

Change-Id: Ie0de862f2192491fa7752af03c8c03b3ee36337a
2017-09-22 11:07:09 -05:00
OpenStack Proposal Bot
fdb6adf055 Updated from global requirements
Change-Id: I3e5bb988ef2dfe93442cb5eada086313d22d5857
2017-09-22 12:52:15 +00:00
OpenStack Proposal Bot
a1f19c73b6 Updated from global requirements
Change-Id: I1e451ebff88a14928fe7d4014a837e11dfb91f6d
2017-08-24 05:50:44 +00:00
Morgan Fainberg
38974af24c Add int storage of datetime for password created/expires
Due to MySQL (in some versions) not storing datetime resolution below
one second, keystone occasionally ends up with weird behavior such as
a New password not being valid. The password created at and expires at
columns now store both datetime (for rolling upgrades) and integers.

Keystone from Pike and beyond leans on the new created_at_int column
and expires_at_int column.

Change-Id: I2c219b4b9b353f1e2cce6088849a773196f0e443
Closes-Bug: #1702211
2017-08-15 16:29:18 +00:00
OpenStack Proposal Bot
80c81ad3c6 Updated from global requirements
Change-Id: Ic299eb548c5ed15b68bb1b8204c32f520e25ed74
2017-07-27 19:11:04 +00:00
OpenStack Proposal Bot
4172893a5d Updated from global requirements
Change-Id: Ic82aba8fccf07930897dd51220185423cacbf3ea
2017-07-14 23:03:13 +00:00
Van Hung Pham
6e631db558 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I31543b78a1b2d2df685e295d4d011c5e6e4a165b
2017-06-30 14:07:10 +07:00
OpenStack Proposal Bot
147bbd6e2d Updated from global requirements
Change-Id: I0f3ce33f7f60b3e9f5588a9b69cd29bb6fd40e74
2017-06-27 12:11:32 +00:00
Samriddhi
f992b1ce42 Updated the keystone docs to follow the docs theme
Changed the existing keystone documenatation html theme to the
new openstackdocstheme. For reference, the same theme is being
used here, https://docs.openstack.org/admin-guide/.

Closes-Bug: #1692031
Change-Id: Ibf1b018e8ed38afa04d02ab033762d6b0ceab89b
2017-06-22 13:26:46 +05:30
OpenStack Proposal Bot
5bca492d17 Updated from global requirements
Change-Id: Ieb62c4ff2d830609bdb73e6f1264262d9d6a7d01
2017-06-19 21:03:58 +00:00
OpenStack Proposal Bot
a83257f756 Updated from global requirements
Change-Id: I69d68ca86c1ed1520491f92ef3c3a9bf1421137d
2017-06-10 21:38:30 +00:00
OpenStack Proposal Bot
753f8a6151 Updated from global requirements
Change-Id: Ib313761ed93a2e60cb5d3dc4e654724b70ba1332
2017-06-03 13:05:13 +00:00
OpenStack Proposal Bot
3d033df1c0 Updated from global requirements
Change-Id: I327a89635e2472a90fb57769d06190c4f7640fe7
2017-05-24 03:37:21 +00:00
OpenStack Proposal Bot
f172759285 Updated from global requirements
Change-Id: I537f5ba3bdef64abfee3857d1d7c9a559960a119
2017-05-17 03:49:09 +00:00
OpenStack Proposal Bot
2bda1211ed Updated from global requirements
Change-Id: I074fab11f1a7167a3c7ec9b759f6fc3ba4489d03
2017-05-15 00:45:27 +00:00
OpenStack Proposal Bot
7946f67cfc Updated from global requirements
Change-Id: Ie4de66c0f67a73741dc80e680fcd27e710c1b5e0
2017-03-30 01:16:40 +00:00
OpenStack Proposal Bot
a55f267bb9 Updated from global requirements
Change-Id: Ibe3650732dab999ed2f07dc6c949f197a0d4a38c
2017-02-19 21:21:46 +00:00
xurong00037997
6cf52d1fc6 Update hacking version
Change-Id: I4369dd138129052a48a0babe212610576a67a47d
2017-02-04 17:51:52 +08:00
OpenStack Proposal Bot
62fa3cdc57 Updated from global requirements
Change-Id: I3ce564d414caef55e812b7c7624a2e87c211b6d8
2017-01-02 16:10:39 +00:00
OpenStack Proposal Bot
1dbbec037e Updated from global requirements
Change-Id: I916a8456da4bc5c6db4ce66946ff09f58b36b692
2016-12-23 03:12:19 +00:00
OpenStack Proposal Bot
f3d58a53dd Updated from global requirements
Change-Id: I65c524c3cf3debc29e0923490805c6a2ec9bf85c
2016-12-02 05:06:03 +00:00
OpenStack Proposal Bot
3d513daeb3 Updated from global requirements
Change-Id: I4be320de402c5df9de51d9115fdd8a7c5615100b
2016-11-14 15:05:24 +00:00
OpenStack Proposal Bot
6589dbd5af Updated from global requirements
Change-Id: Ie9e0b75a96d352961815aabdd9607feb12946b7a
2016-11-08 21:23:14 +00:00
OpenStack Proposal Bot
1b799943db Updated from global requirements
Change-Id: I52096766a9c07eab147db2557ca09cfff60b3e0a
2016-11-02 15:32:48 +00:00
OpenStack Proposal Bot
b8435cc152 Updated from global requirements
Change-Id: Ib83632b8112ef5caea285301f5f96b5451d81000
2016-10-22 01:20:06 +00:00
OpenStack Proposal Bot
635d4a4c31 Updated from global requirements
Change-Id: I765656deac29b3bfd8f4a82d00bffbb2c6478fb1
2016-09-30 10:17:52 +00:00
OpenStack Proposal Bot
a0ee0bbaf2 Updated from global requirements
Change-Id: Id638c4c2baba3f3a1d8e3526b07418067d045a89
2016-09-28 16:53:51 +00:00
OpenStack Proposal Bot
a615a85f36 Updated from global requirements
Change-Id: I4119653386091e32572573adf02b37a83d158654
2016-09-27 10:00:38 +00:00
OpenStack Proposal Bot
e56dbe8d58 Updated from global requirements
Change-Id: I2bad9b39ed9ad4995e14e1c253abb3f8cbac9267
2016-09-09 16:05:04 +00:00
OpenStack Proposal Bot
372c1bd5bf Updated from global requirements
Change-Id: Ide788aaad730825c14d7adf5a7305796fb9228e2
2016-08-26 09:11:39 +00:00
Matthew Treinish
4bf04ff189 Remove mox from test-requirements
The requirement is not used anywhere and commented out, lets just
remove it. There is no reason to keep it in there.

Change-Id: I1da227911d04de4d9baadb92db324ce8590060e7
2016-08-24 10:48:41 -04:00
OpenStack Proposal Bot
0c78293216 Updated from global requirements
Change-Id: I326f00a4876a26b1a53285dfbcee4add54dcd7ff
2016-08-12 04:49:45 +00:00
OpenStack Proposal Bot
2398e5bb8d Updated from global requirements
Change-Id: I9531301d14942dfc5e33ca58a93908987e56222c
2016-08-09 16:00:52 +00:00
OpenStack Proposal Bot
b679f2b440 Updated from global requirements
Change-Id: I652cc271d0b7affb9d62e0d7bf6a5240a2790b8e
2016-07-19 21:08:11 +00:00
Lance Bragstad
7646e2181b Use freezegun to increment the clock in test_v3_filters
In preparation for making Fernet the default token provider, we must freeze and
increment the clock in certain tests. This is because Fernet does not support
sub-second precision and if a Fernet token is validated in the same second that
a revocation event has occured, it will be considered invalid.

This commit makes it so that we freeze the clock in
test_list_users_filtered_by_funny_name() and increment it by one second when we
go to list users by name.

This fix was originally a part of https://review.openstack.org/#/c/258650 but
this is an attempt to break 258650 into smaller, more reviewable, pieces.

Partial-Bug: 1561054
Change-Id: I3ea4af702e6914775156c605799992a41e8e75c5
2016-07-18 15:47:51 +00:00
OpenStack Proposal Bot
960ef1efff Updated from global requirements
Change-Id: I57c6e621f91936697c1827622406851b33cf6204
2016-07-01 04:19:04 +00:00
OpenStack Proposal Bot
113b00d8b7 Updated from global requirements
Change-Id: Iee5ddacf58d80c8a36ae2048945c24de385456cd
2016-06-24 03:12:13 +00:00
OpenStack Proposal Bot
2787e2f7cc Updated from global requirements
Change-Id: I8e22c149489659485d41b7b679c64015b4f90c01
2016-06-21 18:00:01 +00:00
OpenStack Proposal Bot
d205900f9d Updated from global requirements
Change-Id: I86bc72105f59e0374d023e6310d78344c4713bc5
2016-06-03 20:09:29 +00:00
OpenStack Proposal Bot
a0bd19ac92 Updated from global requirements
Change-Id: I7d7b5d3021044394146dba6422b1c0550606cd4b
2016-06-02 04:04:31 +00:00
OpenStack Proposal Bot
ae8cdbfeee Updated from global requirements
Change-Id: Id37a397a08de99a05720f3a5bd9571f3d7647994
2016-05-26 16:59:06 +00:00
Samuel de Medeiros Queiroz
9a5395f1b2 Migrate identity /v3 docs from api-ref repo
Docs at [1] have already been converted from WADL (SGML / XML) to RST
using fairy-slipper [2].

This commit polish the results from the conversion and migrate the docs
to our repository under 'api-ref/source' directory. In addition, it
added missing descriptions for access_token_id and consumer_id to
'parameters.yaml'.

Polishing the generated RST files include:
- Removing unnecessary blank lines;
- Removing empty references.

Polishing the generated RST files do not include:
- Modifying their content;
- Modifying file names;
- Wrapping lines at the maximum of 79 chars.

Updating the documentation will be done after this migration step.

This change also adds a tox environment to build the docs using sphinx
under 'api-ref/build', which in turn is added to '.gitignore'.

Lastly, 'os-api-ref' is added as a test requirement. It provides the
sphinx stanzas rest_method and rest_parameter, used to define OpenStack
APIs in RST docs.

[1] https://github.com/openstack/api-site/tree/master/api-ref/source/identity/v3
[2] https://github.com/russell/fairy-slipper

Change-Id: If1b9a3e1b2e4ea7211c337071254c26b881893a3
2016-05-24 09:58:23 -03:00
OpenStack Proposal Bot
7463a0cbce Updated from global requirements
Change-Id: Ic162a4ed28f2280de63a6ae1bcaac424a5badeb2
2016-05-18 12:06:32 -04:00
OpenStack Proposal Bot
d6dd7e14c8 Updated from global requirements
Change-Id: If8ba7d7e36d5da5edb0ee990e2f9894531932b0b
2016-05-17 02:57:42 +00:00