Commit Graph

20 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
Thomas Herve d19198c65e Revert "Fix The header X-PROJECT-ID missing bug"
This reverts commit a0b6a79a3c.

It's not a backward compatible change.

Change-Id: I0a568649e860da58586b9a74917bdc8b6c809bfc
2017-03-07 15:56:36 +00:00
zengjianfang a0b6a79a3c Fix The header X-PROJECT-ID missing bug
This patch fixex X-PROJECT-ID missing bug.

Change-Id: I8c13160f24f51a3f6588aefadae9ef8ff2519e1a
Co-Authored-By: XueFeng Liu <liu.xuefeng1@zte.com.cn>
Closes-Bug: #1668830
2017-03-07 16:23:33 +08:00
Jenkins 343b7d5cb4 Merge "Add an example for pre signed URL" 2017-02-09 03:21:44 +00:00
Jenkins 43fe2bee07 Merge "Using v2 interface in example" 2016-12-14 07:12:35 +00:00
Fei Long Wang ca76a31311 Support keystone session when creating client
Currently, Zaqar client doesn't support passing in Keystone
session for authentation. This patch add that support, so
that user can create Zaqar client like:
z = zaqarclient.Client(session=session)

Change-Id: Idbd81678714534116d3f3cf8a395a704b1f61542
2016-11-03 14:31:09 +13: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
Fei Long Wang 8a1448ed3b Add an example for pre signed URL
Change-Id: I6abb998cee022e5cf3e83df4600dc027bc537d32
2016-06-28 15:57:39 +12: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
TheSriram cd95664f3f Enable deleting of message with claim id
This patch fixes a bug wherein a user was not able to delete
a claimed message due to the claim id not being passed along with
the message id.

Change-Id: If893d2ca9cb1e0ff5fe82cc15e3f2e8dd0ccac3f
Closes-Bug:1325032
2014-06-03 10:16:21 -04:00
Fei Long Wang 635dbd772d Add sample for Keystone auth
Add a sample about how the client to talk with Marconi
server when the Keystone auth is enabled on server side.

Change-Id: I446063da2e6958c27ff8afab2afad7b8818104cb
2014-04-04 21:28:10 +08:00
Jay Baugh 7ed5591012 Added API version to URL
Closes-Bug: 1287933
Change-Id: I48781f016f47f9b626410638271ce55fac3d39db
2014-03-06 15:03:47 +00:00
Angus Salkeld a0b4feb488 Add support for claims
Implements blueprint claims-management
Change-Id: Icaa7c6df73e13200fc3ba03c34e90c5ac850eb46
2014-03-04 14:08:05 +10:00
Fei Long Wang d49c752e28 Add /health support to the client
The patch adds /health support of the client. This will allow users to
check the status of shard from Marconi.

Partially-Implements blueprint: python-marconiclient-v1

Change-Id: I5e6bbb79144a5808ef91b00bb8265936364cec30
2014-02-03 17:19:47 +08: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