Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gonorrheaEnabled feature flag #8299

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading