Skip to content

Conversation

@simon3z
Copy link
Collaborator

@simon3z simon3z commented Jun 5, 2013

Some API (e.g. glance image show and download) require custom entity
parsers.

In this patch:

  • OpenStackClientConnector.request() (renamed from execute) returns now
    OpenStackResponse objects
  • the OpenStackResponse interface has now a getEntity method to parse
    and return the entity
  • the connectors and responses implementations (resteasy and jersey2)
    have been adapted to the new interfaces
  • a new RESTEasyResponse class has been added
  • OpenStackClient now exposes a request method which returns response
    objects
  • the old OpenStackClient execute method is now a wrapper to the request
    and getEntity methods
  • the GlanceListImages examples has been updated to test show image

Signed-off-by: Federico Simoncelli fsimonce@redhat.com

simon3z added 2 commits June 5, 2013 12:44
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Some API (e.g. glance image show and download) require custom entity
parsers.

In this patch:
* OpenStackClientConnector.request() (renamed from execute) returns now
  OpenStackResponse objects
* the OpenStackResponse interface has now a getEntity method to parse
  and return the entity
* the connectors and responses implementations (resteasy and jersey2)
  have been adapted to the new interfaces
* a new RESTEasyResponse class has been added
* OpenStackClient now exposes a request method which returns response
  objects
* the old OpenStackClient execute method is now a wrapper to the request
  and getEntity methods
* the GlanceListImages examples has been updated to test show image

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
woorea added a commit that referenced this pull request Jun 5, 2013
client: add the support for custom entity parsers
@woorea woorea merged commit 3e08e60 into woorea:master Jun 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants