Regression, this file should not be in the tree
cli: Use metaprogramming to generate code during runtime when new apis sync

- Fixes metaprogramming to inject methods during shell class object's runtime
- This enable new apis that are synced to come up with new verbs, docs etc.
- Fixes printing issue
- Fixes null bitfield parsing issue

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
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.
CLOUDSTACK-1083: Include removed projects while  listing usage records
Fix the situation where only a gateway and a netmask is passed with the
createNetwork command.
NiciraNvpElement is loaded twice, but no idea where. This makes it work
however
NiciraNvp Provider should not be marked as external as this will prevent
creation of networks when there is no default CIDR in the zone.
Fix for CLOUDSTACK-1112
Summary: packaging updates

Renamed a whole bunch of stuff from cloud to cloudstack

Fix startup of cloudstack-agent
This database file does not exist anymore
Set path to the setup files
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>
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