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

Adds Create Index Building block #38

Merged
merged 6 commits into from
Sep 25, 2023

Conversation

owaiskazi19
Copy link
Member

Description

Adds Create Index Building block for the workflow setup and logging functionality in the project.

Issues Resolved

Part of #21

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.

@github-actions github-actions bot added the backport 2.x backport PRs to 2.x branch label Sep 13, 2023
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #38 (44da4d5) into main (a574f47) will increase coverage by 0.87%.
The diff coverage is 78.37%.

@@             Coverage Diff              @@
##               main      #38      +/-   ##
============================================
+ Coverage     74.26%   75.14%   +0.87%     
- Complexity       42       47       +5     
============================================
  Files             6        7       +1     
  Lines           136      173      +37     
  Branches         16       18       +2     
============================================
+ Hits            101      130      +29     
- Misses           25       32       +7     
- Partials         10       11       +1     
Files Changed Coverage Δ
.../opensearch/flowframework/FlowFrameworkPlugin.java 0.00% <0.00%> (ø)
...ramework/workflow/CreateIndex/CreateIndexStep.java 85.29% <85.29%> (ø)

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial review. A few substantive and a few non-substantive requests.

Signed-off-by: Owais Kazi <[email protected]>
@owaiskazi19 owaiskazi19 merged commit a97b7d0 into opensearch-project:main Sep 25, 2023
10 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 25, 2023
* Initial impelmentation of CreateIndex

Signed-off-by: Owais Kazi <[email protected]>

* Adds CreateIndex building block

Signed-off-by: Owais Kazi <[email protected]>

* Integrated WorkflowData and made the request async

Signed-off-by: Owais Kazi <[email protected]>

* Addressed PR comments

Signed-off-by: Owais Kazi <[email protected]>

* Added unit test and type field for fetching the payload

Signed-off-by: Owais Kazi <[email protected]>

* Addressed PR Comments

Signed-off-by: Owais Kazi <[email protected]>

---------

Signed-off-by: Owais Kazi <[email protected]>
(cherry picked from commit a97b7d0)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
owaiskazi19 pushed a commit that referenced this pull request Sep 25, 2023
Adds Create Index Building block  (#38)

* Initial impelmentation of CreateIndex



* Adds CreateIndex building block



* Integrated WorkflowData and made the request async



* Addressed PR comments



* Added unit test and type field for fetching the payload



* Addressed PR Comments



---------


(cherry picked from commit a97b7d0)

Signed-off-by: Owais Kazi <[email protected]>
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>
dbwiddis added a commit that referenced this pull request Sep 25, 2023
* Change WorkflowData from interface to class

Signed-off-by: Daniel Widdis <[email protected]>

* Disable flaky test

Signed-off-by: Daniel Widdis <[email protected]>

* Rebase with changes from #38

Signed-off-by: Daniel Widdis <[email protected]>

---------

Signed-off-by: Daniel Widdis <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 25, 2023
* Change WorkflowData from interface to class

Signed-off-by: Daniel Widdis <[email protected]>

* Disable flaky test

Signed-off-by: Daniel Widdis <[email protected]>

* Rebase with changes from #38

Signed-off-by: Daniel Widdis <[email protected]>

---------

Signed-off-by: Daniel Widdis <[email protected]>
(cherry picked from commit a530739)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshpalis pushed a commit that referenced this pull request Sep 25, 2023
Change WorkflowData from interface to class (#54)

* Change WorkflowData from interface to class



* Disable flaky test



* Rebase with changes from #38



---------


(cherry picked from commit a530739)

Signed-off-by: Daniel Widdis <[email protected]>
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
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants