CLOUDSTACK-435: Vmware network labels are ignored when creating a Zone using basic networking
Due to incorrect logic the private network traffic label specified was not getting used, instead some default was getting used (vSwitch0 or privateEthernetPortProfile). The fix passes the correct label in the format vSwitchX or vSwitchX,<vlan_id> and based on that the correct switch is used.
Fix for CLOUDSTACK-1112
CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter
CLOUDSTACK-1142: Refactor handleRequest definition, clean redundant code

- Get rid of boolean decode arg
- Method assumes that OTW params have been already decoded
- Remove redundant code that tries to decode again based on boolean arg

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 2b267c1ceb898564bbf60bec161739bc8ae6f6d9)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1138:Providing invalid values for gateway, netmask etc in the zoneWizard blocks the VLAN container to load , throwing an error
Transaction: Fix NPE while reading db.properties file

Handle NPE while setting up data source in Transaction

- This occured as Transaction is called it would run the following which
  assumed db.properties file, which may not be in one's classpath;

        // Initialize with assumed db.properties file
        initDataSource("db.properties");
- So, while this would be logged in logs, this is ignored for DatabaseCreator's
  case. In DatabaseCreator we call initDataSource with full path anyway.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 7795cfd75986874f9a947260379a761b0f3bde82)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Transaction: Fix better debug message

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 9cf5f9d78046e3480fb5521ab60be7909fa60f60)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-786, CLOUDSTACK-1014: Moved usage APIs to cloud-api. Removed ManagementServerExt. Usage API related implementation is added to UsageServiceImpl
CLOUDSTACK-1154: Added @Component annotation to RegionServiceImpl and RegionManagerImpl
Docs. CLOUDSTACK-1152. Restore second half of paragraph which was deleted in error.
Docs. Change software version number in book title pages to 4.1.
Docs. Fix broken hyperlink.
Docs. Fix broken hyperlink to Creating Network Offerings. Add the section to the book, and add conditional cross-references so it will build in either book (admin or install). This section was already in the repo, but was not previously included in any book. Also removes stray reference to obsolete software version number 3.0.3 in the Creating Network Offerings section.
Docs. Remove redundant inclusion of add-security-group.xml, which was breaking the docs build.
CLOUDSTACK-1160: remove refs to invalid ACS release

@since tag in API cmd /responses has been given an invalid ACS release
version. This fix removes these references.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Summary: Fix improper variable assignment in resizevolume.sh (remove $)

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360089640 -0700
Summary: resizeVolume needs to be available in UI

Detail: Adds UI element for resizing a volume

BUG-ID: CLOUDSTACK-644
Reported-by: hongtu_zang@tcloudcomputing.com
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360091087 -0700
Summary: Disallow shrinking volume type QCOW2 to fail with better message

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360093176 -0700
We don't need logs in out source tree
(cherry picked from commit e04d8f3fcfff02ee5c54545b55731b8312f128f9)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
Remove yet another test where the database was not properly mocked. FIXME
(cherry picked from commit 0495f5309e7e98d0961e08bcc24ccc329435cd16)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>