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

[Enhancement] Input Validation for generate obo token endpoint #3553

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

RyanL1997
Copy link
Collaborator

@RyanL1997 RyanL1997 commented Oct 16, 2023

Description

Add Input Validation for generate obo token endpoint

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
    Enhancement

Issues Resolved

Testing

Integration Test

Check List

  • New functionality includes testing
  • New functionality has been documented
  • 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.

@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Merging #3553 (a302f66) into main (1166c1f) will decrease coverage by 0.06%.
Report is 2 commits behind head on main.
The diff coverage is 12.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #3553      +/-   ##
============================================
- Coverage     65.04%   64.99%   -0.06%     
+ Complexity     3644     3641       -3     
============================================
  Files           282      282              
  Lines         20597    20615      +18     
  Branches       3390     3393       +3     
============================================
+ Hits          13397    13398       +1     
- Misses         5518     5534      +16     
- Partials       1682     1683       +1     
Files Coverage Δ
...y/action/onbehalf/CreateOnBehalfOfTokenAction.java 28.75% <12.00%> (-3.51%) ⬇️

... and 1 file with indirect coverage changes

Copy link
Member

@DarshitChanpura DarshitChanpura left a comment

Choose a reason for hiding this comment

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

Thank you @RyanL1997 for this improvement. Left some minor suggestions.

Signed-off-by: Ryan Liang <[email protected]>
@cwperks cwperks merged commit 0a8c498 into opensearch-project:main Oct 18, 2023
57 of 59 checks passed
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.

[Enhancement] Generate On-Behalf-Of Token endpoint should have input check for request body
3 participants