Skip to content

Commit 372ea42

Browse files
authored
Fixed bug related to Search Index in Local Cluster scenario (#654)
* Fixed Search Index related bug for Local Cluster scenario Signed-off-by: saimedhi <saimedhi@amazon.com> * Fixed Search Index related bug for Local Cluster scenario Signed-off-by: saimedhi <saimedhi@amazon.com> * Fixed Search Index related bug for Local Cluster scenario Signed-off-by: saimedhi <saimedhi@amazon.com> --------- Signed-off-by: saimedhi <saimedhi@amazon.com>
1 parent dcd8b58 commit 372ea42

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

server/routes/flow_framework_routes_service.ts

+6
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ export function registerFlowFrameworkRoutes(
157157
reprovision: schema.boolean(),
158158
}),
159159
body: schema.any(),
160+
query: schema.object({
161+
data_source_version: schema.maybe(schema.string()),
162+
}),
160163
},
161164
},
162165
flowFrameworkRoutesService.updateWorkflow
@@ -188,6 +191,9 @@ export function registerFlowFrameworkRoutes(
188191
params: schema.object({
189192
workflow_id: schema.string(),
190193
}),
194+
query: schema.object({
195+
data_source_version: schema.maybe(schema.string()),
196+
}),
191197
},
192198
},
193199
flowFrameworkRoutesService.provisionWorkflow

server/routes/opensearch_routes_service.ts

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export function registerOpenSearchRoutes(
124124
body: schema.any(),
125125
query: schema.object({
126126
verbose: schema.boolean(),
127+
data_source_version: schema.maybe(schema.string()),
127128
}),
128129
},
129130
},
@@ -157,6 +158,7 @@ export function registerOpenSearchRoutes(
157158
body: schema.any(),
158159
query: schema.object({
159160
verbose: schema.boolean(),
161+
data_source_version: schema.maybe(schema.string()),
160162
}),
161163
},
162164
},

0 commit comments

Comments
 (0)