CHANGES
=======

1.4.0
-----

* tests: add test for accessing missing bucket's stats

1.3.0
-----

* tests: add test for bucket usage
* remove specific pytests version from requirements

1.2.0
-----

* spec: change requirements for centos 7.8
* radosgw: increase default timeout. C2DEVEL-9653

1.1.0
-----

* add stats parameter to get_user()
* tests: add test for user stats
* readme: update

1.0.0
-----

* spec: bump major version
* spec: buildrequire httmock >= 1.3.0
* spec: package only functional tests
* readme: add info about admin API tests installation
* rename storageclient -> rgwclient
* spec: add support for py2/py3 build

0.8.1
-----

* Update changelog
* bump version
* add get\_users() method
* make user\_id required in get\_user()

0.7.2
-----

* Update changelog
* rpm: bump version 0.7.2
* Update README.md
* spec: bump python-boto release buildrequires
* spec: add missed python-six requires
* spec: remove python-boto from package requirements
* tests: remove unused boto import

0.7.1
-----

* Update changelog
* rpm: bump version 0.7.1
* make: add pytest\_cache to makefile cleanup
* tests: add negative get user case
* tests: use constants on cleanup
* tests: change S3 API call to RGW Admin API call in bucket deletion tests
* tests: add tests for existing key creation
* tests: add tests for existing user creation
* tests: check error codes in negative cases
* constants: add RGW response statuses and codes
* exceptions: fix typo in RadosGWMalformedResponse
* exceptions: unify str representation
* exceptions: move response error parsing to RadosGWClient
* tests: add pytest\_cache to .gitignore

0.6.1
-----

* Update changelog
* rpm: bump version 0.6.1
* tests: skip usage test due ops usage is turned off
* tests: xfail trim usage cases
* tests: check error code on key deletion
* exceptions: parse error code in RadosGWResponseError
* tests: change test case due to changed rgw behavior
* tests: remove test cases that tests wrong behavior
* tests: skip tests for unused code
* tests: mark test xfail for futher investigation
* tests: change usage handling due to new response format

0.5.2
-----

* Update changelog
* rpm: bump release 0.5.2
* Update changelog and authors
* tests: change rgw usage log tick interval to default value
* tests: fix user and bucket deletion on cleanup

0.5.1
-----

* Update changelog and authors
* rpm: bump version 0.5.1
* tests: change tests for link/unlink bucket
* radosgw.py: add required bucket-id for link/unlink bucket
* Added pbr AUTHORS and ChangeLog
* Added pytest args variable to tox
* Update README.md
* Rewrite functional tests fixtures
* Rename test requirements file
* Rename and refactor RPM spec
* Added support for python3.4
* Added linting and comments
* Packaging and tox automation

0.4.2
-----

* Bump version 0.4.2
* C2DEVEL-2525: Add hctests subpackage to spec
* C2DEVEL-2525: Fix usage test
* Bump version 0.4.1 + changelog
* C2DEVEL-2313: Remove storageclient code

0.3.9
-----

* Add changelog
* Bump version 0.3.9
* Admin port offset for permissive too

0.3.8
-----

* Bump version 0.3.8
* Use suppress\_consec\_slashes = False

0.3.7
-----

* Bump version 0.3.7
* C2DEVEL-1737 Use S3\_PORT + 1 for enforcing
* Unlimited amount of buckets for SC

0.3.5
-----

* Bump version up
* Minor lint fix
* Fix comparisons in create\_project
* C2DEVEL-1547 Fix cyclic import
* C2DEVEL-1547 Ignore all limits related exceptions in create\_project
* Break, not continue
* Set limits on project create
* Storageclient manages only applicable users now
* Do not run ensure\_sc\_project implicitly

0.3.4
-----

* Eliminate useless traceback in storageclient
* Fix E302 lint problem

0.3.3
-----

* Method for pinging RGW
* Small fixes for grants
* Fix for absent logger in utils module

0.3.1
-----

* Bump version up
* Bump version 0.3.0
* C2DEVEL-1133 Rename c2.config.S3\_\* -> RGW\_\*
* Add \_\_repr\_\_
* Add \_\_str\_\_ methods to classes
* Fix minor problem
* Some logging messages fixes
* Fix pyflakes warning
* Remove unused logger
* Fix functional tests
* Fix unittests
* Use c2 logger for storageclient
* Bump version 0.2.1
* C2DEVEL-1228 Use S3\_NG\_HOST, S3\_NG\_PORT
* C2DEVEL-1228 Bump version 0.2.0. Backward incompatible
* C2DEVEL-1228 Rename WORK\_MODE\_STRICT -> WORK\_MODE\_ENFORCING

0.1.3
-----

* Bump version up
* Change S3\_URL parameter to S3\_INT\_BALANCER
* C2DEVEL-1127: Apply default URL scheme if necessary
* Rework requirements

0.1.2
-----

* Bump version
* Add optional parameters to update\_project

0.1.1
-----

* Version 0.1.1
* Remove unicode literals
* Remove excess regular expression from rgw\_parsers
* Add functional test on set\_bucket\_limits
* Add functional test on set\_project\_limits
* Fix Flake8 problems
* Add unittests on get\_buckets\_limits
* Add unittests on get\_project\_limits
* Add unittests on set\_bucket\_limits
* Add unittest on set\_project\_limits
* Add unittest on setting bucket quota
* Add unittest on setting user quota
* Add unittest on getting quotas
* Small fixes for storage client
* Fixes for quotas in storage client itself
* Use unicode\_literals where possible
* Quotas API for Rados Gateway client
* Add get methods for buckets and user limits
* Add set\_global\_bucket\_limits API call to storage client
* Add set\_project\_limits API call to storage client
* Modify RGW quota API to the latest Rados Gateway version
* Fix minor Flake8 problem
* Proper URL encoding for date params, such as 'start', 'end'

0.1.0
-----

* Bump version to 0.1.0
* Move pytest.ini contents into setup.cfg
* Add tests on key consistency
* Ignore virtualenv for py.test pep8
* Add support for flake8
* Make pyflakes support more robust
* Add support for PyFlakes
* Make keypair generate on project\_create more consistent
* C2DEVEL-1008 Store project@customer.com in user display\_name and acl
* \_get\_default\_admin\_user() helper for migration
* get\_any\_user() helper for C2DEVEL-972 and migration
* C2DEVEL-965 Return default policy ("private") in policy\_c2\_to\_boto()
* Add crucial comment
* Add VIM modelines
* C2DEVEL-921: Lazy initialization of storageclient

0.0.9
-----

* Bump version
* C2DEVEL-859: Auxiliary methods for storage client
* Add method to build radosgw client only
* bump 0.0.8
* rename c2\_to\_boto to policy\_to\_boto

0.0.7
-----

* Bump up version number
* Use get\_users\_for\_project US API call instead of get\_users
* Fix for the \_get\_user\_list method

0.0.6
-----

* Make project model more robust

0.0.5
-----

* Bump version up
* C2DEVEL-783: Unittests for boto\_to\_c2
* C2DEVEL-783: Fix PEP8
* C2DEVEL-783: Add unittests on c2\_to\_boto
* C2DEVEL-783: Add methods for CRUDing policies on buckets and keys
* C2DEVEL-783: Make conversion methods importable from storageclient
* C2DEVEL-783: Add boto\_to\_acl and vice versa methods
* Move work modes into standalone constants module
* Fix PEP8 in unit/test\_utils
* C2DEVEL-765: Remove unnecessary pass from work\_moded\_call
* C2DEVEL-765: Rename storage\_client\_call to work\_moded\_call
* C2DEVEL-765: Add unittest on work\_mode call decorator
* C2DEVEL-765: Multiple work modes
* Refactor storage client into different modules

0.0.4
-----

* Change requirement from c2-us-common to c2-common
* Build fix

0.0.3
-----

* Bump version number
* Small refactoring
* Add functional test on sc\_connection
* Add unittests on sc\_connection
* Add sc\_connection property to storage client
* Fix python-boto requires
* Move properties to namedtuple

0.0.2
-----

* Bump up version
* Make storage client get\_client more convenient
* Add functional test on update\_project for storage client
* Add functional tests on update display name for RadosGW client
* Small fixes for functional tests
* More careful use of notime fixture
* Add unit tests on update\_project
* Add update\_project storage client method
* Fix typo in spec. Remove 'tests' from rpm
* Make Storage Client exception hierarchy more concise
* Add method of creating storage\_client
* Remove msgpack from the list of requirements
* Requires for python-boto
* Added Makefile. Changes in spec
* Update RPM spec
* Update README with links
* Add storage client RPM spec
* Add setup\_rpm.py
* Add functional tests on set\_suspend\_state
* Add unit test on test\_suspend
* Add suspend method to storage client
* Add test on affirm of new keypair
* Extend test on key revoke
* Update permission tests
* Make logger in storage client optional
* Use c2.client.us to fetch a list of users
* Fixes for PyCharm code inspections
* Simplify sticky randoms
* Remove flaky from the project
* PEP8 fixes
* Add pep8 configuration for py.test
* Remove flaky from the project (conflicts with PEP8)
* Move tests into packages
* Remove unused import
* Add test on failed project data fetching
* Bumpup flaky run rate
* Add test on boto\_for method for absent user
* Add test on delete project with existing bucket
* Refactor of keypair invalid data operation tests
* Parametrize delete project test
* Test for StorageClient kypairs invalid scenarios
* Test on delete project which does not exist
* Add support of flaky
* Rename test\_client unit test into test\_sclient
* Move methods of storage client into appropriate place
* Move test\_keys\_are\_created\_for\_everyone into more appropriate place
* Add test to verify that all users have their keys created
* Add more stuff to test\_trying\_to\_create\_invalid\_project
* Add test on key revoke
* Fix test on user create
* Add unit test on get\_project
* Add test on project w/o users create
* Add test on creating the same project
* Test for StorageClient get\_keypairs - increase code coverage again
* Small cleanups of test\_client
* Test for StorageClient get\_keypairs - increase code coverage
* Test for StorageClient renew, revoke, affirm keypairs
* Test for StorageClient delete project
* Test for StorageClient create project
* Test for StorageClient create project
* Remove unused import
* Add test on absent bucket index
* Add test on empty bucket index
* Add test on bucket index
* Make usage tests more robust
* Remove files
* Small indentation fix
* Delete bucket, upload and download files
* Add test on usage for unknown user
* Add test on trimming usage of another user
* Add test on trim usage
* Remove some assertions due to differences in RadosGW versions
* Add test on unsuccessful get
* Test usage stat output
* Fixes for test usage functests
* Add several tests on usage
* Test on bucket delete
* Small rework of bucket create test
* Test for create bucket
* Tests refactoring
* Add tests on incorrect permissions
* Add permission test on key delete
* Add test on users permissions
* Remove obsolete randomness in StickyRandoms
* Add test on delete of absent key
* Test on delete of key of another user
* Test on key delete
* Some strange git problem, fix it
* Small test fix
* Add test on key create without autogeneration
* Proper tests on autogenerate new keys
* Add test on create of autogenerate key
* Add more tests on user capabilities
* Add test on removing user capabilities
* Add tests for adding user capabilities
* Add tests on deleting unknown user
* Add tests on user delete
* Add tests to verify if created user is getable
* Remove stale \_\_init\_\_.py from tests
* Refactor structure a bit
* Add environment settings for CI
* Add tests on suspended attribute
* Add tests on bucket limit modification
* Add test on email modify
* Proper parallelization of tests
* Modify tests on keys
* Add tests on modifying user keys
* Simplify tests structure with sticky\_randoms fixture
* Add possibility to run tests in parallel
* Add tests with suspended sign
* Add unit tests for verifying bucket limits
* Add tests for bucket limits
* Some strange bug with Git, do it again
* Add test on user create with email
* Add tests on different argument permutations during user create
* Add first test for users
* Add py.test sugar
* Init functional tests
* Add tests on set\_acl method of storage client
* Use notime fixture for unit tests
* Add test on project with failed affirms
* Add test on project create (bad states)
* Add test on project create (ok state)
* Add test on renew\_keypairs (alltogether)
* Add test on renew\_keypairs (separately)
* Add test on bad statuses for project delete
* Test webhook
* Test commit to check CI
* Add test on affirming keypair with different types of bad status codes
* Add test on affirming keypair with different types of good status codes
* Add test on revoking keypair with different types of status codes
* Add test on revoking keypair
* Add test for affirm\_keypair where storage\_client removes old keypair and creates new one
* Add test for affirm\_keypair where storage\_client creates new key but revokes nothing
* Add test for affirm\_keypair where storage\_client does nothing
* Add test for delete\_project
* Add test for get\_keypair
* Add  test\_boto\_for for Storage Client
* Add test\_host\_and\_port test
* Add boto\_for method to Storage Client
* Method to fetch keypair for Storage Client
* Rename User.user\_id to User.name
* Make uid and display\_name for user more relevant
* First draft of storage client (admin part)
* Add Boto to the list of requirements
* Add test\_raise\_proper\_exceptions
* Small additional assert for test\_repeat\_several\_times
* Add test on connection retry
* Add trim\_usage test
* Add get\_usage test
* Add remove\_user\_capability test
* Add add\_user\_capability test
* Add get\_policy test
* Add delete\_object test
* Add unlink\_bucket test
* Add link\_bucket test
* Add delete\_bucket test
* Add get\_bucket test
* Tests for keys
* Add create\_key test case
* Add user tests
* Add some tests
* Fixes for make\_user\_caps\_string
* Add permission const to RadosGWClient
* Fixes for some APIs
* Fixes for key related API calls
* Add get/trim\_usage API calls (RGW)
* Explicitly add auth header
* Fixes for auth
* Reworked auth
* Add set\_bucket\_quota API call (RGW)
* Add get\_bucket\_quota API call (RGW)
* Add set\_user\_quota API call (RGW)
* Add get\_user\_quota API call (RGW)
* Add remove\_user\_capabilities API call (RGW)
* Add add\_user\_capability API call (RGW)
* Add get\_policy API call (RGW)
* Add delete\_object API call (RGW)
* Add link\_bucket and unlink\_bucket API calls (RGW)
* Add delete\_bucket API call (RGW)
* Add get\_bucket\_index API call (RGW)
* Add get\_bucket API call (RGW)
* Add delete\_key API call (RGW)
* Add create\_key API call (RGW)
* Add delete\_user API call (RGW)
* Add modify\_user API call (RGW)
* Add get\_user API call (RGW)
* Add create\_user API call (RGW)
* Add skeleton of RadosGWClient
* Skeleton
* Initial commit
