mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Make maps share-capable (#116221)
This commit is contained in:
parent
fd659b762f
commit
8ce1c1f9bb
2 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,8 @@ import { savedObjectMigrations } from './saved_object_migrations';
|
|||
export const mapSavedObjects: SavedObjectsType = {
|
||||
name: 'map',
|
||||
hidden: false,
|
||||
namespaceType: 'single',
|
||||
namespaceType: 'multiple-isolated',
|
||||
convertToMultiNamespaceTypeVersion: '8.0.0',
|
||||
mappings: {
|
||||
properties: {
|
||||
description: { type: 'text' },
|
||||
|
|
|
@ -44,7 +44,7 @@ export default function ({ getService }) {
|
|||
type: 'index-pattern',
|
||||
},
|
||||
]);
|
||||
expect(resp.body.migrationVersion).to.eql({ map: '7.14.0' });
|
||||
expect(resp.body.migrationVersion).to.eql({ map: '8.0.0' }); // migrtionVersion is derived from both "migrations" and "convertToMultiNamespaceVersion" fields when the object is registered
|
||||
expect(resp.body.attributes.layerListJSON.includes('indexPatternRefName')).to.be(true);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue