Bug 1410504
| Summary: | Wrong http method for "edit" action for /api/arbitration_rules/:id | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Martin Kourim <mkourim> |
| Component: | API | Assignee: | Gregg Tanzillo <gtanzill> |
| Status: | CLOSED WONTFIX | QA Contact: | Martin Kourim <mkourim> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.7.0 | CC: | dajohnso, jhardy, obarenbo, twade |
| Target Milestone: | GA | ||
| Target Release: | cfme-future | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | api:rest | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-12 22:14:57 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: | |||
This endpoint is being deprecated, so we're unlikely to fix this |
Description of problem: There is the "edit" action with the "delete" http method in addition to the "edit" action with the "post" http method. The action name should be "delete" instead ("delete" action with "delete http method is missing, "delete" action with "post" method is present). Version-Release number of selected component (if applicable): 5.7.0.17 How reproducible: 100% Steps to Reproduce: Create an arbitration profile: POST /api/arbitration_rules { "description" : "new admin rule", "operation" : "inject", "expression" : { "EQUAL" : { "field" : "User-userid", "value" : "admin" } } } and check the arbitration rule: GET /api/arbitration_rules/:id