Skip to content
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

chore(API Entreprise): Mise à jour des appels pour fonctionner sur la v3 de l'api #1599

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

SebastienReuiller
Copy link
Contributor

Quoi ?

Mise à jour des appels à l'API Entreprise pour utiliser la version 3: https://entreprise.api.gouv.fr/developpeurs/openapi

Information pour appeler l'environnement de staging : https://entreprise.api.gouv.fr/developpeurs#kit-de-mise-en-production

Pourquoi ?

Parce que la version 2 de l'API n'est plus disponible et les appels ne sont donc plus compatible.

Comment ?

En adaptant la gestion des réponses aux appels "Entreprise", "Établissement" et "Exercice".
Mais aussi:

  • utilisation de dataclass
  • réactivation des logs
  • ajout de tests
  • mise en place du monitoring de cron avec sentry

Autre

Pour la mise en prod, il faudra récupérer un token de production et tester la management command à la main.

@madjid-asa madjid-asa force-pushed the sreuiller/upgrade-api-entreprise branch from 43c9ba6 to 4b0a16d Compare February 4, 2025 21:25
Copy link

gitguardian bot commented Feb 4, 2025

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@SebastienReuiller SebastienReuiller force-pushed the sreuiller/upgrade-api-entreprise branch from 4b0a16d to 43c9ba6 Compare February 17, 2025 17:08
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.

2 participants