From 322d5ddb37968ff3f1af1f1ed29438a4f859ebdc Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 5 Nov 2024 20:48:16 +0400 Subject: [PATCH] Add missing logsdb feature to xpack.info (#3091) (cherry picked from commit 8dcb73693be18476e0ad0bcc8b4ea60c37c05b3e) --- output/openapi/elasticsearch-openapi.json | 4 ++++ output/schema/schema.json | 15 +++++++++++++-- output/typescript/types.ts | 1 + specification/xpack/info/types.ts | 1 + 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index d91601fbdd..307063f3bb 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -86753,6 +86753,9 @@ "logstash": { "$ref": "#/components/schemas/xpack.info:Feature" }, + "logsdb": { + "$ref": "#/components/schemas/xpack.info:Feature" + }, "ml": { "$ref": "#/components/schemas/xpack.info:Feature" }, @@ -86810,6 +86813,7 @@ "graph", "ilm", "logstash", + "logsdb", "ml", "monitoring", "rollup", diff --git a/output/schema/schema.json b/output/schema/schema.json index 36f9b8a8fe..c190ebbb14 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -214940,7 +214940,7 @@ } } ], - "specLocation": "xpack/info/types.ts#L84-L89" + "specLocation": "xpack/info/types.ts#L85-L90" }, { "kind": "interface", @@ -215102,6 +215102,17 @@ } } }, + { + "name": "logsdb", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "Feature", + "namespace": "xpack.info" + } + } + }, { "name": "ml", "required": true, @@ -215267,7 +215278,7 @@ } } ], - "specLocation": "xpack/info/types.ts#L42-L82" + "specLocation": "xpack/info/types.ts#L42-L83" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 280892406d..f036ece6ca 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -20589,6 +20589,7 @@ export interface XpackInfoFeatures { graph: XpackInfoFeature ilm: XpackInfoFeature logstash: XpackInfoFeature + logsdb: XpackInfoFeature ml: XpackInfoFeature monitoring: XpackInfoFeature rollup: XpackInfoFeature diff --git a/specification/xpack/info/types.ts b/specification/xpack/info/types.ts index 48fec772a0..3375ee9f5d 100644 --- a/specification/xpack/info/types.ts +++ b/specification/xpack/info/types.ts @@ -59,6 +59,7 @@ export class Features { graph: Feature ilm: Feature logstash: Feature + logsdb: Feature ml: Feature monitoring: Feature rollup: Feature