ApiServer: Log a better message if api access fails and debug it

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
APIAccessChecker: Refactor and simply plugin implementation using better data structures

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
APIChecker: Rename refactor and add interface checkExistence

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
ApiDiscoveryServiceImpl: Implement listApis to return response based on role

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
ApiDiscovery: Fix response add response class that will hold api response

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
ApiDiscovery: Fix listApis to return api response, related apis etc.

- Fix method to return listApis per api name basis
- Return api response, api related cmd etc. as part of response
- Caching and processing all cmd, response classes when plugin starts, made class
  list, maps static so they are shared by multiple instances in case, takes about
  1306ms to do the processsing but only on load time
- Cache for first listApi() and return precached data thereon, takes 2.2ms
  for first call, during runtime and 0ms thereon

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Docs. CLOUDSTACK-959. A sub-heading was inadvertently left out of the System Service Offerings section of documentation. Adding the section "Creating a New System Service Offering".
Added Marvin building docs in developer guide
Added Marvin building docs to dev guide
<message>
Revert "<message>"

This reverts commit 5dd14f322c7332ebb5b9aee22f84209763e891e8.
SRX and f5 inline mode documentation: Reviewed-By: Jessica Tomechak
apidoc: fixing the api doc failure

remove api-discovery_commands.properties since the plugin returns the
listApis call as a map directly. not needed for api doc generation.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Autoscale Documentation : Reviewed-By: Jessica Tomechak
Per my veto vote on the dev list, reverting "SRX and f5 inline mode documentation: Reviewed-By: Jessica Tomechak"

This reverts commit 106730ccdde30450e96d080ed6c9791682fb7300.
apidoc: Remove api discovery from toc

Based on eb40d2337e0ae10876a27dfbc22575be8e9d593d

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Summary: Change url of tiny linux in devcloud-kvm.sql

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1357930366 -0700
CLOUDSTACK-933: CglibThrowableRendererTest writing stack traces...

Improve CglibThrowableRenderer test case

Log to a separate Logger instead of the default one to avoid spurious
stack traces in test run output.

Actually verify that registering CglibThrowableRenderer with the
alternative log hierarchy actually removes call trace lines that
contains the string <generated>
utils: Fix getByUuid to accept string arg, it's not gonna be anything else

Due to generic programming, most classes declare Daos with ID as Long, so they
get the getUuid(Long) definition, it has to be getUuid(String), uuid is not
gonna be anything else. Fix GenericDaoBase and GenericDao.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
DomainService: Fix getDomain by uuid string

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