Skip to content

[TECH] Renommer et regrouper les routes et controlleurs d'attestation pour évoquer un certificat (Pix-17439) #12015

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

Conversation

yaf
Copy link
Member

@yaf yaf commented Apr 9, 2025

🌸 Problème

  • Nous avons plusieurs deux paires de fichiers routes et contrôleur qui traite d'attestation
  • Nous utilisons une terminologie « attestation » pour évoquer un « certificat ».

🌳 Proposition

  • fusionner les routes et les contrôleurs
  • renommer les fichiers pour évoquer un certificat

🐝 Remarques

Les URL n'ont pas été modifiés pour le moment.

🤧 Pour tester

Faire le parcours pour récupérer un certificat / attestation, tout devrait fonctionner comme avant.

@yaf yaf added 👀 Tech Review Needed 👀 Func Review Needed Need PO validation for this functionally team-certif labels Apr 9, 2025
@yaf yaf self-assigned this Apr 9, 2025
@yaf yaf requested a review from a team as a code owner April 9, 2025 17:15
@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 :

@yaf yaf force-pushed the pix-17439-rename-certificat-and-merge-route-and-controller branch 4 times, most recently from 168b2c4 to 629dd79 Compare April 10, 2025 07:25
@yaf yaf added 👀 Func Review Needed Need PO validation for this functionally and removed 👀 Func Review Needed Need PO validation for this functionally labels Apr 11, 2025
@@ -16,20 +49,20 @@ const getPDFAttestation = async function (
const { i18n } = request;
const { isFrenchDomainExtension } = request.query;

const attestation = await usecases.getCertificationAttestation({
const certificate = await usecases.getCertificationAttestation({
Copy link
Contributor

Choose a reason for hiding this comment

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

Le renommage des usecases aura lieu dans une autre PR ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oui, je pense que c'est mieux. Je fais par petites étapes

@alexandrecoin alexandrecoin added Func Review OK PO validated functionally the PR and removed 👀 Func Review Needed Need PO validation for this functionally labels Apr 11, 2025
@yaf yaf force-pushed the pix-17439-rename-certificat-and-merge-route-and-controller branch from 629dd79 to 7b8e630 Compare April 11, 2025 09:09
@@ -261,20 +443,16 @@ describe('Certification | Results | Unit | Application | Controller | certificat
division,
organizationId,
})
.resolves([v3CertificationAttestation, v3CertificationAttestation, v2CertificationAttestation]);
.resolves([v3CertificationAttestation, v3CertificationAttestation]);
Copy link
Contributor

Choose a reason for hiding this comment

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

ça rollback ma correction d'ici #12013

Copy link
Member Author

Choose a reason for hiding this comment

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

C'est sans doute un raté sur un rebase. Je vais reprendre ça

Copy link
Member Author

Choose a reason for hiding this comment

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

Bon, je pense que c'est une histoire de date de commit, et les miens ont du passé par-dessus le tien. Je viens de faire un cherry-pick pour « re-appliquer » tes modifications.

@yaf yaf force-pushed the pix-17439-rename-certificat-and-merge-route-and-controller branch from 7b8e630 to 6aa589f Compare April 11, 2025 10:09
@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-17439-rename-certificat-and-merge-route-and-controller branch 2 times, most recently from 3a043ae to ae1c265 Compare April 14, 2025 07:41
@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-17439-rename-certificat-and-merge-route-and-controller branch from ae1c265 to 7bd3a31 Compare April 14, 2025 07:47
@pix-service-auto-merge pix-service-auto-merge merged commit 15054b1 into dev Apr 14, 2025
9 of 11 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-17439-rename-certificat-and-merge-route-and-controller branch April 14, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants