Conversation
feat(work-experience,education,additional-training): add optional tec…
…add-technologies-field-entities
fix(education): pass technologies field in create and update router h…
…gies fix(work-experience): forward technologies field from router to use case
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Esta PR consolida varias épicas de desarrollo que extienden el modelo de dominio, amplían la cobertura de tests unitarios hasta cubrir prácticamente todas las capas de la arquitectura, e introducen la notificación por email al recibir mensajes de
contacto. Incluye además el Dockerfile de producción y la migración del servicio de email de SendGrid/SMTP a Resend.
Cambios incluidos
Dominio y entidades
WorkExperience: nuevos camposlocation,is_currentyduration_monthsWorkExperience,Education,AdditionalTraining: campo opcionaltechnologiesSkill: eliminado el campocategoryen todas las capasTool: campocategorypasa a ser opcional; se omiten herramientas sin categoría en el endpoint agrupadoAplicación y casos de uso
GetCompleteCVUseCase: agrega correctamente todas las entidades al CV completo usandodefault_profilecomoprofile_idListSkillsUseCase: refactorización del listadoCreateContactMessageUseCase: integración con el nuevo servicio de emailWorkExperienceDTO,EducationDTO,AdditionalTrainingDTO,ToolDTOyCVDTOInfraestructura
IEmailServiceenshared/interfaces/email_service.pyResendEmailServiceyNullEmailServiceExperienceMapper,EducationMapper,AdditionalTrainingMapper,ToolMapper,SkillMapperrequirements.txtconvertido de UTF-16 a UTF-8API
WorkExperience,Education,AdditionalTraining,SkillyToolWorkExperience,EducationyToolpropagan los nuevos campos en POST y PUTCertification: acepta cadena vacía como nulo enexpiry_dateInfraestructura de despliegue
Dockerfilede producción (python:3.13-slim, sin--reload)settings.pyTests (incremento masivo de cobertura)
AdditionalTrainingDTO,CertificationDTO,ContactInformationDTO,ContactMessageDTO,ProjectDTO,SocialNetworkDTO,ToolDTOAdditionalTraining,Certification,ContactInformation,ContactMessage,Education,Profile,ProgrammingLanguage,Project,SocialNetwork,Tool,WorkExperienceWorkExperience,Education,AdditionalTraining,Skill,ToolSkillLevelSocialNetworkRepositoryyToolRepositoryResendEmailServiceyNullEmailServiceApplicationExceptionEducationRouteryWorkExperienceRouterPlan de pruebas
make test-unit— todos deben pasarmake test-integration— validar repositorios contra MongoDB realmake test-e2e— validar el flujo completo del CVGET /api/v1/cvdevuelve todas las secciones correctamentePOST /api/v1/contact-messagesenvía la notificación de email vía ResendGET /api/v1/skillsno devuelve el campocategoryGET /api/v1/toolsagrupa correctamente omitiendo herramientas sin categoríaGET /api/v1/work-experienceincluyelocation,is_currentyduration_monthsdocker build -t portfolio-backend .— debe completarse sin erroresmake test-cov— sin regresiones respecto amain