Skip to content

Commit

Permalink
Add gonorrheaEnabled feature flag (#8299)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbrown authored Nov 21, 2024
1 parent 9dc8545 commit f4aa99f
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 gonorrheaEnabled;
private boolean hepatitisCEnabled;
private boolean syphilisEnabled;
private boolean hivBulkUploadEnabled;
Expand All @@ -41,6 +42,7 @@ private void loadFeatureFlagsFromDB() {
private void flagMapping(String flagName, Boolean flagValue) {
switch (flagName) {
case "oktaMigrationEnabled" -> setOktaMigrationEnabled(flagValue);
case "gonorrheaEnabled" -> setGonorrheaEnabled(flagValue);
case "hepatitisCEnabled" -> setHepatitisCEnabled(flagValue);
case "syphilisEnabled" -> setSyphilisEnabled(flagValue);
case "hivBulkUploadEnabled" -> setHivBulkUploadEnabled(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 @@ -22,6 +22,7 @@ twilio:
from-number: "+14045312484"
features:
oktaMigrationEnabled: false
gonorrheaEnabled: false
hepatitisCEnabled: false
syphilisEnabled: false
hivBulkUploadEnabled: true
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 @@ -175,6 +175,7 @@ datahub:
csv-upload-api-fhir-client: "simple_report.fullelr"
features:
oktaMigrationEnabled: false
gonorrheaEnabled: true
hepatitisCEnabled: true
syphilisEnabled: true
hivBulkUploadEnabled: true
Expand Down

0 comments on commit f4aa99f

Please sign in to comment.