Skip to content

[6.x] Saved Object Namespaces (#23378)#23536

Merged
kobelb merged 1 commit intoelastic:6.xfrom
kobelb:backport/6.x/pr-23378
Sep 26, 2018
Merged

[6.x] Saved Object Namespaces (#23378)#23536
kobelb merged 1 commit intoelastic:6.xfrom
kobelb:backport/6.x/pr-23378

Conversation

@kobelb
Copy link
Copy Markdown
Contributor

@kobelb kobelb commented Sep 26, 2018

Backports the following commits to 6.x:

* Use an instance of SavedObjectsSerializer for migrations and the repository

* Fixing spelling of serialization

* Making the serializer conditionally include and prepend id with ns

* Adding repository tests for the namespaces

* Implementing find

* Modifying the SOCs to pass the options with the namespace

* Centralizing omitting the namespace when using serializer.rawToSavedObject

* Passing the schema through to the SavedObjectRepositoryProvider

* Changing the schema to work with undefined ui exports schemas

* Adding schema tests

* Making the complimentary serialization test use the namespace

* Fixing uiExports

* Fixing some tests

* Fixing included fields for the find

* Fixing include field tests, they're checking length also...

* Updating Repository test after adding namespace to always included
fields

* Renaming UIExportsSavedObjectTypeSchema to SavedObjectsSchemaDefinition

* Completing rename... forgot to save usages

* Fixing issue with the serialization.isRawSavedObject and the trailing :
@kobelb kobelb added the backport This PR is a backport of another PR label Sep 26, 2018
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@kobelb kobelb merged commit de2863a into elastic:6.x Sep 26, 2018
@kobelb kobelb deleted the backport/6.x/pr-23378 branch September 26, 2018 17:12
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