Skip to content

Commit

Permalink
Add chlamydiaEnabled feature flag (#8375)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbrown authored Jan 6, 2025
1 parent 0221119 commit 2a54784
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class FeatureFlagsConfig {
private final FeatureFlagRepository _repo;

private boolean oktaMigrationEnabled;
private boolean chlamydiaEnabled;
private boolean gonorrheaEnabled;
private boolean hepatitisCEnabled;
private boolean syphilisEnabled;
Expand All @@ -42,6 +43,7 @@ private void loadFeatureFlagsFromDB() {
private void flagMapping(String flagName, Boolean flagValue) {
switch (flagName) {
case "oktaMigrationEnabled" -> setOktaMigrationEnabled(flagValue);
case "chlamydiaEnabled" -> setChlamydiaEnabled(flagValue);
case "gonorrheaEnabled" -> setGonorrheaEnabled(flagValue);
case "hepatitisCEnabled" -> setHepatitisCEnabled(flagValue);
case "syphilisEnabled" -> setSyphilisEnabled(flagValue);
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/application-azure-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ twilio:
from-number: "+14045312484"
features:
oktaMigrationEnabled: false
chlamydiaEnabled: false
gonorrheaEnabled: false
hepatitisCEnabled: false
syphilisEnabled: false
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ datahub:
csv-upload-api-fhir-client: "simple_report.fullelr-bulkuploader"
features:
oktaMigrationEnabled: false
chlamydiaEnabled: true
gonorrheaEnabled: true
hepatitisCEnabled: true
syphilisEnabled: true
Expand Down

0 comments on commit 2a54784

Please sign in to comment.