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] Adds Create Ingest Pipeline Step #59

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 1d22bee from #44.

* Initial create ingest pipeline implementation

Signed-off-by: Joshua Palis <[email protected]>

* Adding TODOs for storing response to global context index, fixing comments

Signed-off-by: Joshua Palis <[email protected]>

* Updating workflowData interface, modifying CreateIngestPipelineStep

Signed-off-by: Joshua Palis <[email protected]>

* updating workflow data extraction to read pipelineId from parameters rather than from content

Signed-off-by: Joshua Palis <[email protected]>

* removing unecessary cast

Signed-off-by: Joshua Palis <[email protected]>

* Pulls all required data from content rather than from params, fixes javadoc error

Signed-off-by: Joshua Palis <[email protected]>

* fixing comments

Signed-off-by: Joshua Palis <[email protected]>

* addressing PR comments, adding switch statement to handle parsing workflow data for required fields

Signed-off-by: Joshua Palis <[email protected]>

* Adding entry import

Signed-off-by: Joshua Palis <[email protected]>

* fixing comments

Signed-off-by: Joshua Palis <[email protected]>

* Adds unit tests for create ingest pipeline step, fixes pipeline request body generator

Signed-off-by: Joshua Palis <[email protected]>

* Adding failure tests

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments

Signed-off-by: Joshua Palis <[email protected]>

* Fixing workflow data

Signed-off-by: Joshua Palis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
(cherry picked from commit 1d22bee)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 25, 2023

Codecov Report

Merging #59 (7ea9185) into 2.x (04a63e1) will increase coverage by 5.54%.
The diff coverage is 87.87%.

@@             Coverage Diff              @@
##                2.x      #59      +/-   ##
============================================
+ Coverage     68.33%   73.87%   +5.54%     
- Complexity       48       65      +17     
============================================
  Files             7        8       +1     
  Lines           180      245      +65     
  Branches         18       22       +4     
============================================
+ Hits            123      181      +58     
- Misses           48       54       +6     
- Partials          9       10       +1     
Files Coverage Δ
.../opensearch/flowframework/FlowFrameworkPlugin.java 0.00% <0.00%> (ø)
...owframework/workflow/CreateIngestPipelineStep.java 90.62% <90.62%> (ø)

@joshpalis joshpalis merged commit 6f3b720 into 2.x Sep 25, 2023
16 checks passed
@github-actions github-actions bot deleted the backport/backport-44-to-2.x branch September 25, 2023 20:58
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.

1 participant