Skip to content

Commit

Permalink
[dot-kibana-split] Misc SO type relocations (#155366)
Browse files Browse the repository at this point in the history
## Summary

**This is targeting a feature branch**
Part of #154888

Following some remarks and feedback from the [feature branch
PR](#154888), this PR aims at
relocating some of the SO types:
- Move `'url'` type back to `.kibana`. (related
[comment](#154888 (comment)))
  • Loading branch information
gsoldevila authored Apr 24, 2023
1 parent 8399cbf commit 0596fcb
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 183 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import type {
SavedObjectsServiceSetup,
SavedObjectsType,
} from '@kbn/core/server';
import { ANALYTICS_SAVED_OBJECT_INDEX } from '@kbn/core-saved-objects-server';
import type { LocatorData } from '../../../common/url_service';
import type { ServerUrlService } from '..';

Expand All @@ -21,7 +20,6 @@ export const registerUrlServiceSavedObjectType = (
) => {
const urlSavedObjectType: SavedObjectsType = {
name: 'url',
indexPattern: ANALYTICS_SAVED_OBJECT_INDEX,
namespaceType: 'single',
hidden: false,
management: {
Expand Down
1 change: 0 additions & 1 deletion src/plugins/share/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"@kbn/i18n-react",
"@kbn/config-schema",
"@kbn/core-custom-branding-browser",
"@kbn/core-saved-objects-server",
],
"exclude": [
"target/**/*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"upgrade-assistant-reindex-operation",
"uptime-dynamic-settings",
"uptime-synthetics-api-key",
"url",
"usage-counters",
"workplace_search_telemetry"
],
Expand Down Expand Up @@ -146,7 +147,6 @@
"search",
"search-session",
"search-telemetry",
"url",
"visualization"
]
}
Expand Down Expand Up @@ -687,71 +687,37 @@
"visualization": "f819cf6636b75c9e76ba733a0c6ef355"
},
"indexTypesMap": {
".kibana_task_manager": [
"task"
],
".kibana": [
"action",
"action_task_params",
"alert",
"api_key_pending_invalidation",
"apm-indices",
"apm-server-schema",
"apm-service-group",
"apm-telemetry",
"app_search_telemetry",
"application_usage_daily",
"application_usage_totals",
"canvas-element",
"canvas-workpad",
"canvas-workpad-template",
"cases",
"cases-comments",
"cases-configure",
"cases-connector-mappings",
"cases-telemetry",
"cases-user-actions",
"config",
"config-global",
"connector_token",
"core-usage-stats",
"dashboard",
"enterprise_search_telemetry",
"epm-packages",
"epm-packages-assets",
"event_loop_delays_daily",
"file",
"file-upload-usage-collection-telemetry",
"fileShare",
"fleet-fleet-server-host",
"fleet-message-signing-keys",
"fleet-preconfiguration-deletion-record",
"fleet-proxy",
"graph-workspace",
"guided-onboarding-guide-state",
"guided-onboarding-plugin-state",
"index-pattern",
"infrastructure-monitoring-log-view",
"infrastructure-ui-source",
"ingest-agent-policies",
"ingest-download-sources",
"ingest-outputs",
"ingest-package-policies",
"ingest_manager_settings",
"inventory-view",
"kql-telemetry",
"legacy-url-alias",
"lens",
"lens-ui-telemetry",
"map",
"metrics-explorer-view",
"ml-job",
"ml-module",
"ml-trained-model",
"monitoring-telemetry",
"query",
"rules-settings",
"sample-data-telemetry",
"search",
"search-session",
"search-telemetry",
"slo",
"space",
"spaces-usage-stats",
Expand All @@ -767,28 +733,69 @@
"uptime-synthetics-api-key",
"url",
"usage-counters",
"visualization",
"workplace_search_telemetry"
],
".kibana_ingest": [
"epm-packages",
"epm-packages-assets",
"fleet-fleet-server-host",
"fleet-message-signing-keys",
"fleet-preconfiguration-deletion-record",
"fleet-proxy",
"ingest-agent-policies",
"ingest-download-sources",
"ingest-outputs",
"ingest-package-policies",
"ingest_manager_settings"
],
".kibana_security_solution": [
"csp-rule-template",
"endpoint:user-artifact",
"endpoint:user-artifact-manifest",
"exception-list",
"exception-list-agnostic",
"osquery-manager-usage-metric",
"osquery-pack",
"osquery-pack-asset",
"osquery-saved-query",
"security-rule",
"security-solution-signals-migration",
"siem-detection-engine-rule-actions",
"siem-ui-timeline",
"siem-ui-timeline-note",
"siem-ui-timeline-pinned-event"
],
".kibana_alerting_cases": [
"action",
"action_task_params",
"alert",
"api_key_pending_invalidation",
"cases",
"cases-comments",
"cases-configure",
"cases-connector-mappings",
"cases-telemetry",
"cases-user-actions",
"connector_token",
"maintenance-window",
"rules-settings"
],
".kibana_analytics": [
"canvas-element",
"canvas-workpad-template",
"canvas-workpad",
"canvas-workpad-template",
"dashboard",
"graph-workspace",
"index-pattern",
"kql-telemetry",
"lens",
"lens-ui-telemetry",
"map",
"query",
"search",
"search-session",
"search-telemetry",
"url",
"visualization"
],
".kibana_task_manager": [
"task"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"upgrade-assistant-reindex-operation",
"uptime-dynamic-settings",
"uptime-synthetics-api-key",
"url",
"usage-counters",
"workplace_search_telemetry"
],
Expand Down Expand Up @@ -145,7 +146,6 @@
"search",
"search-session",
"search-telemetry",
"url",
"visualization"
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"upgrade-assistant-reindex-operation",
"uptime-dynamic-settings",
"uptime-synthetics-api-key",
"url",
"usage-counters",
"workplace_search_telemetry"
],
Expand Down Expand Up @@ -145,7 +146,6 @@
"search",
"search-session",
"search-telemetry",
"url",
"visualization"
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"upgrade-assistant-reindex-operation",
"uptime-dynamic-settings",
"uptime-synthetics-api-key",
"url",
"usage-counters",
"workplace_search_telemetry"
],
Expand Down Expand Up @@ -145,7 +146,6 @@
"search",
"search-session",
"search-telemetry",
"url",
"visualization"
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"upgrade-assistant-reindex-operation",
"uptime-dynamic-settings",
"uptime-synthetics-api-key",
"url",
"usage-counters",
"workplace_search_telemetry"
],
Expand Down Expand Up @@ -145,7 +146,6 @@
"search",
"search-session",
"search-telemetry",
"url",
"visualization"
]
}
Expand Down
Loading

0 comments on commit 0596fcb

Please sign in to comment.