Skip to content

[7.x] [Core] Public saved objects client (#39891)#42760

Merged
rudolf merged 1 commit intoelastic:7.xfrom
rudolf:backport/7.x/pr-39891
Aug 7, 2019
Merged

[7.x] [Core] Public saved objects client (#39891)#42760
rudolf merged 1 commit intoelastic:7.xfrom
rudolf:backport/7.x/pr-39891

Conversation

@rudolf
Copy link
Contributor

@rudolf rudolf commented Aug 6, 2019

Backports the following commits to 7.x:

* Move SavedObjectClient files to core/public

* Initial SavedObjectsService in public Core

* Public SavedObjectsClient tests

* Import SimpleSavedObject from src/core/public

* Use types from source files for kibana.d.ts

* Add html raw loader to x-pack/jest

* Cleanup

* Drop case utilities and improve test coverage

* Update types and documentation

* Fix build breaking when importing directly from /server in /public

* Ensure that all option paramaters are picked and renamed

* Fix option mapping and introduce stronger types

* Eslint: allow imports from src/core/*/types

* Add compatibility layer for kfetch vs http.fetch error responses

* Improve documentation

* Expose SavedObjectsMigrationLogger

* Documentation and type tweaks

* Revert type changes from 73e601f and update api docs

* Refactor request into savedObjectFetch + test

* Make legacy SavedObject compatible with http.fetch exceptions

* Fix types and tests

* simple_saved_object import from src/core/server

* server imports from root instead of server/types

* Make SavedObjectsService a class

* Don't pick unkown keys from server response

* Rename SavedObjectsFindResponse to SavedObjectsFindResponsePublic

* Remove err.response from SavedObjects fetch errors

* Revert "Remove err.response from SavedObjects fetch errors"

This reverts commit 61705ca.

* Don't introduce err.response until we deprecate err.res
@rudolf rudolf added the backport This PR is a backport of another PR label Aug 6, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@rudolf rudolf merged commit 1995eaf into elastic:7.x Aug 7, 2019
@rudolf rudolf deleted the backport/7.x/pr-39891 branch August 7, 2019 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants