-
Notifications
You must be signed in to change notification settings - Fork 16
[DAPS-1777] - Foxx, fix: user_router fix regression in missing response. #1778
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
[DAPS-1777] - Foxx, fix: user_router fix regression in missing response. #1778
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR fixes a regression in the user_router Foxx API by reintroducing a missing res.send call to ensure responses are correctly returned to clients. Sequence diagram for corrected user_router response flowsequenceDiagram
actor Client
participant "user_router API"
participant "Database"
Client->>"user_router API": Send request
"user_router API"->>"Database": Query user data
"Database"-->>"user_router API": Return user data
"user_router API"->>Client: res.send(result)
Class diagram for user_router response handlingclassDiagram
class UserRouter {
+handleRequest(req, res)
}
UserRouter : +result
UserRouter : +res.send(result)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Here we demonstrate that the test is able to cover the use case we encountered. https://code.ornl.gov/dlsw/datafed/datafed/-/jobs/3671682 Now we can apply the fix and it should pass. |
…params object schema to routes. (#1776)
Ticket
Description
How Has This Been Tested?
Artifacts (if appropriate):
Tasks
Summary by Sourcery
Bug Fixes: