kibana/docs
Mike Côté 399067a491
Basic server side export API for saved objects (#30326)
* Initial work for new server side export API

* Revert UI changes, API only in this PR

* Remove whitespace at top of export.asciidoc

* Add tests around limitations

* Add comment

* Convert some files to typescript

* Move Boom.boomify to where the errors are created

* Use Boom.badRequest for now

* Fix lint issue

* Move files

* Update tests

* Add functional test

* Export all documents by default

* Update test assertions

* Use ~10000 saved objects in export api integration test

* Convert route to typescript, add content-type response header

* Move some tests to api_integration

* Use new sort and rename functions/variables

* Move tests to API integration

* Cleanup and finalize api integration tests

* Make type or objects required but not both in the same call

* Add spaces / security tests

* Add noTypeOrObjects to security / spaces tests

* Use json-stable-stringify and add tests for export ordering

* Address self feedback, add without kibana index test

* Only allow export API to export index-pattern, dashboard, visualization and search type objects

* Make import export size configurable and fix broken tests

* Fix broken tests

* Move test config to mock server

* Add more typescript types instead of using any

* Convert request from GET to POST

* Fix saved objects mixin test

* Update src/legacy/server/saved_objects/lib/export.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Apply PR feedback

* Fix lint error

* Update test snapshots due to jest upgrade

* Add error handling for bulkGet

* Split export API into two endpoints

* Update src/legacy/server/saved_objects/routes/export_by_type.test.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update docs/api/saved-objects/export_by_type.asciidoc

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update docs/api/saved-objects/export_by_type.asciidoc

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update src/legacy/server/saved_objects/routes/export_objects.test.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Apply PR feedback

* MockServer -> createMockServer

* Revert back to single API

* Re-apply PR feedback
2019-03-05 15:42:02 -05:00
..
api Basic server side export API for saved objects (#30326) 2019-03-05 15:42:02 -05:00
apm [APM][docs][WIP] Update APM UI documentation (#28621) 2019-01-30 09:08:11 -08:00
canvas [DOCS] Adds Kibana docs for Canvas functions (#26467) 2018-12-05 16:02:44 -05:00
dev-tools [DOCS] Use search profiler attribute (#28209) 2019-01-08 10:28:02 -08:00
development Update paths to ui, server, deprecation, plugin_discovery in src/legacy 2019-02-11 10:41:37 -05:00
discover Makes KQL the default query language for new searches (#27092) 2019-02-06 17:18:25 -05:00
getting-started [DOCS]Add sample data (#32244) 2019-03-05 13:27:30 -05:00
graph [DOCS] Adds links to more limitations (#26099) 2018-12-03 17:03:08 -08:00
images [DOCS]Add sample data (#32244) 2019-03-05 13:27:30 -05:00
infrastructure [InfraOps] Update docs with data source configuration (#26579) 2019-01-09 10:50:35 -07:00
limitations [DOCS] Adds known limitation for exporting a data table (#25561) 2018-11-13 09:07:22 -08:00
logs [InfraOps] Update docs with data source configuration (#26579) 2019-01-09 10:50:35 -07:00
management Add docs for savedObjects:listingLimit advanced setting (#31593) 2019-02-21 08:17:21 -07:00
maps [Maps] docs (#32130) 2019-03-04 12:18:20 -07:00
migration [DOCS] Adds placeholders for release notes, breaking changes, highlights (#30545) 2019-02-08 12:56:52 -08:00
ml [DOCS] Overview of automated annotations (#29456) 2019-01-28 13:18:22 -08:00
monitoring [DOCS] Removes X-Pack settings section (#30554) 2019-02-11 08:17:25 -08:00
plugins Add ElastAlert Kibana Plugin to known plugins list (#23598) 2018-09-28 10:47:27 +02:00
release-notes [DOCS] Adds placeholders for release notes, breaking changes, highlights (#30545) 2019-02-08 12:56:52 -08:00
reporting [Docs/Reporting] Fix Troubleshooting page issues, Add section in Getting Started (#31539) 2019-02-20 16:25:56 -07:00
security [DOCS] Removes X-Pack settings section (#30554) 2019-02-11 08:17:25 -08:00
settings Adding note about sessions always being bound to browser's lifetime. (#31472) 2019-02-19 10:43:37 -08:00
setup [DOCS] Sorts the list of Kibana settings (#30551) 2019-02-11 09:20:19 -08:00
spaces [DOCS] Adds descriptions and examples to spaces security doc (#30113) 2019-02-05 15:59:37 -08:00
timelion Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00
visualize [Docs]Fixes links in Vega docs (#31283) 2019-02-19 10:31:37 -05:00
api.asciidoc [docs] Add docs for Upgrade Assistant APIs (#30330) 2019-02-13 14:12:19 -06:00
canvas.asciidoc [DOCS] Adds Kibana docs for Canvas functions (#26467) 2018-12-05 16:02:44 -05:00
CHANGELOG.asciidoc [DOCS] Adds placeholders for release notes, breaking changes, highlights (#30545) 2019-02-08 12:56:52 -08:00
dashboard.asciidoc Adding RBAC Phase 1 Docs (#21178) 2018-08-13 12:06:25 -04:00
dev-tools.asciidoc [DOCS] Creates dev-tools folder (#19528) 2018-05-29 22:37:51 -07:00
development.asciidoc Adding RBAC Phase 1 Docs (#21178) 2018-08-13 12:06:25 -04:00
discover.asciidoc [Docs]Updates to Discover docs (#29868) 2019-02-04 10:20:24 -05:00
getting-started.asciidoc [DOCS]Add sample data (#32244) 2019-03-05 13:27:30 -05:00
gs-index.asciidoc Add link to the EUI docs to Kibana docs (#11835) 2018-03-21 14:16:32 -07:00
index.asciidoc [Maps] docs (#32130) 2019-03-04 12:18:20 -07:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#19192) 2018-05-18 11:50:51 -07:00
introduction.asciidoc docs: Overhaul of doc structure for 5.0+ (#8821) 2016-10-24 21:41:32 -04:00
limitations.asciidoc [DOCS] Fixes link title (#26599) 2018-12-04 08:49:37 -08:00
management.asciidoc [DOCS] Adds documentation for remote cluster and CCR UIs (#28944) 2019-01-18 09:32:24 -05:00
migration.asciidoc [DOCS] Adds placeholders for release notes, breaking changes, highlights (#30545) 2019-02-08 12:56:52 -08:00
plugins.asciidoc [plugin cli] defer optimization (#26983) 2019-01-29 10:35:55 -06:00
redirects.asciidoc [DOCS] Removes X-Pack settings section (#30554) 2019-02-11 08:17:25 -08:00
setup.asciidoc [DOCS] Removes X-Pack settings section (#30554) 2019-02-11 08:17:25 -08:00
timelion.asciidoc [DOCS] Timelion Getting Started Guide (#11065) 2017-04-26 16:11:03 -07:00
visualize.asciidoc Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00