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

[Backport 2.x] Updated Workflow Interface #34

Merged
merged 4 commits into from
Sep 13, 2023
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 0f0b65d from #30.

* Updated Workflow Interface

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Updated method definition to handle input/output

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

---------

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
(cherry picked from commit 0f0b65d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

❗ No coverage uploaded for pull request base (2.x@db3316b). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 6a8e377 differs from pull request most recent head fbaaf6e. Consider uploading reports for the commit fbaaf6e to get more accurate results

@@          Coverage Diff          @@
##             2.x     #34   +/-   ##
=====================================
  Coverage       ?   0.00%           
=====================================
  Files          ?       2           
  Lines          ?       4           
  Branches       ?       0           
=====================================
  Hits           ?       0           
  Misses         ?       4           
  Partials       ?       0           

@dbwiddis dbwiddis merged commit 58db87b into 2.x Sep 13, 2023
14 checks passed
@github-actions github-actions bot deleted the backport/backport-30-to-2.x branch September 13, 2023 22:07
dbwiddis added a commit that referenced this pull request Sep 28, 2023
#47)

* Add WorkflowStepFactory class

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add XContent classes representing Template JSON

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add parse methods for the Template XContent

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Cleanup parsing, javadocs, and demo output

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Refactor to use field name constants, get tests working again

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Separate WorkflowNode and ProcessNode functionality

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix demos to align with template field names

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add workflow, node, and edge tests

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add Template tests

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Refactor TemplateParser to WorkflowProcessSorter

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Test exceptional cases

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Finish up exceptional cases

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix a template field name bug in demo

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Rebase with #34

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Rebase changes from #54

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Integrate thread pool executor service

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix flaky ProcessNodeTests by removing orTimeout

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Rebase and refactor with #44

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix demos and remove DataDemo

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Use non-deprecated mapping method for CreateIndexStep

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Eliminate casting and deprecation warnings on test classes

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Remove unused/leftover demo class

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Typo

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Don't offer steps as an alternative to nodes

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Move Workflow into package with all the other parsing classes

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Move process sequencing classes into workflow package

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add PipelineProcessor class and XContent parsing, rename package

Signed-off-by: Daniel Widdis <widdis@gmail.com>

---------

Signed-off-by: Daniel Widdis <widdis@gmail.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 28, 2023
#47)

* Add WorkflowStepFactory class

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add XContent classes representing Template JSON

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add parse methods for the Template XContent

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Cleanup parsing, javadocs, and demo output

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Refactor to use field name constants, get tests working again

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Separate WorkflowNode and ProcessNode functionality

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix demos to align with template field names

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add workflow, node, and edge tests

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add Template tests

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Refactor TemplateParser to WorkflowProcessSorter

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Test exceptional cases

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Finish up exceptional cases

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix a template field name bug in demo

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Rebase with #34

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Rebase changes from #54

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Integrate thread pool executor service

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix flaky ProcessNodeTests by removing orTimeout

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Rebase and refactor with #44

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix demos and remove DataDemo

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Use non-deprecated mapping method for CreateIndexStep

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Eliminate casting and deprecation warnings on test classes

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Remove unused/leftover demo class

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Typo

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Don't offer steps as an alternative to nodes

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Move Workflow into package with all the other parsing classes

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Move process sequencing classes into workflow package

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Add PipelineProcessor class and XContent parsing, rename package

Signed-off-by: Daniel Widdis <widdis@gmail.com>

---------

Signed-off-by: Daniel Widdis <widdis@gmail.com>
(cherry picked from commit 734f9c2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis pushed a commit that referenced this pull request Sep 28, 2023
…Template Parsing (#60)

Add WorkflowStep Factory and implement XContent-based Template Parsing (#47)

* Add WorkflowStepFactory class



* Add XContent classes representing Template JSON



* Add parse methods for the Template XContent



* Cleanup parsing, javadocs, and demo output



* Refactor to use field name constants, get tests working again



* Separate WorkflowNode and ProcessNode functionality



* Fix demos to align with template field names



* Add workflow, node, and edge tests



* Add Template tests



* Refactor TemplateParser to WorkflowProcessSorter



* Test exceptional cases



* Finish up exceptional cases



* Fix a template field name bug in demo



* Rebase with #34



* Rebase changes from #54



* Integrate thread pool executor service



* Fix flaky ProcessNodeTests by removing orTimeout



* Rebase and refactor with #44



* Fix demos and remove DataDemo



* Use non-deprecated mapping method for CreateIndexStep



* Eliminate casting and deprecation warnings on test classes



* Remove unused/leftover demo class



* Typo



* Don't offer steps as an alternative to nodes



* Move Workflow into package with all the other parsing classes



* Move process sequencing classes into workflow package



* Add PipelineProcessor class and XContent parsing, rename package



---------


(cherry picked from commit 734f9c2)

Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants