Skip to content

Commit e29639c

Browse files
committed
Fixed REST status codes for RBAC and provisioning
Signed-off-by: Owais <[email protected]>
1 parent 5d1077e commit e29639c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
118118
- Fixed Aggregation schemas ([#801](https://github.com/opensearch-project/opensearch-api-specification/pull/801))
119119
- Fixed FilterQueryRequestProcessor to use correct query type ([#821](https://github.com/opensearch-project/opensearch-api-specification/pull/821))
120120
- Fixed `knn.train_model`'s request body `method` field to accept an object rather than a string ([#814](https://github.com/opensearch-project/opensearch-api-specification/pull/814))
121+
- Fixed REST status codes for RBAC and provisioning"
121122

122123
### Changed
123124
- Changed `tasks._common:TaskInfo` and `tasks._common:TaskGroup` to be composed of a `tasks._common:TaskInfoBase` ([#683](https://github.com/opensearch-project/opensearch-api-specification/pull/683))

tests/default/flow_framework/workflow/provision.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ chapters:
3232
payload:
3333
openai_key: '1234556'
3434
response:
35-
status: 200
35+
status: 202

tests/default/flow_framework/workflow/template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ chapters:
135135
parameters:
136136
workflow_id: ${workflow.workflow_id}
137137
response:
138-
status: 200
138+
status: 202
139139
- synopsis: Update workflow fail with `provision` and `update_fields` set to `true`.
140140
path: /_plugins/_flow_framework/workflow/{workflow_id}
141141
method: PUT

0 commit comments

Comments
 (0)