Skip to content

Commit 6b72ce0

Browse files
authored
ENG-4023 - Separate MaxMind Reactor Status from rest of Threat Detection (#1321)
Problem: To declare the license issue in a decent state, we must confront the fact that the Maxmind loader still has some issues. See https://linear.app/fusionauth/issue/ENG-4018/maxmind-loader-problems for what those are. We don't want to bite that off now, nor do we want to tell customers, etc. that "ALL our license code issues are fixed" with the develop branch, as is. Solution: Since improving those 2 issues may be broader in scope, in the meantime, it seems like a good idea to separate Reactor status values for items that have remote health involved, like Maxmind, from those that don't (CAPTCHA, etc. items that depend on threat detection). Breached password detection is already separated.
1 parent d6e0084 commit 6b72ce0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/io/fusionauth/domain/reactor/ReactorStatus.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public class ReactorStatus {
5555

5656
public LocalDate expiration;
5757

58+
public ReactorFeatureStatus ipGeoLocation = ReactorFeatureStatus.UNKNOWN;
59+
5860
public Map<String, String> licenseAttributes = new HashMap<>();
5961

6062
public boolean licensed;
@@ -95,6 +97,7 @@ public ReactorStatus(ReactorStatus other) {
9597
dPoP = other.dPoP;
9698
entityManagement = other.entityManagement;
9799
expiration = other.expiration;
100+
ipGeoLocation = other.ipGeoLocation;
98101
licenseAttributes.putAll(other.licenseAttributes);
99102
licensed = other.licensed;
100103
tenantManagerApplication = other.tenantManagerApplication;
@@ -129,6 +132,7 @@ public boolean equals(Object o) {
129132
advancedOAuthScopesThirdPartyApplications == that.advancedOAuthScopesThirdPartyApplications &&
130133
dPoP == that.dPoP &&
131134
entityManagement == that.entityManagement &&
135+
ipGeoLocation == that.ipGeoLocation &&
132136
Objects.equals(expiration, that.expiration) &&
133137
licensed == that.licensed &&
134138
Objects.equals(licenseAttributes, that.licenseAttributes) &&
@@ -158,6 +162,7 @@ public int hashCode() {
158162
advancedOAuthScopesThirdPartyApplications,
159163
entityManagement,
160164
expiration,
165+
ipGeoLocation,
161166
licensed,
162167
licenseAttributes,
163168
tenantManagerApplication,

0 commit comments

Comments
 (0)