Skip to content

Fix: Correction de la configuration mailing en production - #9

Merged
Iyedchaabane merged 1 commit into
mainfrom
fix/mailing-config-prod
Feb 9, 2026
Merged

Fix: Correction de la configuration mailing en production#9
Iyedchaabane merged 1 commit into
mainfrom
fix/mailing-config-prod

Conversation

@Iyedchaabane

@Iyedchaabane Iyedchaabane commented Feb 9, 2026

Copy link
Copy Markdown
Owner

📝 Description

Cette PR corrige une erreur de démarrage (BeanCreationException) sur l'environnement Render.
Le backend ne parvenait pas à s'initialiser car certaines propriétés injectées par @Value dans
AuthenticationService.java étaient manquantes ou mal nommées dans le fichier
application-prod.yml.

🛠️ Changements effectués

application-prod.yml

  • Renommage de reset-password-url en reset-url (pour correspondre au code).
  • Ajout de la propriété manquante add-url.
  • Harmonisation de la structure avec les environnements dev et local.

Summary by CodeRabbit

  • Chores
    • Updated mail configuration keys in the production environment.

@coderabbitai

coderabbitai Bot commented Feb 9, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Configuration key renamed in production settings: reset-password-url is now reset-url, and a new add-url key is introduced under the frontend mailing section. This affects how password reset and new password addition URLs are referenced by the application.

Changes

Cohort / File(s) Summary
Production Configuration
book-network/src/main/resources/application-prod.yml
Renamed application.mailing.frontend.reset-password-url to reset-url and added new add-url key in the same section.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • PR #6: Originally introduced the reset-password-url configuration key that is now being renamed and enhanced with the add-url addition in this PR.

Poem

🐰 Hop-hop, keys take flight,
Reset becomes simpler, add shines bright,
Config files dance in prod's delight,
URLs reorganized just right! 🔑✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is related to the main change, indicating a fix to mailing configuration in production, which directly corresponds to the configuration changes in application-prod.yml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/mailing-config-prod

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

sonarqubecloud Bot commented Feb 9, 2026

Copy link
Copy Markdown

@Iyedchaabane
Iyedchaabane merged commit 5e3bed5 into main Feb 9, 2026
8 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.

1 participant