Searchlight UI - Allow aggregation results through the horizon API
Bug #1623101 reported by
Travis Tripp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
Fix Released
|
High
|
Travis Tripp |
Bug Description
The Horizon REST API service is only letting the hits portion of the response come through. This is a problem for two reasons:
One, aggregations can't come through.
Two, It creates a difference between CORS requests to searchlight and horizon requests to searchlight.
openstack/
Line 63:
return searchlight_post(
Should be:
return searchlight_post(
).json()
And then fix the response.
Changed in searchlight: | |
milestone: | none → ocata-rc1 |
milestone: | ocata-rc1 → newton-rc1 |
description: | updated |
tags: | added: searchlight-ui |
Changed in searchlight: | |
importance: | Undecided → High |
assignee: | nobody → Travis Tripp (travis-tripp) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/369596 /git.openstack. org/cgit/ openstack/ searchlight- ui/commit/ ?id=e493560a571 3e0b7356aa7c5cc 8edc466c25dc91
Committed: https:/
Submitter: Jenkins
Branch: master
commit e493560a5713e0b 7356aa7c5cc8edc 466c25dc91
Author: Travis Tripp <email address hidden>
Date: Wed Aug 31 23:40:13 2016 -0600
Allow full searchlight response through Horizon
The Horizon REST API service is only letting the hits
portion of the response come through. This is a
problem for two reasons:
One, aggregations can't come through.
Two, It creates a difference between CORS
requests to searchlight and horizon requests to searchlight.
Change-Id: I06575e421868a0 89be17d3e16c819 80880e21fcd Closes- Bug: #1617327
Closes-Bug: #1623101
Closes-Bug: #1623146
Partially-