summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ | |/
| * Proper deprecation for Session.get_token()Brant Knudson2015-08-137-15/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | Session.get_token() wasn't properly deprecated since the deprecation was only mentioned in the docstring. Proper deprecation requires use of warnings/debtcollector and documentation. Also, changed a test to use the non-deprecated function instead where the test wasn't checking that the deprecated function worked. bp deprecations Change-Id: I3d421b35554d58476281e037f90ab9b48e82730a
* | Merge "Deprecate use of cert and key"Jenkins2015-08-252-9/+12
|\ \ | |/
| * Deprecate use of cert and keyBrant Knudson2015-08-132-9/+12
| | | | | | | | | | | | | | | | | | | | | | There was a comment to deprecate creating a Session with cert and key rather than a tuple to cert. Also, fixed places where the deprecated usage was being used. bp deprecations Change-Id: I3596635bbc5611dd002a8beb063540a8c284c192
* | Merge "Proper deprecation for Session.construct()"Jenkins2015-08-255-8/+22
|\ \ | |/
| * Proper deprecation for Session.construct()Brant Knudson2015-08-135-8/+22
| | | | | | | | | | | | | | | | | | | | Session.construct() 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: Ieff238aff9d39cfbbb80381b2392c33d0359acb3
* | Merge "Deprecate ServiceCatalog.get_urls() with no attr"Jenkins2015-08-251-4/+7
|\ \ | |/
| * Deprecate ServiceCatalog.get_urls() with no attrBrant Knudson2015-08-131-4/+7
| | | | | | | | | | | | | | | | | | There was a TODO to deprecate calling ServiceCatalog.get_urls() with an attr but no filter_value. bp deprecations Change-Id: Idd97ce6920d63e1abb4f10ba4965035ba40f0155
* | Updated from global requirementsOpenStack Proposal Bot2015-08-201-1/+1
| | | | | | | | Change-Id: I10f0c5fe2e9ae8dadda9de5b8f1c63a89424fe36
* | Merge "Deprecate ServiceCatalog(region_name)"Jenkins2015-08-205-11/+61
|\ \ | |/
| * Deprecate ServiceCatalog(region_name)Brant Knudson2015-08-135-11/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a FIXME to deprecate ServiceCatalog's region_name parameter and property. This is now deprecated. Note that debtcollector isn't used here since the deprecation happens on ServiceCatalog's __init__() to catch use in subclasses of ServiceCatalog. ServiceCatalog also has a factory function that constructs the correct instance and the factory function always passes region_name, so it's always using the deprecated kwarg even when region_name isn't passed to the factory. It's not worth figuring out how to do this with debtcollector. bp deprecations Change-Id: I0e64712474ca2767f3c0ade919359132450f6776
* | Merge "Expose token_endpoint.Token as admin_token"Jenkins2015-08-161-0/+1
|\ \ | |/ |/|
| * Expose token_endpoint.Token as admin_tokenMonty Taylor2015-08-151-0/+1
| | | | | | | | | | | | | | | | | | | | When bootstrapping a cloud, using this auth plugin is necessary to be able to provide an admin token. However, there has been some confusion as to its officialness and the names of its parameters. Make it clear why it's exposed, and additionally be clearer about squatting on the name of the plugin so that things can depend on its interface. Change-Id: I8e896b28d5879cd4b1372009926c67cde773308f
* | Updated from global requirementsOpenStack Proposal Bot2015-08-131-1/+1
| | | | | | | | Change-Id: I451c4b5489357d0328945328a59a0aaf32bd6512
* | Merge "Stop using .keys() on dicts where not needed"Jenkins2015-08-135-7/+7
|\ \
| * | Stop using .keys() on dicts where not neededBrant Knudson2015-08-065-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Iterating over a dict results in the keys. Using the 'in' operator on a dict checks if it's a key. Change-Id: I6affbfa1a79a9e8c0b5b304078a7a8e4e792eecd
* | | Updated from global requirementsOpenStack Proposal Bot2015-08-131-1/+1
| | | | | | | | | | | | Change-Id: I18091fe15eec8b8ff8467db3d89c7ed0b6fc797f
* | | Updated from global requirementsOpenStack Proposal Bot2015-08-101-1/+1
| | | | | | | | | | | | Change-Id: If2cc31035de68cf727655eafe7ff969c8575e144
* | | Merge "Remove confusing deprecation comment from token_to_cms"Jenkins2015-08-061-2/+0
|\ \ \
| * | | Remove confusing deprecation comment from token_to_cmsBrant Knudson2015-07-111-2/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A comment on a function doesn't deprecate it since users aren't going to see it. The removed deprecation comment is doubly useless since this function can't be deprecated. There's no alternative given and it's actively used by keystonemiddleware. bp deprecations Change-Id: Ib9bf1b6e0631423094ebe60ff2a718dd659b5561
* | | Inhrerit roles project calls on keystoneclient v3henriquetruta2015-08-062-2/+123
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch allows the user to perform the Inherited roles from projects API calls through python-keystoneclient. Assign role to user on projects in a subtree PUT /OS-INHERIT/projects/{project_id}/users/{user_id}/roles/{role_id}/inherited_to_projects List user's inherited project roles on project GET /OS-INHERIT/projects/{project_id}/users/{user_id}/roles/inherited_to_projects Check if user has an inherited project role on project HEAD /OS-INHERIT/projects/{project_id}/users/{user_id}/roles/{role_id}/inherited_to_projects Revoke an inherited project role from user on project DELETE /OS-INHERIT/projects/{project_id}/users/{user_id}/roles/{role_id}/inherited_to_projects These same operations regarding groups instead of users are also available. Change-Id: I8396d80f031726bbd23f2cc2bb302a7691f98cba Closes-bug: 1446702
* | Merge "Use UUID values in v3 test fixtures"Jenkins2015-08-064-136/+125
|\ \
| * | Use UUID values in v3 test fixturesJamie Lennox2015-07-254-136/+125
| | | | | | | | | | | | | | | | | | | | | | | | The fixtures will automatically stub UUID values for required token fields, so we can check for those returned values rather than specify fixed string values. Change-Id: I8a6cc675c6c8ee14772a38d8fc38475885ebc605
* | | Deprecate openstack.common.apiclientBrant Knudson2015-08-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecate the apiclient from oslo-incubator so we can get rid of it. bp deprecations Change-Id: I1c761933816da03b6c625f14d0aac43f206e88d7