diff --git a/backend/src/main/java/gov/cdc/usds/simplereport/config/FeatureFlagsConfig.java b/backend/src/main/java/gov/cdc/usds/simplereport/config/FeatureFlagsConfig.java index 8c583d7784..b032c4723b 100644 --- a/backend/src/main/java/gov/cdc/usds/simplereport/config/FeatureFlagsConfig.java +++ b/backend/src/main/java/gov/cdc/usds/simplereport/config/FeatureFlagsConfig.java @@ -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; @@ -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); diff --git a/backend/src/main/resources/application-azure-prod.yaml b/backend/src/main/resources/application-azure-prod.yaml index 223e5f7cc1..610b6be3d4 100644 --- a/backend/src/main/resources/application-azure-prod.yaml +++ b/backend/src/main/resources/application-azure-prod.yaml @@ -24,6 +24,7 @@ twilio: from-number: "+14045312484" features: oktaMigrationEnabled: false + chlamydiaEnabled: false gonorrheaEnabled: false hepatitisCEnabled: false syphilisEnabled: false diff --git a/backend/src/main/resources/application.yaml b/backend/src/main/resources/application.yaml index d7e8f10f21..7e4e7ca489 100644 --- a/backend/src/main/resources/application.yaml +++ b/backend/src/main/resources/application.yaml @@ -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