Skip to content

Commit

Permalink
Fix SO tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed Sep 25, 2023
1 parent 57de283 commit 7a3c8ef
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ export const DEFAULT_INDEX_TYPES_MAP: IndexTypesMap = {
'legacy-url-alias',
'lens',
'lens-ui-telemetry',
'links',
'map',
'metrics-explorer-view',
'ml-job',
'ml-module',
'ml-trained-model',
'monitoring-telemetry',
'links',
'osquery-manager-usage-metric',
'osquery-pack',
'osquery-pack-asset',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1478,44 +1478,44 @@ export const INDEX_MAP_BEFORE_SPLIT: IndexMap = {
},
},
},
map: {
links: {
properties: {
description: {
id: {
type: 'text',
},
title: {
type: 'text',
},
version: {
type: 'integer',
},
mapStateJSON: {
type: 'text',
},
layerListJSON: {
type: 'text',
},
uiStateJSON: {
description: {
type: 'text',
},
bounds: {
links: {
dynamic: false,
properties: {},
},
},
},
links: {
map: {
properties: {
id: {
description: {
type: 'text',
},
title: {
type: 'text',
},
description: {
version: {
type: 'integer',
},
mapStateJSON: {
type: 'text',
},
links: {
layerListJSON: {
type: 'text',
},
uiStateJSON: {
type: 'text',
},
bounds: {
dynamic: false,
properties: {},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"legacy-url-alias": "9b8cca3fbb2da46fd12823d3cd38fdf1c9f24bc8",
"lens": "5cfa2c52b979b4f8df56dd13c477e152183468b9",
"lens-ui-telemetry": "8c47a9e393861f76e268345ecbadfc8a5fb1e0bd",
"links": "de71a127ed325261ca6bc926d93c4cd676d17a05",
"links": "a2c467f8b00e851d343dace3ef532d7fb29462e7",
"maintenance-window": "d893544460abad56ff7a0e25b78f78776dfe10d1",
"map": "76c71023bd198fb6b1163b31bafd926fe2ceb9da",
"metrics-data-source": "81b69dc9830699d9ead5ac8dcb9264612e2a3c89",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const previouslyRegisteredTypes = [
'legacy-url-alias',
'lens',
'lens-ui-telemetry',
'links',
'maintenance-window',
'map',
'maps-telemetry',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ describe('split .kibana index into multiple system indices', () => {
"legacy-url-alias",
"lens",
"lens-ui-telemetry",
"links",
"maintenance-window",
"map",
"metrics-data-source",
Expand All @@ -241,7 +242,6 @@ describe('split .kibana index into multiple system indices', () => {
"ml-module",
"ml-trained-model",
"monitoring-telemetry",
"links",
"observability-onboarding-state",
"osquery-manager-usage-metric",
"osquery-pack",
Expand Down

0 comments on commit 7a3c8ef

Please sign in to comment.