Merge pull request #51 from mkolesni/master

Fixing Quantum client & RESTEasy connector
upgrade to new groupId
refactor java packaging to prepare maven release
java: complete the migration to com.woorea

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
client: add the support for custom entity parsers

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>
added travis and oss sonatype parent
Merge pull request #53 from simon3z/master

client: add the support for custom entity parsers
glance: minor code fixes in ImagesResource

In this patch:
* fix indentation for AddMember and RemoveMember
* remove unused private Image attributes

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
glance: make ImageForUpload symmetric with ImageDownload

In this patch:
* remove all the image related attributes from ImageForUpload
* add an Image attribute to ImageForUpload
* rename ImageForUpload to ImageUpload

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
glance: image creation should use metadata headers

In the image creation API the metadata is passed as headers (same as the
upload API).

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
resteasy: InputStreamProvider for byte streams

In order to support image uploads and downloads the InputStreamProvider
has been added to the resteasy connector.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
resteasy: remove the ClientRequestFactory

In order to better support concurrent requests and unclosed or pending
byte streams, the ClientRequestFactory has been removed.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
glance: add support to upload queued images

In order to support the upload of queued images a new method has been
introduced.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
glance: image download should use the GET method

In order to properly download an image the http method HEAD has been
replaced with GET.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Merge pull request #54 from simon3z/master

Glance image upload and download fixes