Bug 1530953
| Summary: | [QEDevCollab] Get Current Server Time via REST API | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Pete Savage <psavage> |
| Component: | API | Assignee: | Gregg Tanzillo <gtanzill> |
| Status: | CLOSED ERRATA | QA Contact: | Parthvi Vala <pvala> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.9.0 | CC: | obarenbo, pvala, simaishi |
| Target Milestone: | GA | ||
| Target Release: | 5.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-02-07 23:00:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pete Savage
2018-01-04 10:06:27 UTC
New commit detected on ManageIQ/manageiq-api/master: https://github.com/ManageIQ/manageiq-api/commit/e6f43d64eb8e162d9044000ac55b2b676f3529ff commit e6f43d64eb8e162d9044000ac55b2b676f3529ff Author: Jillian Tullo <jtullo> AuthorDate: Wed Jan 24 09:07:48 2018 -0500 Commit: Jillian Tullo <jtullo> CommitDate: Wed Jan 24 15:35:30 2018 -0500 Return the time in the api entrypoint Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1530953 app/controllers/api/api_controller.rb | 1 + spec/requests/entrypoint_spec.rb | 25 ++++++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) FIXED. Verified on 5.10.0.23.20181106165157_92dd189.
Request: GET https://<ip_address>/api
Response: {
...
"server_info": {
"version": "5.10.0.23",
"build": "20181106165157_92dd189",
"appliance": "EVM",
"time": "2018-11-13T10:19:08Z",
"server_href": "https://<ip_address>/api/servers/1",
"zone_href": "https://<ip_address>/api/zones/1",
"region_href": "https://<ip_address>/api/regions/1",
"enterprise_href": "https://<ip_address>/api/enterprises/1",
...
}
...
}
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-2019:0212 |