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 to 2.x] remote inference: escape parameter if not valid json #1176

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

ylwu-amzn
Copy link
Collaborator

Description

Backport PR #1174 to 2.x

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.

@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env August 1, 2023 06:33 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env August 1, 2023 06:33 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env August 1, 2023 06:33 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env August 1, 2023 06:33 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #1176 (bc29a08) into 2.x (5b4bd51) will increase coverage by 0.01%.
The diff coverage is 87.50%.

@@             Coverage Diff              @@
##                2.x    #1176      +/-   ##
============================================
+ Coverage     78.94%   78.96%   +0.01%     
- Complexity     2118     2121       +3     
============================================
  Files           167      167              
  Lines          8633     8641       +8     
  Branches        869      870       +1     
============================================
+ Hits           6815     6823       +8     
+ Misses         1425     1423       -2     
- Partials        393      395       +2     
Flag Coverage Δ
ml-commons 78.96% <87.50%> (+0.01%) ⬆️

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

Files Changed Coverage Δ
...ch/ml/engine/algorithms/remote/ConnectorUtils.java 70.83% <87.50%> (+2.08%) ⬆️

... and 1 file with indirect coverage changes

@ylwu-amzn ylwu-amzn merged commit eb639f8 into opensearch-project:2.x Aug 1, 2023
zane-neo pushed a commit to zane-neo/ml-commons that referenced this pull request Sep 1, 2023
zane-neo pushed a commit that referenced this pull request Sep 1, 2023
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.

3 participants