From d9eaa8450a1f5122ee1fe622e60fc9b07a5976b9 Mon Sep 17 00:00:00 2001 From: Imri Paran Date: Thu, 17 Apr 2025 11:45:21 +0200 Subject: [PATCH] fix: enable additional properties for indexingError.json (#20752) --- .../src/main/resources/json/schema/system/indexingError.json | 4 ++-- .../main/resources/ui/src/generated/system/indexingError.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/openmetadata-spec/src/main/resources/json/schema/system/indexingError.json b/openmetadata-spec/src/main/resources/json/schema/system/indexingError.json index d6db5754aa0..d619f7d9e25 100644 --- a/openmetadata-spec/src/main/resources/json/schema/system/indexingError.json +++ b/openmetadata-spec/src/main/resources/json/schema/system/indexingError.json @@ -2,7 +2,7 @@ "$id": "https://open-metadata.org/schema/system/indexingError.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "IndexingAppError", - "description": "This schema defines Event Publisher Job Error Schema.", + "description": "This schema defines Event Publisher Job Error Schema. Additional properties exist for backward compatibility. Don't use it.", "type": "object", "javaType": "org.openmetadata.schema.system.IndexingError", "definitions": { @@ -43,5 +43,5 @@ "type": "integer" } }, - "additionalProperties": false + "additionalProperties": true } \ No newline at end of file diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/system/indexingError.ts b/openmetadata-ui/src/main/resources/ui/src/generated/system/indexingError.ts index a2146add844..729836f6f5b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/system/indexingError.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/system/indexingError.ts @@ -11,7 +11,8 @@ * limitations under the License. */ /** - * This schema defines Event Publisher Job Error Schema. + * This schema defines Event Publisher Job Error Schema. Additional properties exist for + * backward compatibility. Don't use it. */ export interface IndexingError { errorSource?: ErrorSource; @@ -23,6 +24,7 @@ export interface IndexingError { stackTrace?: string; submittedCount?: number; successCount?: number; + [property: string]: any; } export enum ErrorSource {