cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanna Santhanam (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-2787) updateVpcOffering should have id as a required attribute
Date Fri, 09 Aug 2013 10:06:47 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Prasanna Santhanam closed CLOUDSTACK-2787.
------------------------------------------


API docs render with the reqd. attribute now
                
> updateVpcOffering should have id as a required attribute
> --------------------------------------------------------
>
>                 Key: CLOUDSTACK-2787
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2787
>             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 updateVpcOfferingCmd.java but without the id one cannot
update the vpc offering.
> @APICommand(name = "updateVPCOffering", description="Updates VPC offering", responseObject=VpcOfferingResponse.class)
> public class UpdateVPCOfferingCmd extends BaseAsyncCmd{
>     public static final Logger s_logger = Logger.getLogger(UpdateVPCOfferingCmd.class.getName());
>     private static final String _name = "updatevpcofferingresponse";
>     /////////////////////////////////////////////////////
>     //////////////// API parameters /////////////////////
>     /////////////////////////////////////////////////////
>     @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = VpcOfferingResponse.class,
>             description="the id of the VPC offering")
>     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

Mime
View raw message