Bug 1947345

Summary: Add support for handling JSON response from API's
Product: Red Hat Enterprise Linux 8 Reporter: Pranita Ghole <pghole>
Component: redhat-support-lib-pythonAssignee: Pranita Ghole <pghole>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: high Docs Contact:
Priority: high    
Version: 8.5CC: cww, mhradile
Target Milestone: betaKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-support-lib-python-0.13.0-0.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2018194 2028544 2028545 2028546 (view as bug list) Environment:
Last Closed: 2022-05-10 13:48:30 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:
Bug Depends On:    
Bug Blocks: 2018194, 2028544, 2028545, 2028546, 2030063, 2052074    

Description Pranita Ghole 2021-04-08 09:23:41 UTC
Description of problem:


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

Currently thr RST library can only handle XML response from API's . However, new API's mostly don't support XML response and this means we cannot use those newer API's

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Json parsing not supported.

Expected results:
The json response should be parsed properly.

Additional info:
Bug for rhel7 for this is https://bugzilla.redhat.com/show_bug.cgi?id=1653574

Comment 11 errata-xmlrpc 2022-05-10 13:48:30 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 (redhat-support-lib-python bug fix and enhancement update), 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/RHBA-2022:1836