Skip to content

Conversation

@Kuruyia
Copy link
Collaborator

@Kuruyia Kuruyia commented Dec 27, 2023

This implements the functions in the profile service to store attachments (profile picture, CV) to a profile. The following methods were implemented to be used through the message broker:

  • findOneCvOfUser : gets the CV of a user, corresponds to the GET /profile/cv API route
  • saveOneCvOfUser : sets the CV of a user, corresponds to the POST /profile/cv API route
  • findOneProfilePictureOfUser : gets the profile picture of a user, corresponds to the GET /profile/photo API route
  • saveOneProfilePictureOfUser : sets the profile picture of a user, corresponds to the POST /profile/photo API route

The attachments are stored in an S3-compatible object storage that can be configured in the profile service configuration.

@Kuruyia Kuruyia added the enhancement New feature or request label Dec 27, 2023
@Kuruyia Kuruyia self-assigned this Dec 27, 2023
Copy link
Owner

@thomas-mauran thomas-mauran left a comment

Choose a reason for hiding this comment

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

👍

@Kuruyia Kuruyia merged commit 50e034b into main Dec 27, 2023
@Kuruyia Kuruyia deleted the feat/profile-s3 branch December 27, 2023 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants