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

(PC-31580)[API] chore: add script to migrate Les Libraires to new pulic API provider (Part 1/2) #13948

Conversation

tcoudray-pass
Copy link
Contributor

But de la pull request

Ticket Jira: https://passculture.atlassian.net/browse/PC-31580

Won't be merged, will be run using the job console.

Vérifications

  • J'ai écrit les tests nécessaires
  • J'ai mis à jour le fichier des plans de tests du portail pro si nécessaire
  • J'ai mis à jour la liste des routes et des titres de pages du portail pro si j'en ai rajouté/modifié ou supprimé une.
  • J'ai relu attentivement les migrations, en particulier pour éviter les locks, et je préviens les équipes Shérif et Data
  • J'ai ajouté des screenshots pour d'éventuels changements graphiques

12946,
46994,
],
2568200, # id of our backend tech lead user
Copy link
Contributor

Choose a reason for hiding this comment

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

Le commentaire est peut-être à enlever, on est sur un repo public et c'est une information relativement spécifique.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

La fois d'avant c'était carrément son email qui était montré mais tu as raison j'enlève ça.



def delete_venue_provider(venue_provider: providers_models.VenueProvider, author: users_models.User) -> None:
update_venue_synchronized_offers_active_status_job.delay(venue_provider.venueId, venue_provider.providerId, False)
Copy link
Contributor

Choose a reason for hiding this comment

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

Attention, si un lieu a beaucoup (beaucoup) d'offres, la tâche peut planter. Ca vaudra le coup de bien surveiller les logs pour s'assurer que la tâche n'a pas planté.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Je vais checker ça sur staging

@tcoudray-pass
Copy link
Contributor Author

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