diff --git a/orcid-core/src/main/java/org/orcid/core/togglz/Features.java b/orcid-core/src/main/java/org/orcid/core/togglz/Features.java index d975b43664..7f5f16190b 100644 --- a/orcid-core/src/main/java/org/orcid/core/togglz/Features.java +++ b/orcid-core/src/main/java/org/orcid/core/togglz/Features.java @@ -4,12 +4,14 @@ import org.togglz.core.annotation.Label; import org.togglz.core.context.FeatureContext; - public enum Features implements Feature { + @Label("OAUTH DOMAINS INTERSTITIAL") + OAUTH_DOMAINS_INTERSTITIAL, + @Label("New Relic Browser Monitoring") NEW_RELIC_BROWSER_MONITORING, - + @Label("Homepage Headless WordPress") WORDPRESS_HOME_PAGE, @@ -24,16 +26,16 @@ public enum Features implements Feature { @Label("HelpHero") ORCID_ANGULAR_HELP_HERO, - + @Label("Stop caching works when doing bulk reads") - READ_BULK_WORKS_DIRECTLY_FROM_DB, - + READ_BULK_WORKS_DIRECTLY_FROM_DB, + @Label("Store failing login attempts to the database") ENABLE_ACCOUNT_LOCKOUT, - + @Label("Do not lock the account on the UI when the lockout threshold is exceeded") - ACCOUNT_LOCKOUT_SIMULATION, - + ACCOUNT_LOCKOUT_SIMULATION, + @Label("Send verification emails for 2, 7 and 28 days. If disabled 2 days only verification emails will be sent.") SEND_ALL_VERIFICATION_EMAILS, @@ -44,8 +46,8 @@ public enum Features implements Feature { DELETE_EVENTS, @Label("Track public events stats ") - PAPI_EVENTS, - + PAPI_EVENTS, + @Label("Enable summary endpoint in the Members API") MAPI_SUMMARY_ENDPOINT, @@ -54,10 +56,10 @@ public enum Features implements Feature { @Label("Enable email domains in the UI") EMAIL_DOMAINS_UI, - + @Label("Enforce rate limiting for public API when disabled the rate monitoring is on. When disabled is the mode is monitoring only.") ENABLE_PAPI_RATE_LIMITING; - + public boolean isActive() { return FeatureContext.getFeatureManager().isActive(this); }