Bug 1422596

Summary: entities under provider custom_attributes don't have "delete" action with "DELETE" method listed
Product: Red Hat CloudForms Management Engine Reporter: Martin Kourim <mkourim>
Component: APIAssignee: Tim Wade <twade>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: jhardy, obarenbo, simaishi, twade
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: api:rest:provider
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:09:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kourim 2017-02-15 16:25:06 UTC
Description of problem:
Entities under /api/providers/:id/custom_attributes/:attr_id don't have "delete" action with "DELETE" method listed (there's just "delete" action with "POST" method), but it's possible to DELETE /api/providers/:id/custom_attributes/:attr_id anyway.


Version-Release number of selected component (if applicable):
5.7.1.1


How reproducible:
100%


Steps to Reproduce:
1. create custom attribute
2. GET /api/providers/:id/custom_attributes/:attr_id
3. check that "delete" action with "delete" method is not listed
4. DELETE /api/providers/:id/custom_attributes/:attr_id

Expected results:
The "delete" action with "delete" method is listed.

Comment 2 Tim Wade 2017-06-27 16:31:13 UTC
PR: https://github.com/ManageIQ/manageiq/pull/14751

Comment 3 Martin Kourim 2017-10-18 22:54:02 UTC
Verified that the "delete" action with "delete" method is listed.

Comment 6 errata-xmlrpc 2018-03-01 13:09:52 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-2018:0380