Bug 1238268
| Summary: | [RFE] Retrieve Reporting reports from RESTapi | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Hardy <jhardy> | |
| Component: | API | Assignee: | Tim Wade <twade> | |
| Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.4.0 | CC: | cpelland, gtanzill, jhardy, mfeifer, obarenbo, ssainkar | |
| Target Milestone: | GA | Keywords: | FutureFeature, ZStream | |
| Target Release: | 5.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.5.0.3 | Doc Type: | Enhancement | |
| Doc Text: |
The new version of CloudForms Management Engine adds the capability to retrieve Reporting reports with RESTapi. The reports are returned in the JSON format in response to port standard RESTapi inventory calls.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1261898 (view as bug list) | Environment: | ||
| Last Closed: | 2015-12-08 13:20:27 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: | 1244937 | |||
| Bug Blocks: | 1261898 | |||
|
Description
John Hardy
2015-07-01 13:43:50 UTC
I generated a couple of canned reports in 5.5.0.7, looked for the IDs of them in https://hostname/api/reports?expand=resources and then based on ID, I did https://hostname/api/reports/<id>/results , where I found a list of results and when I opened a particular result with https://hostname/api/reports/<id>/results/<id> I saw a JSON that looks like table data. \o/ 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-2015:2551 |