cisagov / con-pca-api

API Docker Container for Con-PCA
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

Feature CPD-1020: Next cycle templates #832

Closed izzy64 closed 1 year ago

izzy64 commented 1 year ago

๐Ÿ—ฃ Description

Jira ticket: https://cset.atlassian.net/browse/CPD-1020

Backend changes: https://github.com/cisagov/con-pca-web/pull/429

Created a new subscription database field called 'next_templates'. The field will be populated gracefully as new cycles begin, or a safelisting report is requested. When a new cycle is started, the templates from the 'next_templates' field are moved into the 'templates_selected' field, and the 'next_templates' field is randomized with new templates.

๐Ÿ’ญ Motivation and context

Request from the client. Some customers want to be able to know the templates that will be used during the next cycle to aid in their safelisting practices.

๐Ÿงช Testing

Tested locally.

โœ… Pre-approval checklist