kibana/test/api_integration
Mike Côté f2016f09ae
Basic server side import API for saved objects (#32158) (#32790)
* Initial work

* Add overwrite and skip support

* Cleanup and add tests

* Move code into separate files

* Remove reduce

* New API parameters

* Add support to replace references

* Add better error handling

* Add spaces tests

* Fix return type in collectSavedObjects

* Apply PR feedback

* Update jest tests due to jest version upgrade

* Add docs

* WIP

* Split import routes pt1

* Add tests

* Fix broken tests

* Update docs and fix broken test

* Add successCount to _import endpoint

* Make skip by default in resolution API

* Update tests for removal of skips

* Add back support for skips

* Add success count

* Add back resolve import conflicts x-pack tests

* Remove writev from filter stream

* Delete _mock_server.d.ts file

* Rename lib/import_saved_objects to lib/import

* Filter records at stream level for conflict resolution

* Update docs

* Add tests to validate documentation

* Return 200 instead of other code for errors, include errors array

* Change [] to {}

* Apply PR feedback

* Fix import object limit to not return 500

* Change some wording in the docs

* Fix status code

* Apply PR feedback pt2

* Lower maxImportPayloadBytes to 10MB

* Add unknown type tests for import

* Add unknown type tests for resolve_import_conflicts

* Fix tslint issues
2019-03-08 14:23:10 -05:00
..
apis Basic server side import API for saved objects (#32158) (#32790) 2019-03-08 14:23:10 -05:00
fixtures Basic server side import API for saved objects (#32158) (#32790) 2019-03-08 14:23:10 -05:00
services Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
config.js [Tests] Add http integration test setup (#19261) 2018-08-17 08:36:14 +02:00