-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow_framework spec refactor: Added Tests, Param, and Error Types #574
Conversation
1. Added missing param for update workflow request body 2. Added test for create workflow with sample test Signed-off-by: Junwei Dai <[email protected]>
Hey @dbwiddis just created a new pr, please take a look when you get a chance :) |
Signed-off-by: Junwei Dai <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I have some small asks to consider, please?
tests/default/flow_framework/sample_templates_test/deploy_openai_model.yaml
Outdated
Show resolved
Hide resolved
tests/default/flow_framework/sample_templates_test/deploy_openai_model.yaml
Outdated
Show resolved
Hide resolved
Changes AnalysisCommit SHA: 66a92a2 API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/10890990918/artifacts/1939516073 API Coverage
|
Spec Test Coverage Analysis
|
Appreciate if you could suppress these warnings too.
I believe |
@dblock Hi, just pushed a new version addressed all the comment :) |
Signed-off-by: Junwei Dai <[email protected]>
@dblock fixed the link check and pushed a new version. :) |
name: test_update_work_flow | ||
response: | ||
status: 404 | ||
- synopsis: Search workflow state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general you want to break this one up too into tests/default/flow_framework/state/search.yaml
with just enough prerequisites. It does feel like repetition, but we will be generating doc pages for each API and we'll want an example that only shows that API and not anything else.
…ensearch-project#574) * refactor: 1. Added missing param for update workflow request body 2. Added test for create workflow with sample test Signed-off-by: Junwei Dai <[email protected]> * Update schema to use application/json content type Signed-off-by: Junwei Dai <[email protected]> * Update schema to use application/json content type Signed-off-by: Junwei Dai <[email protected]> * Update the template link to pass the link check Signed-off-by: Junwei Dai <[email protected]> --------- Signed-off-by: Junwei Dai <[email protected]> Co-authored-by: Junwei Dai <[email protected]>
Description
Issues Resolved
Task two of #833
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.