remove parent concept from AsyncCallbackDispatcher, let user of AyncMethod handle high level concept of chaining
Revert "Guard null pointer exceptions."

This reverts commit fc56e29a3ec22035c744e276538e8a20e5923996.

Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java

Signed-off-by: Min Chen <min.chen@citrix.com>
api: Fix Validator annotation interface

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
fix build, due to refactor rpc
fix test build
Remove IdentityProxy from plugin response classes.

Signed-off-by: Min Chen <min.chen@citrix.com>
Add plugins section
Merge branch 'master' into ui-plugins
Fix path for plugins.js
CSS: Cleanup formatting
Add/style basic plugin listing
api: Annotate start,stop router cmds

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Add plugin loading functionality and basic framework

Dynamically load UI plugins via require.js

Plugin code uses the following format:

(function (cloudStack) {
  var testPlugin1 = function(plugin) {
    // Plugin code goes here
  };

  cloudStack.plugin({
    id: 'testPlugin1',
    title: 'Test Plugin 1',
    desc: 'Sample plugin 1',
    load: testPlugin1
  });
}(cloudStack));
fix unit test
trying to add code to download url into devcloud
Remove IdentityProxy from CloudException and ExceptionResponse.
api: Annotate some systemvm commands

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
api: Annotate missing systemvm api, annotate SystemVmResponse

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
UI Plugin: Use new format

Define plugins as namespaced objects instead of as function calls. This
is easier to implement and manage by the framework.

New format changes for defining plugins:

Now create 2 JS files in plugin folder:
  -config.js
  -[pluginName].js

plugins.js (listing) format:

  cloudStack.plugins = [
    'testPlugin'
  ];

config.js format:

  cloudStack.plugins.testPlugin.config = {
    title: 'Test Plugin',
    desc: 'Sample plugin'
  };

[pluginName].js format:

  cloudStack.plugins.testPlugin = function(plugin) {
    //
    // Plugin code goes here
    //
  };
UI sections: Support per-section pre-filter

In addition to the main sectionPreFilter in the cloudStack UI, allow a
per-section 'preFilter' which is called if the navigation section is
not returned in sectionPreFilter. This is used primarily to support
plugin sections which will not be displayed by default.