Metadata-Version: 1.2
Name: rgwclient
Version: 1.4.0
Summary: CROC Cloud Platform - Rados Gateway Client
Home-page: UNKNOWN
Author: CROC
Author-email: devel@croc.ru
Maintainer: Mikhail Ushanov
Maintainer-email: miushanov@croc.ru
License: GPLv3
Description: # rgwclient - Rados Gateway Client
        
        rgwclient is a facade for RadosGW Rest API
        
        ## Tests
        
        ### Unit tests
        
          * List of default environments:
            ```sh
            $ tox -l
            py27-local
            py36-local
            lint  # flake8 linting
            ```
        
          * Run all environments:
            ```sh
            $ make tests
            ```
        
          * Run tests for specific python version (example: python2.6):
            ```sh
            $ make VENVER=py26 tests
            ```
        
        ### Functional tests
        
        #### On the developer machine
        
          * Run with default `python`:
            ```sh
            $ RGW_URL=http://<hostname>:<port> RGW_ACCESS_KEY=croc RGW_SECRET_KEY=verysecret tox -e functional
            ```
            where:
        
              * `RGW_URL` - URL to RadosGW admin API
              * `RGW_ACCESS_KEY` - RadosGW access key (default: `dev-admin`)
              * `RGW_SECRET_KEY` - RadosGW secret key (default: `dev-admin-secret`)
        
            and optional variables:
        
              * `RGW_SELF` - default login (?) (default: `admin`)
              * `RGW_USAGE_FLUSH_TMO` - usage flush timeout (should be equal to rgw usage log tick interval from config, default: `5`)
        
          * Run with parameterized `python`:
            ```sh
            $ RGW_<var>=<value> tox -e functional-py26
        
            $ RGW_<var>=<value> tox -e functional-py27
            ```
        
        #### On the testing stand (node with hc role)
        
        ```sh
        # Setup credentials:
        export RGW_URL=http://<hostname>:<port>
        export RGW_ACCESS_KEY=ACCESS_KEY
        export RGW_SECRET_KEY=SECRET_KEY
        
        # Run tests:
        python -m pytest /usr/share/rgwclient/tests/functional
        ```
        
        
Keywords: radosgw
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
