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] Added a new parse util method to avoid repetition / refactored code with new method #728

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 13b32f1 from #721.

…ith new method (#721)

* Add user mapping to Workflow State index (#705)

* Add user mapping to Workflow State index

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

* Increment schema version

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

---------

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

* Added a new parse util method to avoid repetition / refactored code with new method

Signed-off-by: martinpkr <[email protected]>

* refactored method name and added unit test

Signed-off-by: martinpkr <[email protected]>

* made method use generics + added test

Signed-off-by: martinpkr <[email protected]>

* fixed javadoc

Signed-off-by: martinpkr <[email protected]>

* Added workflow step for ReIndex Step (#718)

* Initial commit for reindex workflow step with extra params

Signed-off-by: owaiskazi19 <[email protected]>

* Addressed PR comments

Signed-off-by: owaiskazi19 <[email protected]>

* Changed request per second to Float

Signed-off-by: owaiskazi19 <[email protected]>

* Addressed string array for source indices and removed state index entry

Signed-off-by: owaiskazi19 <[email protected]>

* Minor comments

Signed-off-by: owaiskazi19 <[email protected]>

---------

Signed-off-by: owaiskazi19 <[email protected]>
Signed-off-by: martinpkr <[email protected]>

* Incorporating parseIfExist method into ReindexStep class

Signed-off-by: martinpkr <[email protected]>

* Add param to delete workflow API to clear status even if resources exist (#719)

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

* refactored method to use parseBoolean and parseFloat methods

Signed-off-by: martinpkr <[email protected]>

* Adding a missing param in javaDoc

Signed-off-by: martinpkr <[email protected]>

* Added workflow step for ReIndex Step (#718)

* Initial commit for reindex workflow step with extra params

Signed-off-by: owaiskazi19 <[email protected]>

* Addressed PR comments

Signed-off-by: owaiskazi19 <[email protected]>

* Changed request per second to Float

Signed-off-by: owaiskazi19 <[email protected]>

* Addressed string array for source indices and removed state index entry

Signed-off-by: owaiskazi19 <[email protected]>

* Minor comments

Signed-off-by: owaiskazi19 <[email protected]>

---------

Signed-off-by: owaiskazi19 <[email protected]>
Signed-off-by: martinpkr <[email protected]>

* Add param to delete workflow API to clear status even if resources exist (#719)

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

* Added a chagelog entry

Signed-off-by: martinpkr <[email protected]>

* fixed failing spotless check

Signed-off-by: martinpkr <[email protected]>

* Added workflow step for ReIndex Step (#718)

* Initial commit for reindex workflow step with extra params

Signed-off-by: owaiskazi19 <[email protected]>

* Addressed PR comments

Signed-off-by: owaiskazi19 <[email protected]>

* Changed request per second to Float

Signed-off-by: owaiskazi19 <[email protected]>

* Addressed string array for source indices and removed state index entry

Signed-off-by: owaiskazi19 <[email protected]>

* Minor comments

Signed-off-by: owaiskazi19 <[email protected]>

---------

Signed-off-by: owaiskazi19 <[email protected]>
Signed-off-by: martinpkr <[email protected]>

* removed unnecessary changelog info

Signed-off-by: martinpkr <[email protected]>

---------

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: martinpkr <[email protected]>
Signed-off-by: owaiskazi19 <[email protected]>
Co-authored-by: Daniel Widdis <[email protected]>
Co-authored-by: Owais Kazi <[email protected]>
(cherry picked from commit 13b32f1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.41%. Comparing base (e06abcb) to head (f8f4e62).

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #728      +/-   ##
============================================
+ Coverage     74.33%   74.41%   +0.07%     
- Complexity      742      744       +2     
============================================
  Files            84       84              
  Lines          3807     3811       +4     
  Branches        332      330       -2     
============================================
+ Hits           2830     2836       +6     
  Misses          823      823              
+ Partials        154      152       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@owaiskazi19 owaiskazi19 merged commit 9e0fc98 into 2.x Jun 3, 2024
34 checks passed
@owaiskazi19 owaiskazi19 deleted the backport/backport-721-to-2.x branch June 3, 2024 17:02
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