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] Substitute REST path or body parameters in Workflow Steps #536

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 3019fb8 from #525.

* Include params map in WorkflowRequest when provisioning

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

* Pass params to ProcessNode

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

* Pass params to WorkflowSteps

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

* Substitute params

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

* Add change log

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

* Improve param consuming checks, add coverage

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

* Allow specifying key-value pairs in body

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

* Update title in change log

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

* Refactor param and content map generation to a new method

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

---------

Signed-off-by: Daniel Widdis <widdis@gmail.com>
(cherry picked from commit 3019fb8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: Patch coverage is 94.36620% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 72.80%. Comparing base (cb2f23e) to head (37260c0).

Files Patch % Lines
...arch/flowframework/workflow/RegisterAgentStep.java 60.00% 1 Missing and 1 partial ⚠️
...h/flowframework/rest/RestCreateWorkflowAction.java 94.73% 0 Missing and 1 partial ⚠️
.../transport/DeprovisionWorkflowTransportAction.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #536      +/-   ##
============================================
+ Coverage     72.00%   72.80%   +0.79%     
- Complexity      612      639      +27     
============================================
  Files            78       78              
  Lines          3201     3258      +57     
  Branches        246      255       +9     
============================================
+ Hits           2305     2372      +67     
+ Misses          783      773      -10     
  Partials        113      113              

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

@dbwiddis dbwiddis merged commit 4eeb7cb into 2.x Feb 22, 2024
28 checks passed
@dbwiddis dbwiddis deleted the backport/backport-525-to-2.x branch February 22, 2024 20:51
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