Skip to content

Commit 08a04de

Browse files
authored
fix(specs): ingestion destination reject indexPrefix (#3478)
1 parent 84773e7 commit 08a04de

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

specs/ingestion/common/schemas/destination.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,6 @@ DestinationType:
118118
Data is recorded as user events in the Insights API.
119119
enum: [search, insights]
120120

121-
DestinationIndexPrefix:
122-
type: object
123-
additionalProperties: false
124-
properties:
125-
indexPrefix:
126-
type: string
127-
description: String added to the beginning of all indices created by this destination.
128-
required:
129-
- indexPrefix
130-
131121
DestinationIndexName:
132122
type: object
133123
additionalProperties: false
@@ -164,5 +154,4 @@ AttributesToExclude:
164154

165155
DestinationInput:
166156
oneOf:
167-
- $ref: '#/DestinationIndexPrefix'
168157
- $ref: '#/DestinationIndexName'

tests/CTS/requests/ingestion/createDestination.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "search",
55
"name": "destinationName",
66
"input": {
7-
"indexPrefix": "prefix_"
7+
"indexName": "full_name______"
88
},
99
"authenticationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f"
1010
},
@@ -15,7 +15,7 @@
1515
"type": "search",
1616
"name": "destinationName",
1717
"input": {
18-
"indexPrefix": "prefix_"
18+
"indexName": "full_name______"
1919
},
2020
"authenticationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f"
2121
}
@@ -27,7 +27,7 @@
2727
"type": "search",
2828
"name": "destinationName",
2929
"input": {
30-
"indexPrefix": "prefix_"
30+
"indexName": "full_name______"
3131
},
3232
"transformationIDs": [
3333
"6c02aeb1-775e-418e-870b-1faccd4b2c0f"
@@ -40,7 +40,7 @@
4040
"type": "search",
4141
"name": "destinationName",
4242
"input": {
43-
"indexPrefix": "prefix_"
43+
"indexName": "full_name______"
4444
},
4545
"transformationIDs": [
4646
"6c02aeb1-775e-418e-870b-1faccd4b2c0f"

0 commit comments

Comments
 (0)