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

escape input data #1970

Merged
merged 2 commits into from
Jan 31, 2024
Merged

escape input data #1970

merged 2 commits into from
Jan 31, 2024

Conversation

ylwu-amzn
Copy link
Collaborator

Description

Escape input data to solve invalid payload error.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Yaliang Wu <[email protected]>
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:06 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:06 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:06 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:06 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:06 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:06 — with GitHub Actions Inactive
Copy link

codecov bot commented Jan 31, 2024

Codecov Report

Attention: 20 lines in your changes are missing coverage. Please review.

Comparison is base (45e5199) 82.90% compared to head (c1fbe10) 82.85%.

Files Patch % Lines
...ch/ml/engine/algorithms/remote/ConnectorUtils.java 35.48% 19 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1970      +/-   ##
============================================
- Coverage     82.90%   82.85%   -0.06%     
- Complexity     5503     5507       +4     
============================================
  Files           533      533              
  Lines         22088    22109      +21     
  Branches       2244     2244              
============================================
+ Hits          18313    18319       +6     
- Misses         2859     2876      +17     
+ Partials        916      914       -2     
Flag Coverage Δ
ml-commons 82.85% <54.54%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:34 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:34 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 09:34 — with GitHub Actions Inactive
Signed-off-by: Yaliang Wu <[email protected]>
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env January 31, 2024 17:14 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn merged commit 72d494c into opensearch-project:main Jan 31, 2024
9 of 14 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 31, 2024
* escape input data

Signed-off-by: Yaliang Wu <[email protected]>

* add unit test

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 72d494c)
ylwu-amzn added a commit that referenced this pull request Jan 31, 2024
* escape input data

Signed-off-by: Yaliang Wu <[email protected]>

* add unit test

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 72d494c)

Co-authored-by: Yaliang Wu <[email protected]>
austintlee pushed a commit to austintlee/ml-commons that referenced this pull request Mar 19, 2024
* escape input data

Signed-off-by: Yaliang Wu <[email protected]>

* add unit test

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Yaliang Wu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants