[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671485#comment-13671485
 ] 

ASF subversion and git services commented on CLOUDSTACK-2788:
-------------------------------------------------------------

Commit 49b5e61869fb5ca0dbea729a1ba9ab38d6a5e646 in branch refs/heads/master 
from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=49b5e61 ]

CLOUDSTACK-2788: restartVpc should have id as required

Signed-off-by: Prasanna Santhanam <[email protected]>

                
> restartVpc should have id as a required attribute
> -------------------------------------------------
>
>                 Key: CLOUDSTACK-2788
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2788
>             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
>             Fix For: 4.2.0
>
>
> id is not a required attribute in restartVpcCmd.java but without the id one 
> cannot update the vpc offering.
> @APICommand(name = "restartVPC", description="Restarts a VPC", 
> responseObject=VpcResponse.class)
> public class RestartVPCCmd extends BaseAsyncCmd{
>     public static final Logger s_logger = 
> Logger.getLogger(RestartVPCCmd.class.getName());
>     private static final String _name = "restartvpcresponse";
>     /////////////////////////////////////////////////////
>     //////////////// API parameters /////////////////////
>     /////////////////////////////////////////////////////
>     @Parameter(name=ApiConstants.ID, type=CommandType.UUID, 
> entityType=VpcResponse.class,
>             description="the id of the VPC")
>     private Long id;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to