Skip to content

Commit

Permalink
Merge branch '8.x' into backport/8.x/pr-193369
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Sep 30, 2024
2 parents 14cec3a + f20444a commit f0e9334
Show file tree
Hide file tree
Showing 127 changed files with 2,611 additions and 1,219 deletions.
40 changes: 31 additions & 9 deletions oas_docs/output/kibana.serverless.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19857,6 +19857,17 @@ components:
force:
description: Force agent policy creation even if packages are not verified.
type: boolean
global_data_tags:
items:
additionalProperties:
oneOf:
- type: string
- type: number
description: >-
User defined data tags that are added to all of the inputs. The
values can be strings or numbers.
type: object
type: array
inactivity_timeout:
type: integer
is_protected:
Expand Down Expand Up @@ -31844,9 +31855,7 @@ components:
description: A description for the SLO.
type: string
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: >-
A optional and unique identifier for the SLO. Must be between 8 and
Expand Down Expand Up @@ -32005,6 +32014,21 @@ components:
type: number
title: Find SLO response
type: object
SLOs_group_by:
description: >-
optional group by field or fields to use to generate an SLO per distinct
value
example:
- - service.name
- service.name
- - service.name
- service.environment
oneOf:
- type: string
- items:
type: string
type: array
title: Group by
SLOs_indicator_properties_apm_availability:
description: Defines properties for the APM availability indicator type
type: object
Expand Down Expand Up @@ -32595,9 +32619,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -32681,9 +32703,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -32904,6 +32924,8 @@ components:
description:
description: A description for the SLO.
type: string
groupBy:
$ref: '#/components/schemas/SLOs_group_by'
indicator:
oneOf:
- $ref: '#/components/schemas/SLOs_indicator_properties_custom_kql'
Expand Down
40 changes: 31 additions & 9 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12821,6 +12821,17 @@ components:
force:
description: Force agent policy creation even if packages are not verified.
type: boolean
global_data_tags:
items:
additionalProperties:
oneOf:
- type: string
- type: number
description: >-
User defined data tags that are added to all of the inputs. The
values can be strings or numbers.
type: object
type: array
inactivity_timeout:
type: integer
is_protected:
Expand Down Expand Up @@ -15304,9 +15315,7 @@ components:
description: A description for the SLO.
type: string
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: >-
A optional and unique identifier for the SLO. Must be between 8 and
Expand Down Expand Up @@ -15465,6 +15474,21 @@ components:
type: number
title: Find SLO response
type: object
SLOs_group_by:
description: >-
optional group by field or fields to use to generate an SLO per distinct
value
example:
- - service.name
- service.name
- - service.name
- service.environment
oneOf:
- type: string
- items:
type: string
type: array
title: Group by
SLOs_indicator_properties_apm_availability:
description: Defines properties for the APM availability indicator type
type: object
Expand Down Expand Up @@ -16055,9 +16079,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -16141,9 +16163,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -16364,6 +16384,8 @@ components:
description:
description: A description for the SLO.
type: string
groupBy:
$ref: '#/components/schemas/SLOs_group_by'
indicator:
oneOf:
- $ref: '#/components/schemas/SLOs_indicator_properties_custom_kql'
Expand Down
40 changes: 31 additions & 9 deletions oas_docs/output/kibana.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27633,6 +27633,17 @@ components:
force:
description: Force agent policy creation even if packages are not verified.
type: boolean
global_data_tags:
items:
additionalProperties:
oneOf:
- type: string
- type: number
description: >-
User defined data tags that are added to all of the inputs. The
values can be strings or numbers.
type: object
type: array
inactivity_timeout:
type: integer
is_protected:
Expand Down Expand Up @@ -39835,9 +39846,7 @@ components:
description: A description for the SLO.
type: string
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: >-
A optional and unique identifier for the SLO. Must be between 8 and
Expand Down Expand Up @@ -39996,6 +40005,21 @@ components:
type: number
title: Find SLO response
type: object
SLOs_group_by:
description: >-
optional group by field or fields to use to generate an SLO per distinct
value
example:
- - service.name
- service.name
- - service.name
- service.environment
oneOf:
- type: string
- items:
type: string
type: array
title: Group by
SLOs_indicator_properties_apm_availability:
description: Defines properties for the APM availability indicator type
type: object
Expand Down Expand Up @@ -40586,9 +40610,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -40672,9 +40694,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -40895,6 +40915,8 @@ components:
description:
description: A description for the SLO.
type: string
groupBy:
$ref: '#/components/schemas/SLOs_group_by'
indicator:
oneOf:
- $ref: '#/components/schemas/SLOs_indicator_properties_custom_kql'
Expand Down
40 changes: 31 additions & 9 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19780,6 +19780,17 @@ components:
force:
description: Force agent policy creation even if packages are not verified.
type: boolean
global_data_tags:
items:
additionalProperties:
oneOf:
- type: string
- type: number
description: >-
User defined data tags that are added to all of the inputs. The
values can be strings or numbers.
type: object
type: array
inactivity_timeout:
type: integer
is_protected:
Expand Down Expand Up @@ -22291,9 +22302,7 @@ components:
description: A description for the SLO.
type: string
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: >-
A optional and unique identifier for the SLO. Must be between 8 and
Expand Down Expand Up @@ -22452,6 +22461,21 @@ components:
type: number
title: Find SLO response
type: object
SLOs_group_by:
description: >-
optional group by field or fields to use to generate an SLO per distinct
value
example:
- - service.name
- service.name
- - service.name
- service.environment
oneOf:
- type: string
- items:
type: string
type: array
title: Group by
SLOs_indicator_properties_apm_availability:
description: Defines properties for the APM availability indicator type
type: object
Expand Down Expand Up @@ -23042,9 +23066,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -23128,9 +23150,7 @@ components:
example: true
type: boolean
groupBy:
description: optional group by field to use to generate an SLO per distinct value
example: some.field
type: string
$ref: '#/components/schemas/SLOs_group_by'
id:
description: The identifier of the SLO.
example: 8853df00-ae2e-11ed-90af-09bb6422b258
Expand Down Expand Up @@ -23351,6 +23371,8 @@ components:
description:
description: A description for the SLO.
type: string
groupBy:
$ref: '#/components/schemas/SLOs_group_by'
indicator:
oneOf:
- $ref: '#/components/schemas/SLOs_indicator_properties_custom_kql'
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1008,10 +1008,10 @@
"@mapbox/mapbox-gl-rtl-text": "0.2.3",
"@mapbox/mapbox-gl-supported": "2.0.1",
"@mapbox/vector-tile": "1.3.1",
"@openfeature/core": "^1.3.0",
"@openfeature/core": "^1.4.0",
"@openfeature/launchdarkly-client-provider": "^0.3.0",
"@openfeature/server-sdk": "^1.15.0",
"@openfeature/web-sdk": "^1.2.1",
"@openfeature/server-sdk": "^1.15.1",
"@openfeature/web-sdk": "^1.2.3",
"@opentelemetry/api": "^1.1.0",
"@opentelemetry/api-metrics": "^0.31.0",
"@opentelemetry/exporter-metrics-otlp-grpc": "^0.34.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,39 +55,31 @@ describe('getCommonStylesheetPaths', () => {

describe('getStylesheetPaths', () => {
describe('when darkMode is `true`', () => {
describe('when themeVersion is `v8`', () => {
it('returns the correct list', () => {
expect(
getThemeStylesheetPaths({
darkMode: true,
themeVersion: 'v8',
baseHref: '/base-path/buildShaShort',
})
).toMatchInlineSnapshot(`
it('returns the correct list', () => {
expect(
getThemeStylesheetPaths({
darkMode: true,
baseHref: '/base-path/buildShaShort',
})
).toMatchInlineSnapshot(`
Array [
"/base-path/buildShaShort/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.v8.dark.css",
"/base-path/buildShaShort/ui/legacy_dark_theme.min.css",
]
`);
});
});
});
describe('when darkMode is `false`', () => {
describe('when themeVersion is `v8`', () => {
it('returns the correct list', () => {
expect(
getThemeStylesheetPaths({
darkMode: false,
themeVersion: 'v8',
baseHref: '/base-path/buildShaShort',
})
).toMatchInlineSnapshot(`
it('returns the correct list', () => {
expect(
getThemeStylesheetPaths({
darkMode: false,
baseHref: '/base-path/buildShaShort',
})
).toMatchInlineSnapshot(`
Array [
"/base-path/buildShaShort/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.v8.light.css",
"/base-path/buildShaShort/ui/legacy_light_theme.min.css",
]
`);
});
});
});
});
Loading

0 comments on commit f0e9334

Please sign in to comment.