GitHub user karuturi opened a pull request:

    https://github.com/apache/cloudstack/pull/928

    [4.7] CLOUDSTACK-8950 Hypervisor Parameter check is not performed for 
registerTemplate and getUploadParamsForTemplate API's

    Any 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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/karuturi/cloudstack CLOUDSTACK-8950

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/928.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #928
    
----
commit fed3b1f909b2acb17e48e1e5fd013e751593addc
Author: Rajani Karuturi <rajani.karut...@citrix.com>
Date:   2015-10-06T11:26:50Z

    CLOUDSTACK-8950 Hypervisor Parameter check is not performed for
    registerTemplate and getUploadParamsForTemplate API's
    
    Any string is allowed as hypervisor type from the api.
    Hypervisor.getType() tries to validate with the enums and if nothing
    matches set the type as None.
    
    Added a check to not allow None hypervisor type when registering.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to