From 08a04dec816bcece549ec043ff96a30b9816d000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Vannicatte?= Date: Mon, 5 Aug 2024 17:12:48 +0200 Subject: [PATCH] fix(specs): ingestion destination reject indexPrefix (#3478) --- specs/ingestion/common/schemas/destination.yml | 11 ----------- tests/CTS/requests/ingestion/createDestination.json | 8 ++++---- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/specs/ingestion/common/schemas/destination.yml b/specs/ingestion/common/schemas/destination.yml index 0a7dbc5082..bd0b3bdad8 100644 --- a/specs/ingestion/common/schemas/destination.yml +++ b/specs/ingestion/common/schemas/destination.yml @@ -118,16 +118,6 @@ DestinationType: Data is recorded as user events in the Insights API. enum: [search, insights] -DestinationIndexPrefix: - type: object - additionalProperties: false - properties: - indexPrefix: - type: string - description: String added to the beginning of all indices created by this destination. - required: - - indexPrefix - DestinationIndexName: type: object additionalProperties: false @@ -164,5 +154,4 @@ AttributesToExclude: DestinationInput: oneOf: - - $ref: '#/DestinationIndexPrefix' - $ref: '#/DestinationIndexName' diff --git a/tests/CTS/requests/ingestion/createDestination.json b/tests/CTS/requests/ingestion/createDestination.json index 68090258a0..ab79670a6f 100644 --- a/tests/CTS/requests/ingestion/createDestination.json +++ b/tests/CTS/requests/ingestion/createDestination.json @@ -4,7 +4,7 @@ "type": "search", "name": "destinationName", "input": { - "indexPrefix": "prefix_" + "indexName": "full_name______" }, "authenticationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f" }, @@ -15,7 +15,7 @@ "type": "search", "name": "destinationName", "input": { - "indexPrefix": "prefix_" + "indexName": "full_name______" }, "authenticationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f" } @@ -27,7 +27,7 @@ "type": "search", "name": "destinationName", "input": { - "indexPrefix": "prefix_" + "indexName": "full_name______" }, "transformationIDs": [ "6c02aeb1-775e-418e-870b-1faccd4b2c0f" @@ -40,7 +40,7 @@ "type": "search", "name": "destinationName", "input": { - "indexPrefix": "prefix_" + "indexName": "full_name______" }, "transformationIDs": [ "6c02aeb1-775e-418e-870b-1faccd4b2c0f"