Skip to content

Conversation

laurenkrugen-navapbc
Copy link
Contributor

🎫 Ticket

https://jira.cms.gov/browse/BCDA-9401

🛠 Changes

  • all instances of blacklist renamed to denylist
  • init() in tokendenylist.go removed
  • migration added for rename
  • env variable rename in local envs only

ℹ️ Context

Part of effort to reduce init() usage across bcda repos to enable more effective testing.

Pre Deployment Notice

  • updated env variables
  • migrations needed

🧪 Validation

All tests passing.

@laurenkrugen-navapbc laurenkrugen-navapbc requested a review from a team as a code owner September 3, 2025 21:10
cancelFunc context.CancelFunc // used to clean up resources associated with the ticker
)

type CacheConfig struct {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this file contains the init() code changes vs just renames.

ALTER SEQUENCE denylist_entries_id_seq
RENAME TO blacklist_entries_id_seq ;

COMMIT;
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should make a special note in the deploy following this merge that in the case of the need to revert to a previous release we will need to manually run this down migration.

bhagatparwinder
bhagatparwinder previously approved these changes Sep 4, 2025
@laurenkrugen-navapbc laurenkrugen-navapbc merged commit 24fae36 into main Sep 8, 2025
6 checks passed
@laurenkrugen-navapbc laurenkrugen-navapbc deleted the lauren/BCDA-9401 branch September 8, 2025 15:05
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.

4 participants