2520 Commits

Author SHA1 Message Date
Andreas Jaeger
40f4a6b282
Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: Iee9939776d5552b818aec5cab0b8c2a1133f74b9
2017-12-02 11:15:26 -06:00
Monty Taylor
f0c9b20e0f
Handle UTC+00:00 in datetime strings
In some cases, the following:

  datetime.datetime.now(tz=iso8601.iso8601.UTC).tzinfo.tzname()

returns:

  'UTC+00:00'

rather than:

  'UTC'

resulting in strings that look like:

  2013-03-04T12:00:01.000000UTC+00:00

That is just flatly invalid. The code here accounts for a tzname of
"UTC" and normalizes to to being a trailing Z as-per the ISO 8601 spec,
but it does not account for UTC+00:00. Add support for that so that we
don't produce invalid date strings.

Most of this can be avoided by replacing use of this function with the
isoformat method of datetime instead.

  datetime.datetime.now(tz=iso8601.iso8601.UTC).isoformat()

Produces

  2013-03-04T12:00:01.000000+00:00

Which while different from

  2013-03-04T12:00:01.000000Z

is still a valid iso8601 string.

Change-Id: I52ca7561abee158285c2c98ba63d84c62e12360f
2017-12-02 11:15:26 -06:00
Zuul
789301a388 Merge "Remove functional tests for v2.0 API" 2017-11-24 20:29:56 +00:00
Zuul
b8de5d1e1e Merge "Updated from global requirements" 2017-11-24 20:29:56 +00:00
Andreas Jaeger
fd476fff50 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: If5da4725a9c896543f5c7d5212871b9f14afddab
2017-11-16 20:43:09 +01:00
OpenStack Proposal Bot
8d6d10dc87 Updated from global requirements
Change-Id: I1a61cb7ddd1de429f2402f9da315c4b5b6cdee39
2017-11-16 11:24:11 +00:00
Rodrigo Duarte Sousa
43508b8db7 Remove functional tests for v2.0 API
Change-Id: I207b716e47893931e79e3758abc2bd879917f340
2017-11-14 12:32:02 -03:00
OpenStack Proposal Bot
27979b9756 Updated from global requirements
Change-Id: I5e41a20ceb8c97a7e35ce0088a81cf5ef73d8e5d
2017-11-13 21:46:45 +00:00
Nam Nguyen Hoai
3cf377d577 Use generic user for both zuul v2 and v3
Zuul v2 uses 'jenkins' as user, but Zuul v3 uses 'zuul'.
Using $USER solves it for both cases.

Change-Id: I42cfcd4d8dee2ff3a99e42a5a64f3c38163972b8
2017-10-17 07:29:00 +00:00
OpenStack Proposal Bot
df2c57c5a9 Updated from global requirements
Change-Id: I1a8ced90154ed726c877385721754686974becc1
2017-09-22 13:01:13 +00:00
lhinds
b29f478f28 Adds bandit nosec flag to hashlib.sha1
A bandit patch to block sha1 hash is failing CI [1], due to a false
positive on hashlib.sha1 (which actually uses HMAC-SHA1 in keystone
that is considered more secure then standard SHA1)

This change marks a # nosec comment against the line which is
triggering the false positive in Bandit.

[1] https://review.openstack.org/#/c/437563/6

Change-Id: Ib9618119c77f41fba0e612e37c7511676bed47e8
2017-08-31 15:34:13 -05:00
OpenStack Proposal Bot
3593e7d977 Updated from global requirements
Change-Id: Idafa206fc3478257f641acba3533affd122171e0
2017-08-18 11:41:29 +00:00
Morgan Fainberg
4a43aa02b8 Remove use of positional decorator
The positional decorator results in poorly maintainable code in
a misguided effort to emulate python3's key-word-arg only notation
and functionality. This patch removes keystoneclient's dependance
on the positional decorator.

Change-Id: I9e691cc8b0c04992f4a8dabd67e1b413d3220d23
2017-08-07 13:14:55 -07:00
Jenkins
5d0c29fc91 Merge "Update reno for stable/pike" 2017-07-31 19:10:12 +00:00
Jenkins
269fea2cd4 Merge "Updated from global requirements" 2017-07-30 12:02:08 +00:00
OpenStack Proposal Bot
4a72c72cea Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I5817b6bcf48d921150b10a87e17fe31d9d51db33
2017-07-29 06:10:31 +00:00
a4121225a7 Update reno for stable/pike
Change-Id: I16e8723a7424a44c0bef268adbcb88d3e471681a
2017-07-28 21:07:15 +00:00
OpenStack Proposal Bot
baa63e29f5 Updated from global requirements
Change-Id: I0cf901d783c93cf489bfb5aa684cd003a1fa371e
2017-07-27 20:32:34 +00:00
OpenStack Proposal Bot
a8de72a1a2 Updated from global requirements
Change-Id: I6a0f4b82bb70548bda7afaa67ca7a3adc88320cc
2017-07-23 13:51:56 +00:00
OpenStack Proposal Bot
090c0f27f7 Updated from global requirements
Change-Id: I0672453e18b684bd0210a0554c4c09795e505df4
2017-07-18 01:56:04 +00:00
Jenkins
1be750b470 Merge "Update URLs in documents according to document migration" 2017-07-17 12:45:16 +00:00
melissaml
956ec88d0a Update URLs in documents according to document migration
Change-Id: Ie0a8594f2dd0554a07111207899e6134affc998e
2017-07-14 09:56:01 +08:00
OpenStack Proposal Bot
b1e9e27f7a Updated from global requirements
Change-Id: Ia1e1a0163d038664f651f7182f6de2796ea6a840
2017-07-13 14:23:56 +00:00
Jenkins
efbe02e67c Merge "Bring back intersphinx reference to keystoneauth" 2017-07-06 06:40:57 +00:00
Jenkins
36bdcf6b2d Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-06 04:06:54 +00:00
Jenkins
6172c763d4 Merge "Change locations of docs for intersphinx" 2017-07-05 11:48:11 +00:00
Boris Bobrov
eb70dba59d Bring back intersphinx reference to keystoneauth
Change-Id: I0b1d1a4abdf919dd403679565cde046a825898fa
Depends-On: I2a4fc6a4782a5496b2ab4a8355ed2c3b6dac58fa
2017-07-05 12:04:01 +03:00
Boris Bobrov
0a79acf82f Change locations of docs for intersphinx
Due to latest change in docs the old urls don't work and cause gate
failures. Fix it to reflect the new locations.

Also temporarily drop reference to keystoneauth1 to prevent circular
dependency. This reference will be brought back after keystoneauth1
docs get fixed.

Change-Id: I7e170275fd422345505b7282b52899d08c7a4172
2017-07-05 12:01:10 +03:00
Van Hung Pham
2ea1fcacfd 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: If3a8f6668d0a4e32bd8a20330d973249ce6a5b46
2017-06-30 19:06:18 +07:00
OpenStack Proposal Bot
937f4d62be Updated from global requirements
Change-Id: I6e4cb42d8e9d40aa4f074387add065a705a5d7e1
3.12.0
2017-06-27 12:21:37 +00:00
Jenkins
2a50f56b61 Merge "Add support for endpoint group filtering" 2017-06-22 22:02:25 +00:00
Kristi Nikolla
ef49844248 Add support for specifying role ids when creating trust
Change-Id: I38e0ac35946ee6e53128babac3ea759a380572e0
Partial-Bug: 1696111
2017-06-16 11:30:56 -04:00
OpenStack Proposal Bot
2ab7f6df12 Updated from global requirements
Change-Id: Ie9942be7dfa024864e834256e12cddd206bd1bce
2017-06-15 16:34:13 +00:00
Jenkins
a6edbb10be Merge "Remove pbr warnerrors in favor of sphinx check" 2017-06-13 16:48:23 +00:00
Jenkins
0d0969a66b Merge "Replace six.iteritems() with .items()" 2017-06-13 16:45:01 +00:00
Jenkins
daa99ed5fe Merge "Fix html_last_updated_fmt for Python3" 2017-06-07 09:16:25 +00:00
Vu Cong Tuan
b456e923ae Fix html_last_updated_fmt for Python3
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

In addition, changing Popen to check_output because
check_output() will raise CalledProcessError if the called process
returns a non-zero return code.
It also makes the code look much better.

Change-Id: If01f08216b4b252bd31029913e83fe945bf76866
Closes-Bug:#1693670
2017-06-06 08:42:35 +07:00
OpenStack Proposal Bot
9dd14ef70f Updated from global requirements
Change-Id: I7002c54da6b5f3905e5f9746b7aaf28d5ae79ba3
2017-06-02 22:06:44 +00:00
Kristi Nikolla
9c6233f48c Moved release note to the correct path
Release note was accidentally added to keystoneclient/releasenotes
instead of releasenotes

Change-Id: Id8ec0b895fa8f42d60572077bd5fe49d9478ee10
2017-05-26 12:12:42 -04:00
OpenStack Proposal Bot
641f24f4b5 Updated from global requirements
Change-Id: If0701b99b3b9371664c5295c81a64e7f77238ce5
2017-05-23 11:59:10 +00:00
OpenStack Proposal Bot
ff86c089e8 Updated from global requirements
Change-Id: I5f10869789eb6797e4f601d7a73b469fbe08fea7
2017-05-17 03:57:50 +00:00
Jenkins
1e7543786e Merge "Remove log translations in python-keystoneclient" 2017-05-16 04:11:03 +00:00
Jenkins
826e82b425 Merge "Stop using oslotest.mockpatch" 2017-05-16 02:08:45 +00:00
OpenStack Proposal Bot
7aa1912e43 Updated from global requirements
Change-Id: I4b2dae6b4fcb887dcc21bd6540109df6e9952a47
2017-05-15 00:54:11 +00:00
OpenStack Proposal Bot
f7c6cfd42d Updated from global requirements
Change-Id: Iade6679462be48ae1714800be35049fa7dc56aa6
2017-05-03 12:22:40 +00:00
ChangBo Guo(gcb)
dd2000b284 Stop using oslotest.mockpatch
This module has been deprecated in favor of native fixtures.

Change-Id: I8fa00396f64d81eba807b2c6cbf4ae810447c59b
2017-05-03 16:50:32 +08:00
zlyqqq
683c469b2f Remove unused log
Change-Id: I1fe2c1703b03eb1c8458c53bdd208a91ababf941
2017-04-25 17:22:09 +08:00
Gage Hugo
cfcf9ef798 Remove pbr warnerrors in favor of sphinx check
This change removes the unused "warnerrors" setting that
was part of [pbr], which was replaced by "warning-is-error"
in sphinx 1.5 and above[0]. This also fixes any warnings
and errors that came up when running `tox -edocs` using
this new feature:

 - Specified correct instance of 'List'

This change also adds the "warning-is-error" setting
to setup.cfg in order to allow for strict doc validation
which will cause doc building to fail if any warnings
are thrown.

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113085.html

Change-Id: I8111193e5a1ae7d063ab4cc37186aea1299964a4
2017-04-24 16:28:06 -05:00
Enrique Garcia Navalon
2cc2f1081f Add support for endpoint group filtering
The following API calls are made available:

- GET /OS-EP-FILTER/projects/{project_id}/endpoint_groups
- GET /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/projects
- PUT /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
- HEAD /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
- DELETE /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}

Co-Authored-By: Samuel de Medeiros Queiroz <samueldmq@gmail.com>

Closes-Bug: #1641674

Change-Id: Idf938267479b5b8c50c9aa141c3c2770c2d69839
2017-04-13 14:19:39 -03:00
M V P Nitesh
46b9e429a2 Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid using six.iteritems to achieve
iterators. We can use dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more readable.
2.In py2, the performance about list should be negligible, see the
link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: I18a6890935ebdbb589269379f21a0dd47d07eb3a
2017-04-03 18:20:52 +05:30