summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Make post_test_hook.sh executable"1.2.0Jenkins2015-02-231-0/+0
|\
| * Make post_test_hook.sh executableJamie Lennox2015-02-201-0/+0
| | | | | | | | | | | | | | Functional test job fails with permission denied trying to execute the post_test_hook. Set permissions +x. Change-Id: I9ef052daf73761ea1e4128fc1738278fc8fa2483
* | Merge "Add default body for non-abstract empty methods"Jenkins2015-02-231-0/+2
|\ \
| * | Add default body for non-abstract empty methodslin-hua-cheng2015-02-141-0/+2
| |/ | | | | | | | | | | | | Some non-abstract methods only have docstring with no content, this just add a default content to those function. Change-Id: Idcf5b9f6ed766d3bc1541e158bdd8e58b06223e2
* | Merge "Using correct keyword for region in v3"Jenkins2015-02-234-3/+37
|\ \
| * | Using correct keyword for region in v3Sergey Kraynev2015-02-124-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Keystone v3 and v2 have different keywords in endpoint dictionary. This patch adds ability for keystone client for correct work with old and new API. Change-Id: I886b4c7ac3cbe08ac1b88f490e9ca92a90256961 Closes-Bug: #1364463
* | | Updated from global requirementsOpenStack Proposal Bot2015-02-201-1/+1
| |/ |/| | | | | Change-Id: If749314fbad1c0e1c55614fed10e7211c62559af
* | Merge "Make remove_service_catalog private"Jenkins2015-02-131-2/+2
|\ \
| * | Make remove_service_catalog privateJamie Lennox2015-02-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a utility function that is used for reducing the amount of data that is logged. It shouldn't be a public function. I think there is very little risk from this in terms of compatibility as it was only added recently. Change-Id: I003e9f11be478b1282ea9cf179f2dd13e1672a80
* | | Merge "Create functional test base"Jenkins2015-02-138-2/+113
|\ \ \
| * | | Create functional test baseJamie Lennox2015-02-138-2/+113
| | |/ | |/| | | | | | | | | | | | | | | | | | | Setup test runners to run unit tests by default and add a stub functional test that we can get gating. Change-Id: I6627925ab63340c880adc7c938a0b74faff47bc7 Implements: bp functional-testing
* | | Ignore all failures removing catalog when logging tokenBrant Knudson2015-02-121-8/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | Operations could fail if the response was logged and had a 'token' field that's not a dict. The fix is to ignore all errors when trying to remove the service catalog from the response. Also, enhanced the service catalog removal code to support V2 tokens. Closes-Bug: 1420080 Change-Id: I35b971415744825e8e5f00f30dcf193d04ee699a
* | Merge "Move tests to the unit subdirectory"Jenkins2015-02-1281-84/+84
|\ \
| * | Move tests to the unit subdirectoryJamie Lennox2015-02-1181-84/+84
| | | | | | | | | | | | | | | | | | | | | | | | Move all the existing tests to the unit/ subdirectory. This gives us some room to add a functional/ directory later with other tests. Change-Id: I0fb8d5b628eb8ee1f35f05f42d0c0ac9f285e8c3 Implements: functional-testing
* | | Merge "Fix a comment error in cms.py"Jenkins2015-02-121-1/+1
|\ \ \ | |/ / |/| |
| * | Fix a comment error in cms.pyzhiyuan_cai2015-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comment of function is_asn1_token says "Max length of the content using 2 octets is 7FFF or 32767", which should be 3FFF or 16383. Using Base64 string "MII" as the pki asn1 prefix, whose binary form is 0x3082+0b00, the two octets for content length will start with 0b00, so the max length is 0b0011+0xFFF(0x3FFF). Change-Id: I6c3cedc0243a60328e0e7bd45957616ad272f524
* | | Merge "Reference identity plugins from __init__.py"Jenkins2015-02-105-18/+54
|\ \ \ | |_|/ |/| |
| * | Reference identity plugins from __init__.pyJamie Lennox2014-12-225-18/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the identity plugins to the __init__.py so they can be used without specifically importing the v2, v3 or generic files. This changes some usages of keystoneclient.discover to keystoneclient._discover as the generic plugins are available at the same time as other versioned plugins when keystoneclient.Client is imported. This is the reason we have _discover in the first place. Change-Id: I7b9bbc123aeac11d22b3a58395391d01af0427eb
* | | Merge "Docs for v3 credentials"Jenkins2015-02-101-0/+47
|\ \ \
| * | | Docs for v3 credentialsBrant Knudson2015-02-091-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The v3 credentials API was unusable because the docs didn't include any information about what parameters are passed to the CredentialManager methods. Also, the attributes for the Credential objects was incomplete. Change-Id: I6872f217c75ae94611749c59be0dd6941170fd57
* | | | Merge "Change hacking check to verify all oslo imports"Jenkins2015-02-101-3/+1
|\ \ \ \
| * | | | Change hacking check to verify all oslo importsBrant Knudson2015-02-091-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hacking check was verifying that specific oslo imports weren't using the oslo-namespaced package. Since all the oslo libraries used by keystoneclient are now changed to use the new package name the hacking check can be simplified. bp drop-namespace-packages Change-Id: I6466e857c6eda0add6918e9fb14dc9296ed98600
* | | | | Merge "Change oslo.i18n to oslo_i18n"Jenkins2015-02-103-4/+17
|\ \ \ \ \ | |/ / / /
| * | | | Change oslo.i18n to oslo_i18nBrant Knudson2015-02-093-4/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The oslo libraries are moving away from namespace packages. bp drop-namespace-packages Change-Id: I5b6bb46ac55b8309845fcc8b01d93d97be4e86ca
* | | | Merge "Workflow documentation is now in infra-manual"Jenkins2015-02-103-8/+10
|\ \ \ \
| * | | | Workflow documentation is now in infra-manualJeremy Stanley2015-02-053-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace URLs for workflow documentation to appropriate parts of the OpenStack Project Infrastructure Manual. Change-Id: I5b4f7bc5268132b129fc56c919af00d7f9600c9f
* | | | | Merge "Remove 404 link to novaclient in README"Jenkins2015-02-101-2/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Remove 404 link to novaclient in READMEBrant Knudson2015-02-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The README had a link to https://github.com/rackspace/python-novaclient, but this link is 404 now. Change-Id: I538d65d2329ca1b4546e542513b7dbc536e6297f
* | | | | Merge "Change oslo.config to oslo_config"Jenkins2015-02-1019-39/+51
|\ \ \ \ \
| * | | | | Change oslo.config to oslo_configBrant Knudson2015-01-3119-39/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The oslo.config libraries are moving away from oslo-namespaced packages. Note that his requires oslo.config>=1.6.0 bp drop-namespace-packages Change-Id: Ic0d4053875da0628f2359c109f2779d12aadc3eb
* | | | | | Merge "Change oslo.serialization to oslo_serialization"Jenkins2015-02-1017-18/+30
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Change oslo.serialization to oslo_serializationBrant Knudson2015-01-3117-18/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The oslo libraries are moving away from namespace packages. bp drop-namespace-packages Change-Id: I76dc9f733b222144f0274f8854877587c3501d1e
* | | | | | Merge "Switch from oslo.utils to oslo_utils"Jenkins2015-02-1024-20/+130
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Switch from oslo.utils to oslo_utilsBrant Knudson2015-01-3124-20/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oslo_utils moved out of the oslo namespace. bp drop-namespace-packages Change-Id: I72e67dc1f649ba137dd06f5ab7133858c6abd67d
* | | | | | Add data to example dataAdam Young2015-02-0921-472/+615
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds issued_at values, role IDs, and fixes endpoints in the example data. Change-Id: I3e2a2296d08a34331b1afd02126445d0206eea7a
* | | | | | Merge "Add get_headers interface to authentication plugins"1.1.0Jenkins2015-02-096-32/+180
|\ \ \ \ \ \
| * | | | | | Add get_headers interface to authentication pluginsJamie Lennox2015-02-026-32/+180
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current scheme of having auth plugins only able to specify the X-Auth-Token header via the get_token function is too limited for all plugins. We need to allow both the case where the plugin wants to control additional headers, or doesn't set the X-Auth-Token header at all. This deprecates the get_token interface in favour of the get_headers interface. Whilst we should promote using get_headers it is likely that plugins that only require setting the X-Auth-Token header will continue to only support the get_token interface. Change-Id: Ibd750d72acc3ba4fd8a880cad69173248ec4092f blueprint: generic-plugins
* | | | | | Merge "Basic AccessInfo plugin"Jenkins2015-02-092-0/+108
|\ \ \ \ \ \
| * | | | | | Basic AccessInfo pluginJamie Lennox2015-02-042-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generally we want people to use the existing plugins to manage their authentication, however there are a number of existing services that know how to work with an AccessInfo object directly and either cache it or manipulate it manually. Provide a simple Identity plugin that just takes an existing AccessInfo and allows it to be used as an authentication plugin. Change-Id: I388283c03a0a8a3d1afe43138eebbe5e66ca9102
* | | | | | | Merge "Add name parameter to NoMatchingPlugin exception"Jenkins2015-02-093-8/+20
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Add name parameter to NoMatchingPlugin exceptionJamie Lennox2015-02-023-8/+20
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you want to handle a NoMatchingPlugin exception rather than simply exit then the name of the missing plugin is generally more useful than the message. The exception is specific enough that you can know what went wrong, but you cannot determine the name of the missing plugin if you want to do your own logging - only use the message that is generated. We should keep the message but expose the plugin name as well. Closes-Bug: #1410391 Change-Id: Ic93ec6583b8d7797529d36d63995ef0d8db754f1
* | | | | | Merge "use right resource_class to create resource instance"Jenkins2015-02-081-3/+3
|\ \ \ \ \ \
| * | | | | | use right resource_class to create resource instancewanghong2015-02-051-3/+3
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, in test_endpoint_policy.py we use the resource_class of project to create a policy instance. We should use the resource_class of policy to create policy instance. Closes-Bug: #1418316 Change-Id: I4fc444b266c61da0a131651d7aa636021f6ea5f9
* | | | | | Hierarchical multitenancy basic callsThiago Paiva Brito2015-02-053-8/+225
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses changes needed to manage projects through keystoneclient API v3. The changes are: create: new param 'parent': set the parent project of the project being created get: new param 'subtree_as_list': If True, shows projects down the hierarchy new param 'parents_as_list': If True, shows projects up the hierarchy Co-Authored-By: Andre Aranha <afaranha@lsd.ufcg.edu.br> Co-Authored-By: Rodrigo Duarte <rodrigods@lsd.ufcg.edu.br> Change-Id: I0f02a66e6a29584197ed00cb32caecb50956f458 Implements: blueprint hierarchical-multitenancy
* | | | | Merge "Enable hacking rule E122 and H304"Jenkins2015-02-021-3/+1
|\ \ \ \ \
| * | | | | Enable hacking rule E122 and H304ZhiQiang Fan2015-02-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | E122: continuation line missing indentation or outdented H304: no relative imports E122 and H304 havealready been fixed but not removed from exception list, this patch enables them. Change-Id: I1375bed51e9670fc4d174e7afce0ef3b3be83822
* | | | | | Merge "Docstring usability improvements"Jenkins2015-02-022-8/+18
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Docstring usability improvementsBrant Knudson2015-01-072-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generated docs didn't provide enough information for a developer to get started using the API. This change enhances the documentation for the module so that a developer knows where to go to start (create a Client). Partial-Bug: #1330769 Change-Id: I907187d34ebf2c2e662ff7b9547b0ecaef008414
* | | | | | Merge "Correct failures for check H238"Jenkins2015-02-023-4/+3
|\ \ \ \ \ \
| * | | | | | Correct failures for check H238Brant Knudson2015-01-213-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new H238 "old style class declaration, use new style (inherit from `object`)" rule was failing and ignored. Change-Id: I9f616d74e4777640cc9441e96f2bd8c1873aaaca