Skip to content
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

Onboard get workflow API #133

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Conversation

ohltyler
Copy link
Member

Description

This PR fully onboards the get workflow API. Note we do the same logic as searchWorkflows(), in that we make an additional call to fetch the workflow state as well. This is to prevent bugs or edge cases where everything is present except state, and less calls needing to be made from client -> server.

Also:

  • audits existing TODOs and removes irrelevant ones
  • minor refactoring of toWorkflowObj() to reuse it in getWorkflow()

Check List

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: Tyler Ohlsen <[email protected]>
@ohltyler ohltyler merged commit 28ce545 into opensearch-project:main Apr 16, 2024
6 checks passed
@ohltyler ohltyler deleted the more-vars branch April 16, 2024 16:33
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 16, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 28ce545)
ohltyler added a commit that referenced this pull request Apr 16, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 28ce545)

Co-authored-by: Tyler Ohlsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants