[
https://issues.apache.org/jira/browse/CLOUDSTACK-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891459#comment-13891459
]
ASF subversion and git services commented on CLOUDSTACK-2789:
-------------------------------------------------------------
Commit e5335cd6e488f0c751c8f6c867f06606ad313e71 in branch refs/heads/master
from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e5335cd ]
CLOUDSTACK-2789: UpdateVPC shouldn't require name parameter
> updateVpc should have id and name as required attributes
> --------------------------------------------------------
>
> Key: CLOUDSTACK-2789
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2789
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.2.0
> Reporter: Prasanna Santhanam
> Assignee: Alena Prokharchyk
> Fix For: 4.2.0
>
>
> id is not a required attribute in updateVpcCMd.java but without the id and a
> name one cannot update the vpc.
> @APICommand(name = "updateVPC", description="Updates a VPC",
> responseObject=VpcResponse.class)
> public class UpdateVPCCmd extends BaseAsyncCmd{
> public static final Logger s_logger =
> Logger.getLogger(UpdateVPCCmd.class.getName());
> private static final String _name = "updatevpcresponse";
> /////////////////////////////////////////////////////
> //////////////// API parameters /////////////////////
> /////////////////////////////////////////////////////
> @Parameter(name=ApiConstants.ID, type=CommandType.UUID,
> entityType=VpcResponse.class,
> description="the id of the VPC")
> private Long id;
> @Parameter(name=ApiConstants.NAME, type=CommandType.STRING,
> description="the name of the VPC")
> private String vpcName;
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)