[ https://issues.apache.org/jira/browse/CLOUDSTACK-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310749#comment-16310749 ]
ASF subversion and git services commented on CLOUDSTACK-9599: ------------------------------------------------------------- Commit d7e334b1b4aa39c35bc6029c1e5b0f050c097a78 in cloudstack's branch refs/heads/master from ernjvr [ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=d7e334b ] CLOUDSTACK-9599: isdynamicallyscalable field missing in updateTemplate Response (#2383) Using cloudmonkey, when invoking the update template api call, it does not display the isdynamicallyscalable field as part of its template response. fix done: org.apache.cloudstack.api.response.TemplateResponse isdynamicallyscalable field is now populated in the server/src/com/cloud/api/query/dao/TemplateJoinDaoImpl.java.newUpdateResponse method. Unit test: the Unit test server/test/com/cloud/api/query/dao/TemplateJoinDaoImplTest.java testNewUpdateResponse() verifies that the TemplateResponse is populated correctly. Marvin test: the Marvin nosetest integration/smoke/test_templates.py test_02_edit_template(self) confirms that the template_response.isdynamicallyscalable field gets populated with the correct user data. Test scenario: Using cloudmonkey, when invoking the 'update template' API call, it should now display the isdynamicallyscalable field as part of its template response. > UpdateTemplate Response is Missing "isdynamicallyscalable" Field > ---------------------------------------------------------------- > > Key: CLOUDSTACK-9599 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9599 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API > Affects Versions: 4.6.1 > Reporter: John Burwell > Priority: Minor > Fix For: 4.9.2.0, 4.10.1.0, 4.11.0.0 > > > The response for the UpdateTemplate command does not include the > "isdynamicallyscalable" field. The following is a sample of the output from > a call to a 4.6 management server: > {code} > cloudmonkey> update template id=7a6c263c-1e16-49dc-866e-7189f3f49052 > passwordenabled=false > { > "template": { > "account": "admin", > "bootable": true, > "created": "2016-11-01T15:21:07+0000", > "crossZones": false, > "details": { > "dataDiskController": "osdefault", > "nicAdapter": "Vmxnet3", > "rootDiskController": "osdefault" > }, > "displaytext": "Windows2012R2", > "domain": "ROOT", > "domainid": "80ed2086-a02e-11e6-8900-005056aa4c21", > "format": "OVA", > "hypervisor": "VMware", > "id": "7a6c263c-1e16-49dc-866e-7189f3f49052", > "isfeatured": false, > "ispublic": true, > "isready": false, > "name": "Windows2012R2", > "ostypeid": "0c1e7989-a034-11e6-8900-005056aa4c21", > "ostypename": "Windows Server 2012 R2 (64-bit)", > "tags": [], > "templatetype": "USER" > } > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)