Skip to content

Commit

Permalink
Add Hepatitis C feature flag (#8208)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbrown authored Oct 21, 2024
1 parent f06d3c7 commit 4280ba9
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 hepatitisCEnabled;
private boolean syphilisEnabled;
private boolean hivBulkUploadEnabled;
private boolean hivEnabled;
Expand All @@ -40,6 +41,7 @@ private void loadFeatureFlagsFromDB() {
private void flagMapping(String flagName, Boolean flagValue) {
switch (flagName) {
case "oktaMigrationEnabled" -> setOktaMigrationEnabled(flagValue);
case "hepatitisCEnabled" -> setHepatitisCEnabled(flagValue);
case "syphilisEnabled" -> setSyphilisEnabled(flagValue);
case "hivBulkUploadEnabled" -> setHivBulkUploadEnabled(flagValue);
case "hivEnabled" -> setHivEnabled(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
hepatitisCEnabled: false
syphilisEnabled: false
hivBulkUploadEnabled: true
hivEnabled: 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
hepatitisCEnabled: true
syphilisEnabled: true
hivBulkUploadEnabled: true
hivEnabled: true
Expand Down

0 comments on commit 4280ba9

Please sign in to comment.