Bug 906155

Summary: Revise Support for the text/plain Format in the Alert API
Product: [Other] RHQ Project Reporter: Fernando Ribeiro <fernando.ribeiro>
Component: RESTAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: lzoubek
Target Milestone: ---   
Target Release: RHQ 4.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 10:13:37 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 Fernando Ribeiro 2013-01-31 02:16:02 UTC
Description of problem:

The Alert API currently supports the text/plain format, but except when the return value is of a primitive type, returns the result of the toString() method, which is usually not proper for client consumption.

Since most clients may be interested only in the application/xml and application/json formats, dropping support for the text/plain format should be evaluated against improving it.

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

4.5.1

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Heiko W. Rupp 2013-02-06 16:43:16 UTC
Good find - I think I actually never intended to support text/plain and that this is a typo and meant text/html.

I will look into it.

Comment 2 Heiko W. Rupp 2013-02-07 09:38:05 UTC
master 74e469c5b13cc5

Comment 3 Heiko W. Rupp 2013-08-31 10:13:37 UTC
Bulk close of old bugs in VERIFIED state.