From 30f1458bc4e2fbc3e03ae204a5cd9e4b89ca97eb Mon Sep 17 00:00:00 2001 From: Pete Gillin Date: Thu, 23 Jan 2025 12:54:33 +0000 Subject: [PATCH] Remove frozen indices telemetry from spec This reflects the changes in https://github.com/elastic/elasticsearch/pull/119890. --- output/openapi/elasticsearch-openapi.json | 26 ------ output/schema/schema.json | 87 ++++--------------- output/typescript/types.ts | 6 -- .../response/XPackInfoResponseExample1.yaml | 4 - specification/xpack/info/types.ts | 1 - .../xpack/usage/XPackUsageResponse.ts | 2 - .../response/XPackUsageResponseExample1.yaml | 5 -- specification/xpack/usage/types.ts | 4 - 8 files changed, 19 insertions(+), 116 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 4c6ffed9d7..f0a85da00d 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -39810,9 +39810,6 @@ "flattened": { "$ref": "#/components/schemas/xpack.usage:Flattened" }, - "frozen_indices": { - "$ref": "#/components/schemas/xpack.usage:FrozenIndices" - }, "graph": { "$ref": "#/components/schemas/xpack.usage:Base" }, @@ -39870,7 +39867,6 @@ "ccr", "data_tiers", "eql", - "frozen_indices", "graph", "ilm", "logstash", @@ -92435,9 +92431,6 @@ "esql": { "$ref": "#/components/schemas/xpack.info:Feature" }, - "frozen_indices": { - "$ref": "#/components/schemas/xpack.info:Feature" - }, "graph": { "$ref": "#/components/schemas/xpack.info:Feature" }, @@ -92503,7 +92496,6 @@ "enterprise_search", "eql", "esql", - "frozen_indices", "graph", "ilm", "logstash", @@ -93134,24 +93126,6 @@ } ] }, - "xpack.usage:FrozenIndices": { - "allOf": [ - { - "$ref": "#/components/schemas/xpack.usage:Base" - }, - { - "type": "object", - "properties": { - "indices_count": { - "type": "number" - } - }, - "required": [ - "indices_count" - ] - } - ] - }, "xpack.usage:HealthStatistics": { "allOf": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index 453581425e..c2dde06800 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -227189,7 +227189,7 @@ } } ], - "specLocation": "xpack/info/types.ts#L85-L90" + "specLocation": "xpack/info/types.ts#L84-L89" }, { "kind": "interface", @@ -227307,17 +227307,6 @@ } } }, - { - "name": "frozen_indices", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Feature", - "namespace": "xpack.info" - } - } - }, { "name": "graph", "required": true, @@ -227527,7 +227516,7 @@ } } ], - "specLocation": "xpack/info/types.ts#L42-L83" + "specLocation": "xpack/info/types.ts#L42-L82" }, { "kind": "interface", @@ -228748,33 +228737,6 @@ ], "specLocation": "xpack/usage/types.ts#L366-L368" }, - { - "kind": "interface", - "inherits": { - "type": { - "name": "Base", - "namespace": "xpack.usage" - } - }, - "name": { - "name": "FrozenIndices", - "namespace": "xpack.usage" - }, - "properties": [ - { - "name": "indices_count", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "long", - "namespace": "_types" - } - } - } - ], - "specLocation": "xpack/usage/types.ts#L370-L372" - }, { "kind": "interface", "inherits": { @@ -228996,7 +228958,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L374-L380" + "specLocation": "xpack/usage/types.ts#L370-L376" }, { "kind": "interface", @@ -229090,7 +229052,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L382-L389" + "specLocation": "xpack/usage/types.ts#L378-L385" }, { "kind": "interface", @@ -229732,7 +229694,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L391-L394" + "specLocation": "xpack/usage/types.ts#L387-L390" }, { "kind": "interface", @@ -230023,7 +229985,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L427-L436" + "specLocation": "xpack/usage/types.ts#L423-L432" }, { "kind": "interface", @@ -230226,17 +230188,6 @@ } } }, - { - "name": "frozen_indices", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "FrozenIndices", - "namespace": "xpack.usage" - } - } - }, { "name": "graph", "required": true, @@ -230419,7 +230370,7 @@ "name": "Response", "namespace": "xpack.usage" }, - "specLocation": "xpack/usage/XPackUsageResponse.ts#L43-L79" + "specLocation": "xpack/usage/XPackUsageResponse.ts#L42-L77" }, { "kind": "interface", @@ -230697,7 +230648,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L438-L442" + "specLocation": "xpack/usage/types.ts#L434-L438" }, { "kind": "interface", @@ -230867,7 +230818,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L444-L457" + "specLocation": "xpack/usage/types.ts#L440-L453" }, { "kind": "interface", @@ -231098,7 +231049,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L459-L462" + "specLocation": "xpack/usage/types.ts#L455-L458" }, { "kind": "interface", @@ -231158,7 +231109,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L396-L399" + "specLocation": "xpack/usage/types.ts#L392-L395" }, { "kind": "interface", @@ -231190,7 +231141,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L401-L404" + "specLocation": "xpack/usage/types.ts#L397-L400" }, { "kind": "interface", @@ -231239,7 +231190,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L464-L468" + "specLocation": "xpack/usage/types.ts#L460-L464" }, { "kind": "interface", @@ -231288,7 +231239,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L470-L474" + "specLocation": "xpack/usage/types.ts#L466-L470" }, { "kind": "interface", @@ -231329,7 +231280,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L422-L425" + "specLocation": "xpack/usage/types.ts#L418-L421" }, { "kind": "interface", @@ -231361,7 +231312,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L406-L408" + "specLocation": "xpack/usage/types.ts#L402-L404" }, { "kind": "interface", @@ -231448,7 +231399,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L410-L415" + "specLocation": "xpack/usage/types.ts#L406-L411" }, { "kind": "interface", @@ -231480,7 +231431,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L417-L420" + "specLocation": "xpack/usage/types.ts#L413-L416" }, { "kind": "interface", @@ -231518,7 +231469,7 @@ } } ], - "specLocation": "xpack/usage/types.ts#L476-L479" + "specLocation": "xpack/usage/types.ts#L472-L475" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 30c8375e77..720982474b 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -21560,7 +21560,6 @@ export interface XpackInfoFeatures { enterprise_search: XpackInfoFeature eql: XpackInfoFeature esql: XpackInfoFeature - frozen_indices: XpackInfoFeature graph: XpackInfoFeature ilm: XpackInfoFeature logstash: XpackInfoFeature @@ -21731,10 +21730,6 @@ export interface XpackUsageFlattened extends XpackUsageBase { field_count: integer } -export interface XpackUsageFrozenIndices extends XpackUsageBase { - indices_count: long -} - export interface XpackUsageHealthStatistics extends XpackUsageBase { invocations: XpackUsageInvocations } @@ -21910,7 +21905,6 @@ export interface XpackUsageResponse { enrich?: XpackUsageBase eql: XpackUsageEql flattened?: XpackUsageFlattened - frozen_indices: XpackUsageFrozenIndices graph: XpackUsageBase health_api?: XpackUsageHealthStatistics ilm: XpackUsageIlm diff --git a/specification/xpack/info/examples/response/XPackInfoResponseExample1.yaml b/specification/xpack/info/examples/response/XPackInfoResponseExample1.yaml index 0aae785d08..e728a6491d 100644 --- a/specification/xpack/info/examples/response/XPackInfoResponseExample1.yaml +++ b/specification/xpack/info/examples/response/XPackInfoResponseExample1.yaml @@ -36,10 +36,6 @@ value: |- "available" : true, "enabled" : true }, - "frozen_indices" : { - "available" : true, - "enabled" : true - }, "graph" : { "available" : true, "enabled" : true diff --git a/specification/xpack/info/types.ts b/specification/xpack/info/types.ts index 3375ee9f5d..2f3c210ebe 100644 --- a/specification/xpack/info/types.ts +++ b/specification/xpack/info/types.ts @@ -55,7 +55,6 @@ export class Features { * @availability stack since=8.14.0 */ esql: Feature - frozen_indices: Feature graph: Feature ilm: Feature logstash: Feature diff --git a/specification/xpack/usage/XPackUsageResponse.ts b/specification/xpack/usage/XPackUsageResponse.ts index e3e1531b9e..a83f29c37a 100644 --- a/specification/xpack/usage/XPackUsageResponse.ts +++ b/specification/xpack/usage/XPackUsageResponse.ts @@ -26,7 +26,6 @@ import { DataTiers, Eql, Flattened, - FrozenIndices, HealthStatistics, Ilm, MachineLearning, @@ -58,7 +57,6 @@ export class Response { enrich?: Base eql: Eql flattened?: Flattened - frozen_indices: FrozenIndices graph: Base health_api?: HealthStatistics ilm: Ilm diff --git a/specification/xpack/usage/examples/response/XPackUsageResponseExample1.yaml b/specification/xpack/usage/examples/response/XPackUsageResponseExample1.yaml index f57cc08684..744dff7063 100644 --- a/specification/xpack/usage/examples/response/XPackUsageResponseExample1.yaml +++ b/specification/xpack/usage/examples/response/XPackUsageResponseExample1.yaml @@ -298,11 +298,6 @@ value: |- "full_copy_indices_count" : 0, "shared_cache_indices_count" : 0 }, - "frozen_indices" : { - "available" : true, - "enabled" : true, - "indices_count" : 0 - }, "spatial" : { "available" : true, "enabled" : true diff --git a/specification/xpack/usage/types.ts b/specification/xpack/usage/types.ts index b7c1589268..66f81bc95e 100644 --- a/specification/xpack/usage/types.ts +++ b/specification/xpack/usage/types.ts @@ -367,10 +367,6 @@ export class Flattened extends Base { field_count: integer } -export class FrozenIndices extends Base { - indices_count: long -} - export class JobUsage { count: integer created_by: Dictionary