CLOUDSTACK-4344: pass delay and retries explicitly to remoteSSHclient to reduce time taken by the tests

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 94f741bbf5e025c230172df2977a0986c5b73ec2)
CLOUDSTACK-702: Adding test for deploying vm in new cidr 1. Add guest ip range in new cidr and deploy vm in that

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 6b28e03d6d88e9b6bd9d0521a45c93d5b4af6501)
CLOUDSTACK-4646: Increase the wait time for the routers to go into stopped state

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
CLOUDSTACK: 4706 - Adding missing method get_region in common.py

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 503fe75dc93be209f0382ddf9c0b548009342565)
basic test for ApiDispatcher

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Test for URLEncoder

- test added
- source formatted

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Default null value in ConfigKey results in NPE on second start
Add Named interface to recognize objects with a getName()
Add registry interface

Registry interface will be used to store and discover extensions
Add ability to programatically disable CloudStack ComponentConext intialization

As we moved to a more Spring managed lifecycle, the lifecycle management
in ComponentContext is not needed.  The transition to fully spring managed
will not happen all at once.  The management server will be done first and
then AWSAPI and UsageServer will come later.  This change allows the
ComponentContext in the context of the management server to be bypassed.
Note, by default, the ComponentContext will run its initialization.
Cleanup DefaultUserAuthenticator and removed masking _name variable

DefaultUserAuthenticator maskes the _name varible in ComponentLifecycleBase
making the setName() method not work as expected.  This patch cleans up the
code such that getName() will be getClass().getSimpleName() unless
overridden in the Spring configuration.
Switch to setter injection for extensibility

Various classes are using member injection to inject extensible objects.
Really those object should come from an AdapterList that is injected in.
This patch switches the code to use setter injection that will later allow
spring to inject an AdapterList or something similar to allow
extensibility.
Add license headers to fix build
Wrong field was used in check
Remove file added by accident in previous commit.
UpdateVirtualMachine: code cleanup - got rid of warnings and unused code from the method; extracted part of the code to its separate method.
CLOUDSTACK-4696 Handle Netscaler Provider enable for both zones

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
AddResourceDetail: enabled support for adding details for user vm (user_vm_details db table)
Fix UsageServer startup

Add back @Component to ConfigurationDaoImpl and scan for the package in
Spring config.