summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated from global requirements1.8.0OpenStack Proposal Bot2015-10-131-1/+1
| | | | Change-Id: Ie2f43389ee63918071b99c55fd56420f9cfb6ea1
* Updated from global requirementsOpenStack Proposal Bot2015-10-091-1/+1
| | | | Change-Id: I8c0e393bae99dec6f0153c205d3cd9c3be94ddcc
* Merge "Make __all__ immutable"Jenkins2015-10-0716-28/+27
|\
| * Make __all__ immutableDolph Mathews2015-10-0116-28/+27
| | | | | | | | | | | | | | | | | | Using a mutable type implies that it's acceptable for the set of publicly-accessible attributes to be mutated at runtime, which defeats their intended purpose of documenting the public interface. Tuples are immutable. Change-Id: Ib3ab93224ba240040b08ece481ef5ba620c3f658
* | Merge "Use dictionary literal for dictionary creation"Jenkins2015-10-071-3/+3
|\ \
| * | Use dictionary literal for dictionary creationAnkit Agrawal2015-09-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dictionary creation could be rewritten as a dictionary literal. for example: token_values = {} token_values['user_id'] = access.get('user', {}).get('id') could be rewritten as token_values = {'user_id': access.get('user', {}).get('id')} TrivialFix Change-Id: I0c5677b527d440b8faded31bf4d9d62805391ae3
* | | Merge "List creation could be rewritten as a list literal"Jenkins2015-10-071-3/+4
|\ \ \
| * | | List creation could be rewritten as a list literalAnkit Agrawal2015-09-241-3/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In _http_log_response method of session.py module, list "string_parts' is created as below. string_parts = ['RESP:'] string_parts.append('[%s]' % response.status_code) Could be rewritten as string_parts = [ 'RESP:', '[%s]' % response.status_code ] TrivialFix Change-Id: I83d04a71e030f3904c84cead4659c230393631db
* | | Updated from global requirementsOpenStack Proposal Bot2015-10-021-1/+1
| | | | | | | | | | | | Change-Id: Idfeced4ee4d3902d360a0b7d9f7b57b6d46777c5
* | | Redirect on 303 in SAML pluginJamie Lennox2015-10-022-9/+36
| |/ |/| | | | | | | | | | | | | | | | | | | The SAML plugin handles redirects in a custom manner but currently only checks for the 302 redirect code. This doesn't cover the mod_auth_mellon case which responds with a 303. Also handle the 303 redirect case. Change-Id: Idab5f381fcbfb8c561184845d3aa5c8aab142ecd Closes-Bug: #1501918
* | Merge "Add shields.io version/downloads links/badges into README.rst"Jenkins2015-09-281-0/+8
|\ \
| * | Add shields.io version/downloads links/badges into README.rstSteve Martinelli2015-09-251-0/+8
| |/ | | | | | | | | | | | | add shield stats for version and downloads so users can see it on pypi. Change-Id: I3ba570ae02288de282283e96af32515939499f2a
* | HTTPClient/region_name deprecation test updatesCorey Bryant2015-09-2510-142/+226
|/ | | | | | | | | | | | Creating an HTTPClient without a session is deprecated and the ServiceCatalog's region_name parameter is also deprecated. This follows suite with the following commits to update tests to handle deprecation warnings: 803eb235d50daad27074198effc98ca536f1550f 42bd016e1f0e011ba745dba243e62401298e324c Change-Id: I1c5a3dc2c8448873696262ca951c58666c692a61 Closes-Bug: #1499790
* Change ignore-errors to ignore_errorsMonty Taylor2015-09-211-1/+1
| | | | | | Needed for coverage 4.0 Change-Id: Icd02c5c7894777c56fe90fccc1cf8593b1f2703e
* Updated from global requirementsOpenStack Proposal Bot2015-09-181-1/+1
| | | | Change-Id: I10a25fdf9be7af87f6c4c1f3082dd953249c4341
* Updated from global requirementsOpenStack Proposal Bot2015-09-172-2/+2
| | | | Change-Id: Ie8ae98a23a30d26b58a45dd82de922afbee468ce
* Merge "Avoid message concatenation in error path"Jenkins2015-09-162-11/+64
|\
| * Avoid message concatenation in error pathDirk Mueller2015-09-092-11/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | Recently, the error message in _process_communicate_handle_oserror() has been i18n'ed, which caused the regression as another code path appended a string to it, which causes the TypeError to be raised. Fix it by using string formatting instead of '+' to force it to convert to string before concatenating. Closes-Bug: 1421652 Change-Id: I7229b46888f798ac4a69c140ab389afed49b8c3c
* | Merge "Identity plugin thread safety"Jenkins2015-09-152-2/+17
|\ \
| * | Identity plugin thread safetyJamie Lennox2015-09-102-2/+17
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A common case is for Nova (or other service) to create a service authentication plugin from a configuration file and then have many greenlet threads that want to reuse that authentication. If a token expires then many threads all try and fetch a new token to use and can step over each other. I was hoping for a way to put a lock in so that all plugins were thread safe however fixing it for identity plugins solves almost all real world situations and anyone doing non-identity plugins will have to manage threads themselves. Change-Id: Ib6487de7de638abc69660c851bd048a8ec177109 Closes-Bug: #1493835
* | Merge "Move pot file for traslation"Jenkins2015-09-102-5/+5
|\ \
| * | Move pot file for traslationTHOMAS J. COCOZZELLO2015-09-102-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | The .pot file was named incorrectly and in the wrong location so the traslations were not getting generated. Change-Id: Iafd2b7f06dd840fa0505729a9fc898e7e281c50c Closes-Bug: 1493484
* | | Use region_id filter for List Endpointslin-hua-cheng2015-09-092-2/+18
| |/ |/| | | | | | | | | | | | | The old region filter didn't work, it was not available in Keystone. Change-Id: Ic4d60a046df1f231d02a45998c8a0ef7c5b7b107 Closes-bug: #1482772
* | Merge "Adding back exception mapping for ConnectionError"1.7.1Jenkins2015-09-091-0/+1
|\ \
| * | Adding back exception mapping for ConnectionErrorlin-hua-cheng2015-09-081-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The mapping for ConnectionError to ConnectionRefused have been remove in a recent cleanup to move all exception to keystoneclient.exceptions related commit: 26534dadb1d0be00b87b632a038839ab1c18cfe4 Adding the mapping back for backward compatability. Change-Id: I6f4627b9cd68615b509d17910fe2c1605e89fc26 Closes-Bug: #1492600
* | Merge "Fixes missing socket attribute error during init_poolmanager"Jenkins2015-09-082-4/+54
|\ \ | |/ |/|
| * Fixes missing socket attribute error during init_poolmanagerClaudiu Belu2015-08-262-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the 'socket' python module does not contain the attributes TCP_KEEPCNT or TCP_KEEPINTVL, causing services consuming the library to malfunction. Adds conditionals for adding the mentioned socket attributes to the socket options. socket.SIO_KEEPALIVE_VALS cannot be added as a socket option for Windows, as there is another way entirely to enable that option. Change-Id: I2e9746ae65400bbd23c3b48dfc3167de9eb66494 Partial-Bug: #1483696
* | Merge "Deprecate create Discover without session"1.7.0Jenkins2015-09-032-28/+64
|\ \
| * | Deprecate create Discover without sessionBrant Knudson2015-09-022-28/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comments indicated that creating a Discover without a session is deprecated, but there was no warning generated. Also, updated the Discover() parameter docstrings with the standard deprecation info (e.g., in what release it's deprecated and when we might remove it). bp deprecations Change-Id: I1d42b74aa72c15b95ac3c365b40d8c622869ed7e
* | | Merge "Mask passwords when logging the HTTP response"Jenkins2015-09-032-1/+32
|\ \ \
| * | | Mask passwords when logging the HTTP responseMatt Riedemann2015-08-312-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should sanitize the response body before logging to make sure we aren't leaking through credentials like in the case of the response from the os-initialize_connection volume API. Closes-Bug: #1490693 Change-Id: Ifd95d3fb624b4636fb72cc11762af62e00a026a0
* | | | Update path to subunit2html in post_test_hookMatt Riedemann2015-09-021-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per: http://lists.openstack.org/pipermail/openstack-dev/2015-August/072982.html The location of subunit2html changed on the images in the gate so update the path used in the post_test_hook. Long-term we should just use what's in devstack-gate. Change-Id: I5e50e7d7ad845aba26403df1df412c0a139a6dc7 Closes-Bug: #1491646
* | | Merge "Update deprecation text for Session properties"Jenkins2015-09-021-2/+4
|\ \ \
| * | | Update deprecation text for Session propertiesBrant Knudson2015-08-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The deprecation text should say when the property was deprecated and when we expect to remove it. bp deprecations Change-Id: I9f1af56d03f0251a7cf3f4a4130928bb0780aece
* | | | Merge "Proper deprecation for httpclient.USER_AGENT"Jenkins2015-09-021-2/+6
|\ \ \ \ | |/ / /
| * | | Proper deprecation for httpclient.USER_AGENTBrant Knudson2015-08-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | httpclient's USER_AGENT constant wasn't properly deprecated since the deprecation was only a comment. Proper deprecation requires use of warnings/debtcollector and documentation, but since this is a module symbol there's no way to put out a warning, so it's just documentation in this case. bp deprecations Change-Id: I02c77c690a31eea40935d2756748382abec86867
* | | | Merge "Deprecate create HTTPClient without session"Jenkins2015-09-025-35/+93
|\ \ \ \ | |/ / /
| * | | Deprecate create HTTPClient without sessionBrant Knudson2015-08-295-35/+93
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The comments indicated that creating a HTTPClient without a session is deprecated, but there was no warning generated. bp deprecations Change-Id: I44796cbff95a7bbdd6e7a58e5cfb8360bdae5477
* | | Updated from global requirementsOpenStack Proposal Bot2015-08-311-3/+3
|/ / | | | | | | Change-Id: I12f49ee292e9e18a59a7cd8e4c78d0b4773897ed
* | Merge "Fix Accept header in SAML2 requests"Jenkins2015-08-261-1/+1
|\ \
| * | Fix Accept header in SAML2 requestsJamie Lennox2015-08-261-1/+1
| |/ | | | | | | | | | | | | | | | | The ; separator allows providing parameters to a type not separating type options. This means that in strict type checks like those performed by mod_auth_mellon the check for accept type fails. Change-Id: Ieeaa74b304921daef68497fec77cc6629ab2f0a2 Closes-Bug: #1488722
* | Merge "Proper deprecation for UserManager project argument"Jenkins2015-08-262-13/+22
|\ \ | |/ |/|
| * Proper deprecation for UserManager project argumentBrant Knudson2015-08-132-13/+22
| | | | | | | | | | | | | | | | | | | | UserManager's project argument wasn't properly deprecated since the deprecation was logged. Proper deprecation requires use of warnings/debtcollector and documentation. bp deprecations Change-Id: Idebce2e9781f6f92be402e9441f2116b63b4f832
* | Merge "Proper deprecation for CredentialManager data argument"Jenkins2015-08-262-4/+11
|\ \ | |/
| * Proper deprecation for CredentialManager data argumentBrant Knudson2015-08-132-4/+11
| | | | | | | | | | | | | | | | | | | | | | CredentialManager's data argument wasn't properly deprecated since the deprecation was only mentioned in the docstring. Proper deprecation requires use of warnings/debtcollector and documentation. bp deprecations Change-Id: Ibdb4bda622119eec963ce5b57673dc01ff279b0e
* | Merge "Deprecate create v3 Client without session"Jenkins2015-08-252-3/+20
|\ \ | |/
| * Deprecate create v3 Client without sessionBrant Knudson2015-08-132-3/+20
| | | | | | | | | | | | | | | | | | There was a comment to deprecate creating a v3 Client without a session. bp deprecations Change-Id: Ifc3fa9ffef12554646ca80f04527de757df3aa95
* | Merge "Deprecate create v2_0 Client without session"Jenkins2015-08-254-39/+71
|\ \ | |/
| * Deprecate create v2_0 Client without sessionBrant Knudson2015-08-134-39/+71
| | | | | | | | | | | | | | | | | | There was a comment to deprecate creating a v2_0 Client without a session. bp deprecations Change-Id: I71ff64754c8f90d184615eeec558718c11a1794a
* | Merge "Proper deprecation for Session.get_token()"Jenkins2015-08-257-15/+32
|\ \ | |/