cds-snc / covid-alert-server

Exposure Notification: Diagnosis Server implementation / Notification d’exposition : Mise en œuvre du serveur de diagnostic
Apache License 2.0
298 stars 31 forks source link

Feat/event granularity #314

Closed CalvinRodo closed 3 years ago

CalvinRodo commented 3 years ago

Implements #315

Splits the events for OTKGenerated and OTKExpired into finer granularity to deal with some issues that we've seen in event tracking.

OTKGenerated is now split into OTKGenerated and OTKRegenerated OTKExpired is now split into OTKExpired, OTKExhausted, and OTKUnclaimed

PLEASE NOTE: This will DELETE ALL EXISTING OTKGenerated and OTKExpired events in the system since they are now no longer valid. This should only be a few days worth of data and we've been continuing manual reporting.