Skip to content

Commit

Permalink
[8.x] fix(slo): Access Cases from SLO details page (#201834) (#202485)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [fix(slo): Access Cases from SLO details page
(#201834)](#201834)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-27T12:41:52Z","message":"fix(slo):
Access Cases from SLO details page
(#201834)","sha":"6fc08a30d452a06e9d9b51341e95026a02588e95","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.18.0"],"number":201834,"url":"https://github.com/elastic/kibana/pull/201834","mergeCommit":{"message":"fix(slo):
Access Cases from SLO details page
(#201834)","sha":"6fc08a30d452a06e9d9b51341e95026a02588e95"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201834","number":201834,"mergeCommit":{"message":"fix(slo):
Access Cases from SLO details page
(#201834)","sha":"6fc08a30d452a06e9d9b51341e95026a02588e95"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
kdelemme and kibanamachine authored Dec 3, 2024
1 parent 3afbf70 commit 0e1734d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
29 changes: 15 additions & 14 deletions x-pack/plugins/observability_solution/slo/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,41 @@
"charts",
"dashboard",
"data",
"dataViews",
"discoverShared",
"lens",
"dataViewEditor",
"dataViewFieldEditor",
"dataViews",
"discoverShared",
"embeddable",
"features",
"fieldFormats",
"lens",
"licensing",
"observability",
"observabilityShared",
"presentationUtil",
"ruleRegistry",
"share",
"taskManager",
"triggersActionsUi",
"share",
"unifiedSearch",
"uiActions",
"embeddable",
"presentationUtil",
"features",
"licensing",
"usageCollection",
"unifiedSearch",
"usageCollection"
],
"optionalPlugins": [
"cloud",
"serverless",
"discover",
"observabilityAIAssistant",
"serverless",
"spaces",
"security"
],
"requiredBundles": [
"controls",
"embeddable",
"ingestPipelines",
"kibanaReact",
"kibanaUtils",
"unifiedSearch",
"embeddable",
"ingestPipelines"
"unifiedSearch"
]
}
}
3 changes: 3 additions & 0 deletions x-pack/plugins/observability_solution/slo/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import type {
UsageCollectionSetup,
UsageCollectionStart,
} from '@kbn/usage-collection-plugin/public';
import { SecurityPluginSetup, SecurityPluginStart } from '@kbn/security-plugin-types-public';
import type { SLORouteRepository } from '../server/routes/get_slo_server_route_repository';
import { SLOPlugin } from './plugin';

Expand All @@ -66,6 +67,7 @@ export interface SLOPublicPluginsSetup {
triggersActionsUi: TriggersAndActionsUIPublicPluginSetup;
uiActions: UiActionsSetup;
usageCollection: UsageCollectionSetup;
security?: SecurityPluginSetup;
}

export interface SLOPublicPluginsStart {
Expand Down Expand Up @@ -95,6 +97,7 @@ export interface SLOPublicPluginsStart {
uiActions: UiActionsStart;
unifiedSearch: UnifiedSearchPublicPluginStart;
usageCollection: UsageCollectionStart;
security?: SecurityPluginStart;
}

export type SLOPublicSetup = ReturnType<SLOPlugin['setup']>;
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/observability_solution/slo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@
"@kbn/observability-alerting-rule-utils",
"@kbn/discover-shared-plugin",
"@kbn/server-route-repository-client",
"@kbn/security-plugin-types-public"
]
}

0 comments on commit 0e1734d

Please sign in to comment.