Skip to content

[FEATURE] Migrer les applications en BDD (PIX-16590). #11434

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

Merged

Conversation

VincentHardouin
Copy link
Member

@VincentHardouin VincentHardouin commented Feb 17, 2025

🥞 Problème

Actuellement, toutes les applications sont définies directement dans la configuration grâce à des variables d'environnement. C'est par conséquent chronophage d'ajouter de nouveau client et ce n'est pas très scalable.

🥓 Proposition

Stocker les applications en BDD.

🧃 Remarques

  • Nous migrons les clients existants directement dans la migration.
  • Nous utilisons désormais le AUTH_SECRET pour signer les jwt des clients au lieu d'avoir un SECRET par client.

😋 Pour tester

@pix-bot-github
Copy link

Une fois les applications déployées, elles seront accessibles via les liens suivants :

Les variables d'environnement seront accessibles via les liens suivants :

@VincentHardouin VincentHardouin force-pushed the pix-16590-migrate-applications-in-database branch from 4ae0228 to 3e9648c Compare February 17, 2025 14:58
@pix-service-auto-merge pix-service-auto-merge force-pushed the prepare-maddo-authentication-config branch from 61b5d38 to 3c10f7e Compare February 18, 2025 09:09
Base automatically changed from prepare-maddo-authentication-config to dev February 18, 2025 09:16
@nlepage nlepage force-pushed the pix-16590-migrate-applications-in-database branch 3 times, most recently from 65bf00d to 508b25c Compare February 18, 2025 10:42
@HEYGUL HEYGUL marked this pull request as ready for review February 18, 2025 10:51
@HEYGUL HEYGUL requested review from a team as code owners February 18, 2025 10:51
@nlepage nlepage force-pushed the pix-16590-migrate-applications-in-database branch from 508b25c to 8233dd9 Compare February 18, 2025 14:40
nlepage and others added 5 commits February 18, 2025 15:30
Co-authored-by: Vincent Hardouin <vincent.hardouin@pix.fr>
Co-authored-by: Vincent Hardouin <vincent.hardouin@pix.fr>
Co-authored-by: Nicolas Lepage <19571875+nlepage@users.noreply.github.com>
Co-authored-by: Guillaume Lagorce <guillaume.lagorce@pix.fr>
Co-authored-by: Nicolas Lepage <19571875+nlepage@users.noreply.github.com>
Co-authored-by: Nicolas Lepage <nicolas.lepage@pix.fr>
Co-authored-by: Vincent Hardouin <vincent.hardouin@pix.fr>
Co-authored-by: Ce que tu veux <guillaume.lagorce@pix.fr>
Co-authored-by: Vincent Hardouin <vincent.hardouin@pix.fr>
@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-16590-migrate-applications-in-database branch from 8233dd9 to 8f41d95 Compare February 18, 2025 15:30
@pix-service-auto-merge pix-service-auto-merge merged commit 24f58b4 into dev Feb 18, 2025
9 of 11 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-16590-migrate-applications-in-database branch February 18, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Func Review OK PO validated functionally the PR 🚀 Ready to Merge team-acces team-maddo Mise à Dispo de Données Tech Review OK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants