cloudstack/api
Remi Bergsma c7ad1b6083 Merge pull request #1319 from nitin-maharana/CloudStack-Nitin15_4.7
CLOUDSTACK-9132: API createVolume takes empty string for name parameterSteps to Reproduce:
================

Create a volume using createVolume API where parameter name is empty.
It creates a volume with empty name.
But the name parameter is mandatory.(Issue)

Expected Behaviour:
================

It shouldn't create a volume with an empty name. Error should be returned.

Solution:
=======

Added a condition to check in case of empty string. If the name is an empty string, it generates a random name for the volume. Made the name field optional in UI as well as in API.

* pr/1319:
  CLOUDSTACK-9132: API createVolume takes empty string for name parameter

Signed-off-by: Remi Bergsma <github@remi.nl>
2016-01-19 17:44:56 +01:00
..
resources/META-INF/cloudstack Removed "host" config parameter definition from ClusterManager interface as it got moved to cloud-api package 2014-01-21 17:19:52 -08:00
src Merge pull request #1319 from nitin-maharana/CloudStack-Nitin15_4.7 2016-01-19 17:44:56 +01:00
test CLOUDSTACK-8592: Implement Quota service 2015-12-07 23:02:48 +05:30
pom.xml Updating pom.xml version numbers for release 4.7.1-SNAPSHOT 2015-12-21 19:55:04 +01:00