You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2017/02/13 12:00:00 UTC

[2/2] git commit: updated refs/heads/master to 3c28ce7

Merge pull request #928 from karuturi/CLOUDSTACK-8950

CLOUDSTACK-8950 Hypervisor Parameter check is not performed for registerTemplate and getUploadParamsForTemplate API'sAny string is allowed as hypervisor type from the api.
HypervisorType.getType() tries to validates with the enums and if nothing
matches sets the type as None.

Added a check to not allow None hypervisor type when registering.

will update test results and testing done later.

* pr/928:
  CLOUDSTACK-8950 Hypervisor Parameter check is not performed for registerTemplate and getUploadParamsForTemplate API's

Signed-off-by: Rajani Karuturi <ra...@accelerite.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3c28ce7f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3c28ce7f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3c28ce7f

Branch: refs/heads/master
Commit: 3c28ce7f4d84c9fbb3b3d054a8cc8df619d5edae
Parents: 8efdcfc cc06c51
Author: Rajani Karuturi <ra...@accelerite.com>
Authored: Mon Feb 13 17:28:29 2017 +0530
Committer: Rajani Karuturi <ra...@accelerite.com>
Committed: Mon Feb 13 17:28:29 2017 +0530

----------------------------------------------------------------------
 .../com/cloud/template/TemplateAdapterBase.java | 21 +++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)
----------------------------------------------------------------------