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>
CLOUDSTACK-1148: Change URL from google as 503 returns from that site cause test to erroneously fail.

Signed-off-by: Simon Waterhouse <simon.waterhouse@citrix.com>
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
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>
Transaction: Fix better debug message

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Summary: update packaging

Change some paths to use the new cloudstack name
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
CLOUDSTACK-1066: Add definitions for building systemvm template appliance

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Remove workarounds and fix hyperlinks that were preventing docs from building.
Add Creating Network Offerings section to fix broken cross-reference that prevented docs from building. This section was already in the repo, but was not previously included in any book file. Removed stray reference to obsolete version number.
Doc. CLOUDSTACK-1152. Restore missing half of paragraph in Adding a Host.
CLOUDSTACK-446 : Host going to alert state, if you are adding already added host
Adding an already added host fails with error but in the process incorrectly updates the status of the host to 'Alert'. Put a check to prevent this.
Summary: packaging updates

Empty paths lead to unpleasant surpises later on

Use basename to find the pid file when stopping tomcat
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
Summary: Path changes for new rpm packaging

The path to the keyfile was hardcoded, so added an alternative path for
compatibility with the packaging locations. Should ideally become a
setting in the config file.
agent: Use FileUtil.readFileAsString for reading RX and TX bytes

Since we already have this un utils it's better to use it here
then do the whole File/FileInputStream magic.

Keeps the code simpler and more readable.