kibana/x-pack/plugins/enterprise_search/server
Constance 9744de2a1a
[Workplace Search] Fix download diagnostics button (#104792)
* EnterpriseSearchRequestHandler: Create new hasJsonResponse param
- in place of try/catch previously added for an empty response

- we should instead attempt to handle all non-JSON responses manually, as they're (currently) the outlier

* Update AS sample engine/onboarding route with hasJsonResponse: false

- as this was the original route that added the try/catch
- should still work without it now

* Update WS source download diagnostic route with hasJsonResponse: false

- this was the original impetus for the non-JSON feature request - WS needs the ability to download JSON files directly

* Update Download Diagnostics filename to match standalone UI

* Fix misc routing issues in Source Settings

- `/api` route is missing Kibana basepaths (affects both dev modes and users who have Kibana canonically set to a non-root URL)

- We shouldn't be using RR's native <Link>, but instead our RR helpers which use Kibana's instance of RR history
2021-07-08 08:16:49 -07:00
..
__mocks__ Enterpise Search SSL Settings Support (#100946) 2021-06-03 10:58:11 -04:00
collectors [App Search] Remove external "Launch App Search" button (#100815) 2021-06-23 14:30:36 -04:00
lib [Workplace Search] Fix download diagnostics button (#104792) 2021-07-08 08:16:49 -07:00
routes [Workplace Search] Fix download diagnostics button (#104792) 2021-07-08 08:16:49 -07:00
saved_objects [Enterprise Search] Add eslint import/order rules (#90530) 2021-02-09 09:33:39 -08:00
index.ts Enterpise Search SSL Settings Support (#100946) 2021-06-03 10:58:11 -04:00
plugin.ts Enterpise Search SSL Settings Support (#100946) 2021-06-03 10:58:11 -04:00