summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update tox.ini to match rest of project2.2.1Monty Taylor2014-07-151-0/+7
| | | | | | | | There's a few things - most notably the missing venv env, but also getting tox to skip the sdist step in builds that will align python-barbicanclient with the rest of the project. Change-Id: I7b3c8f992040c0a7f0cace1452a93f4958d0cd2a
* Fix Testing Failure due to Argparse2.2.0Jarret Raim2014-07-071-1/+1
| | | | | | | | Argparse changes the error message displayed depending on the version of the python interpreter being used. This PR tests the bare minimum error message for an argparse failure. Change-Id: I1c19752002c763d232bc4d45a8ac284bc339e7dd
* Merge "Move docstring inside relevant class"Jenkins2014-06-131-7/+5
|\
| * Move docstring inside relevant classDouglas Mendizabal2014-06-121-7/+5
| | | | | | | | | | | | Per PEP 257 docstrings should be the first statement inside the class. Change-Id: I5cbfc928b56ba8a967ce187a38d966de04f1954c
* | Fixed typos in the example filesAlex Gaynor2014-06-118-32/+32
|/ | | | Change-Id: I89bf6269f6c88d839ffce08b81b0fe3afe2954b4
* Add Keystone V3 compliant session/auth plugin supporttsv2014-06-0910-81/+869
| | | | | | | | | | | | | | | | | | | | | | | Barbican client uses Keystone V2 client via a Barbican auth plugin. It also uses a regular requests.Session(). This commit adds support for keystone session and replaces the heavy keystone client with a lighter V2/V3 Password auth plugin. This change is backwards compatible; it supports existing callers and keystone session/plugin support. On the testing front, this commit also introduces httpretty along with a keystoneclient fixture. The keystoneclient fixture could eventually be called directly from keystoneclient module instead of copying it over here. Testing the keystone session/plugin support is done mainly using httpretty Patches: 7: Refactored Client.__init__ for better readability 8: Fixing pep8/py33 errors w.r.t new tox.ini changes DocImpact bp/barbican-client-has-to-be-keystone-v3.0-complaint Change-Id: I8ef178b0338fe430a64c30bfe193406aabf3caf1
* Merge "Added PyPy env to tox.ini"Jenkins2014-06-041-1/+1
|\
| * Added PyPy env to tox.iniAlex Gaynor2014-06-031-1/+1
| | | | | | | | Change-Id: I095b7027b61594947ee04f041d66cd05268adee2
* | Merge "Updating documentation from stackforge to openstack"Jenkins2014-06-031-1/+1
|\ \ | |/ |/|
| * Updating documentation from stackforge to openstackKaitlin Farr2014-06-021-1/+1
| | | | | | | | | | Change-Id: I330443029cf600e17f0bbaf11143577139985f49 Closes-bug: #1323830
* | Added py33 to toxAlex Gaynor2014-06-021-1/+1
|/ | | | Change-Id: I0822a7da1206729b9149f0d4ee3195a50e6873c6
* Fix the gitreviewAlex Gaynor2014-05-311-1/+1
| | | | Change-Id: Ie6f013a05d177daf806700fdc912f1e0f1b300c0
* Merge "debug level logs should not be translated"Jenkins2014-05-303-8/+8
|\
| * debug level logs should not be translatedChristian Berendt2014-05-173-8/+8
| | | | | | | | | | | | | | | | | | According to the OpenStack translation policy available at https://wiki.openstack.org/wiki/LoggingStandards debug messages should not be translated. Like mentioned in several changes in Nova by garyk this is to help prioritize log translation. Change-Id: Ia4de833da457b587f24f31b106802c92d2139af6
* | Remove unnecessary coding lineMartin Geisler2014-05-281-1/+0
|/ | | | | | | | As per PEP 263, a Python file with non-ASCII characters must have a line with "coding: <some-encoding>". This file is pure ASCII, so the line is unnecessary here. Change-Id: I1cade3ddc7ef9631a5230bd00bafc64979cbf80a
* Metaclass Python 3.x CompatibilitySteven Gonzales2014-05-121-2/+2
| | | | | | According to the OpenStack style guide (http://docs.openstack.org/developer/hacking/), for Python 3.x compatibility use "six.add_metaclass" instead of " __metaclass__." Change-Id: Iff090dfaf53af17012fe28f732c157caabc1841c
* Remove Tox from test-requirements.txtchadlung2014-04-031-1/+0
| | | | Change-Id: I0a89f25d826f9443283b6671cade354794d0e659
* python 3 supportPaul Kehrer2014-03-2011-23/+32
| | | | Change-Id: If4bc02d103ed0daa54ba411199cdb0bac6ba3712
* port tests to testtools, add branch coverage, omit openstack commonPaul Kehrer2014-03-2011-96/+71
| | | | Change-Id: I364dcaac1db1922cc815ece455a69734aa6c51f6
* sync osloPaul Kehrer2014-03-209-550/+488
| | | | Change-Id: I4569f14d71dd3823b49c51db5b417cc07a5e9609
* Remove OpenStack log in favor of native loggingAnderson Mesquita2014-03-145-576/+7
| | | | | | | | | | | Openstack log prevents the client from being loaded due to arg parsing. Since native logging is used everywhere else, it makes sense to remove it completely. All other projects seem to do the same thing as well. Co-Authored-By: Richard Lee <rblee88@gmail.com> Change-Id: I42a4532e614aa465d9421139b8e8bddf2ba01072
* Conditionally validate KeystoneAuthV2 credentialsRichard Lee2014-03-072-8/+17
| | | | | | | | Don't validate the presence of KeystoneAuthV2 credential info if a keystone client is given. Co-Authored-By: Anderson Mesquita <andersonvom@gmail.com> Change-Id: I5d928efda843d8a6310103bf07c375d716908031
* Add missing tenant_id to Keystone initRichard Lee2014-03-072-0/+3
| | | | | | | | KeystoneAuthV2 takes a tenant_id param that was not being used for anything. This passes it along to the keystoneclient. Co-Authored-By: Anderson Mesquita <andersonvom@gmail.com> Change-Id: I2cb622d4035600c09512fd3824e03da1fe5f9738
* Add version to setup.cfgDouglas Mendizabal2014-03-061-0/+1
| | | | Change-Id: I6b76585c5fd8adbb21d53c6141a2a8550586f94a
* Drop version requirement for argparse2.1.0Douglas Mendizabal2014-01-221-1/+1
| | | | | | | argparse 1.2.1 is not verified in PyPI, which causes pip 1.5 to fail when installing the dependencies. Change-Id: I61658ad8a40bb5caff095ddd698e65962ab3c1b2
* Remove version from setup.cfg2.0.0Donald Stufft2014-01-201-1/+0
| | | | | | | This will be generated dynamically from git tags instead of being hardwritten into the setup.cfg. Change-Id: Ia81aabd11e8202dfb88f11348d453193a0819525
* Merge "Switch README.md to README.rst"Jenkins2014-01-203-85/+95
|\
| * Switch README.md to README.rstDonald Stufft2014-01-203-85/+95
| | | | | | | | Change-Id: I0fd5d1efacada53260097d18405dc863110c89ae
* | Use summary not description for the short summaryDonald Stufft2014-01-201-1/+1
|/ | | | Change-Id: I3ab302187221f890e90dc7db3c070cf2e1554c34
* Migrate to pbrDonald Stufft2014-01-037-63/+44
| | | | Change-Id: Id914183a5098e2fdc3f325fc83ecc5161886733d
* Merge "Rename the command line client to barbican"Jenkins2014-01-014-22/+23
|\
| * Rename the command line client to barbicanDonald Stufft2013-12-314-22/+23
| | | | | | | | Change-Id: I7695365dd5fe2504f3d267012ac6717790e97541
* | Add auth plugin for Rackspace IdentityDouglas Mendizabal2013-12-212-4/+198
|/ | | | Change-Id: I2f99a209eec3ee8beb9dd394f43849901c98044a
* Removing conditional around client status code checkJohn Vrbanac2013-12-182-7/+11
| | | | | | The response object should always have a status_code on it. Change-Id: I341c6297a199ced88df2a39c9c8d6a4bbb5c057f
* Add filtering CLI options to 'secrets list' sub command.Wyllys Ingersoll2013-12-162-2/+29
| | | | | Change-Id: I14265ad277a02f93af98312e139dc19e23382edd Implements: blueprint secret-list-add-criteria
* secrets.get should verify that the request is for a single secretWyllys Ingersoll2013-12-103-3/+24
| | | | | | | | Added sanity checking to the requested URI path to make sure it is a properly formed secret UUID value. Change-Id: Ie6598303e502cd19458e0beef24d7fd032f9f14a Closes-Bug: #1259654
* Add .gitreview file for StackForge.Douglas Mendizabal2013-12-061-0/+5
| | | | Change-Id: Ia16bb570b70f238225f9d4fdbacaea4f13eaeb9a
* Merge pull request #36 from dmend/masterv1.0.0John Wood2013-12-052-2/+2
|\ | | | | Version bump for Icehouse M1
| * Version bump for Icehouse M1.Douglas Mendizabal2013-12-052-2/+2
|/
* Merge pull request #34 from dmend/masterPaul Kehrer2013-12-031-0/+3
|\ | | | | Add mailmap file.
| * Add mailmap file.Douglas Mendizabal2013-12-031-0/+3
| |
* | Merge pull request #33 from dmend/masterJohn Wood2013-12-031-3/+4
|\ \ | |/ | | Remove extra header (H2) in the readme
| * Remove extra header (H2) in the readmeDouglas Mendizabal2013-12-031-3/+4
|/
* Merge pull request #32 from jfwood/masterPaul Kehrer2013-12-031-5/+14
|\ | | | | Update README.md to mention the pypi location, and to add verification i...
| * Update README.md to mention the pypi location, and to add verification ↵jfwood2013-12-031-5/+14
|/ | | | information.
* Merge pull request #28 from jfwood/masterJohn Wood2013-12-0315-92/+848
|\ | | | | Add verifications entity logic to the client library.
| * Add mods per peer review; Added new testing log files to gitignore file;jfwood2013-11-263-22/+12
| |
| * Remove unused utils file.jfwood2013-11-251-10/+0
| |
| * Fix merge conflicts.jfwood2013-11-255-34/+71
| |\
| * | Add remaining verification unit test and keep files/mods.jfwood2013-11-2510-291/+233
| | |