Merge pull request #113 from simon3z/v3.0.x

resteasy: catch IllegalStateException on InputStream close
neutron: Consolidate Port and PortForCreate

There is no reason to duplicate these classes, so consolidating so that
Port is the main entity that is used for communication with the server.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
neutron: Use Port instead of PortForCreate

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
neutron: Fix Ports parameters names

The parameter names were incorrect, referring to network instead of
port.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
neutron: Support port updating

Added support for updating a given port, identified by it's ID.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
neutron: Clean up ports model code

1. Use space indentation for better compatibility than tabs.
2. Space out fields for easier reading.
3. Remove trailing whitespace.
4. Suppress serial ID warnings.
5. Add missing @Overrides.
6. Format the code (mainly the javadocs).

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
Fix name of networkId field so that it matches its getter/setter
neutron: Add tenant id for subnet for create

Tenant id is necessary if not using auth.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
Merge pull request #118 from mkolesni/v3.0.x

Improve port handling
console: update connectors dependencies

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
[maven-release-plugin] prepare release openstack-java-sdk-3.0.2
[maven-release-plugin] prepare for next development iteration
Upgrade jackson library from 1.9.4 to 1.9.13

(cherry picked from commit e2cb13990866907cde434b8e3d981188a029f6a6)
neutron: Add unit test from Port

Added tests for port serialization/deserialization

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
(cherry picked from commit a499d837d1c049edb51da8411affbdd72144ff9a)
neutron: Format Subnet class

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
(cherry picked from commit 055bcbd8d3ccdd70f2bc52977cf741395aabc63d)
neutron: Unify Subnet entity

Unified subnet entity with SubnetForCreate, deprecating the later as
it's no longer necessary.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
(cherry picked from commit 1b838b883bf647498d9fea5a8e7794008928f6d4)
neutron: Format Network class

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
(cherry picked from commit 6188a6684b16e6605575db96509b573cab58755a)
neutron: Unify Network entity

Unified network entity with NetworkForCreate, deprecating the later as
it's no longer necessary.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
(cherry picked from commit 8e65ebb62e11c518191ff523da01fcef6ba02d79)
neutron: Unify Network entity

Unified network entity with NetworkForCreate, deprecating the later as
it's no longer necessary.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
(cherry picked from commit 27b3cbadd42a8b3c220617206e8a77b1a2253741)
neutron: Allow Subnet update

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
(cherry picked from commit 37ef4434e7b7fa1f48456826421a7cc4eef04e1c)