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

Adding api for aggregator proxy #11

Closed
wants to merge 1 commit into from

Conversation

picksitquick
Copy link
Contributor

Fixes #10

Proposed Changes

  • Added a new api to fetch user by Email Id
  • Using the updates Studio and StudioDTO Models.

Copy link
Member

@aprajshekhar aprajshekhar left a comment

Choose a reason for hiding this comment

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

Overall, it looks good to me. Just one suggestion.

@@ -112,4 +112,11 @@ public ResponseEntity<List<StudiosDTO>> getAllStudiosByUsers(@RequestParam(requi
public ResponseEntity<List<StudiosDTO>> getAllStudiosByUsersFirstName(@RequestParam(required = false) String user_name) {
return createResponse(studioServicesAssembler.getAllStudiosByUsersFirstName(user_name), HttpStatus.OK);
}

@GetMapping(
value = "/users/{userEmail}",
Copy link
Member

Choose a reason for hiding this comment

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

The URL will be /users/email as the value of the email will be coming from the request param named email. To reduce the confusion, let's name the request param as emailId

@picksitquick
Copy link
Contributor Author

Sure, will update this. Also the build is failing, is it because of the token expiration?

@aprajshekhar
Copy link
Member

@picksitquick , there are no github actions for studio services. I am not sure which repo you are referring to?

@picksitquick
Copy link
Contributor Author

PR OUTDATED:
Will be raising a new PR as there are new changes as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API for Aggregator Proxy
2 participants