Bug 1445356

Summary: [RFE] Edit action is not been supported for VMS resources.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: Jillian Tullo <jtullo>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: high Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, ealcaniz, Egarciad, gtanzill, jhardy, jtullo, molasaga, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.7.3   
Hardware: All   
OS: Linux   
Whiteboard: rest:api
Fixed In Version: 5.7.3.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1428250 Environment:
Last Closed: 2017-06-28 15:01:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1428250    
Bug Blocks:    

Comment 2 CFME Bot 2017-05-26 14:23:53 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/a62bb533be6ca328b0637264b3a7646ec14af03f

commit a62bb533be6ca328b0637264b3a7646ec14af03f
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Wed Apr 5 16:55:58 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri May 26 10:10:35 2017 -0400

    Merge pull request #14623 from jntullo/enhancement/edit_vm
    
    Edit VMs API
    (cherry picked from commit ef497d01cd21d0da36636366a0c6c5aeecc2e2c5)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1445356

 app/controllers/api/vms_controller.rb | 47 ++++++++++++++++++-
 config/api.yml                        |  2 -
 spec/requests/api/vms_spec.rb         | 86 +++++++++++++++++++++++++++++++++++
 3 files changed, 132 insertions(+), 3 deletions(-)

Comment 3 Martin Kourim 2017-06-14 14:40:19 UTC
Verified with
POST /api/vms/:id
{
  "action": "edit",
  "custom_1": "new_custom_identifier",
  "description": "new_description"
}
that it's now possible to edit vms resources using REST API.

Comment 5 errata-xmlrpc 2017-06-28 15:01:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1601

Comment 8 Red Hat Bugzilla 2023-09-15 01:25:55 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days