Commit Graph

10 Commits

Author SHA1 Message Date
Takashi Kajinami e0fe706ff2 Remove six
Because this library no longer supports Python 2, usage if six is not
needed.

Change-Id: Ib13170ad442dd486c939178f66af66c6f6f7288b
2024-01-17 18:00:03 +09:00
Andreas Jaeger d7c3cb9799 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I3062215fcfc2e448e0f29402104496f80945aeee
2020-04-28 07:45:21 +02:00
yanyanhu ad370a3e55 Using v2 interface in example
This patch revises examples to use v2 interface which
is long-term supported.

Change-Id: I66fe67e1a1e81c092b2f37eaa6d2ad11f6166e22
2016-09-05 22:20:54 -04:00
OpenStack Proposal Bot 8a81c44f14 Updated from global requirements
This change introduces new requirements and fixes new checks by
the `hacking` module.

Change-Id: I3b98d5038c516b3115d7247fa0f4ea1189b33dff
Co-Authored-By: Victoria Martinez de la Cruz <victoria@redhat.com>
2015-08-27 13:19:58 +02:00
dynarro e9a8d01cf8 Added support to pools and flavors
Python-zaqarclient had missing features for v1.1 which involved pools and flavors that
needed to be added.

I added support to pools by adding a 'pool_update' and a 'pool_list' function,
and add support to flavors by writing a 'flavor_update' and a 'flavor_list'
function.

Change-Id: I640d17c64be6448283c53ae0dbea6543484ff7a4
Depends-on: I36445838f532e9f282a4f839a0f583257c1f13d9
Partially-implements: # blueprint api-v1.1
2015-06-25 17:05:00 +02:00
dynarro 24aeae571a Deleted unuseful line
Change-Id: Ib0902f321e91c65ed8d3bd258c87315433062cc1
2015-05-25 16:32:26 +00:00
Flavio Percoco 11c3310d11 Rename Marconi to Zaqar
This patch renames every package, file, match of Marconi in the codebase
to Zaqar *except* for the .gitreview file, which will have to be updated
*after* I8e587af588d9be0b5ebbab4b0f729b106a2ae537 lands.

Implements blueprint: project-rename

Change-Id: I0c82be81f74d022ab609eea8f40ac2c0635374b1
2014-08-04 16:55:10 +02:00
Jay Baugh 7ed5591012 Added API version to URL
Closes-Bug: 1287933
Change-Id: I48781f016f47f9b626410638271ce55fac3d39db
2014-03-06 15:03:47 +00:00
Flavio Percoco 4fdbddac29 Add a Message resource and a MessageIterator
This patch defines the Message resource and the MessageIterator. The
former represents a message unit and the possible operations that can be
executed from that resource. The later allows users to iterate over
Messages' pages and consume all available messages.

The patch also renames queue_id to queue._name which is more consistent
with the API terminology.

NOTE: Functional tests are missing and will be added in a separate
patch.

Change-Id: I8c871e326bd580964f15d4ffc16c6264f9825ba7
Partially-Implements: python-marconiclient-v1
2014-01-07 10:02:52 +01:00
Flavio Percoco d215aaaa55 Add `simple` example for the client library
The patch adds a new package containing a simple example of how the
client library is supposed to be used.

It shows the usage of the high-level API.

Change-Id: I6a31f4ac9bf0be5c82d71681abb0cac8b67d1d6b
2013-12-03 12:36:10 +01:00