
This change converts the existing legacy job into a native one. It also re-enables the execution of functional tests, which are otherwise not executed. It seems the initial idea of this job was to run them, but this part has been probably lost over time. This require a new 'functional' tox environment which focuses on the functional tests. Without the functional tests, this job is just a simple devstack deployment job which tests the installability of zaqarclient, but without really going through its code. Unfortunately, as they haven't been executed for a while, only a minority of the functional tests work. Only a subset of them has been then enabled for now. Change-Id: I6f33ca4b2da44cdaf4c85d30a3d520b0fdddce85
Team and repository tags
Python Zaqar Client
- Wiki
- Launchpad
- Review
- Design
- IRC
-
#openstack-zaqar @ freenode
Welcome to the Zaqar Python Client project!
Installation
The latest stable release can be installed from PyPI:
pip install --upgrade python-zaqarclient
For the adventurous, you may also install the latest code directly from git .openstack.org:
pip install git+https://git.openstack.org/openstack/python-zaqarclient.git
What's in the box
By installing python-zaqarclient you get programmatic access to the Zaqar v1.0 API library. Plus, it installs a plugin to python-openstackclient that allows you to perform simple queue operations.
How to use
Python client
Details about design, features, usage and workflow can be found in the Python Client Wiki.
Command line interface
Zaqar bases its client implementation in the OpenStack Client. It can be installed and configured by following the instructions in Getting Started and Configuration in the OpenStack Client Readme respectively.
The CLI currently allows creation, removal and listing of queues. Some examples are:
$ openstack queue list --limit 3
$ openstack queue create myqueue
$ openstack queue delete myqueue
Contributing
Be sure to reference the HACKING file for details on coding style. You may also wish to read through Zaqar's Contributor Guide before contributing your first patch.