Skip to content

Commit

Permalink
Updating Environment Variables to include toggle for intersection val…
Browse files Browse the repository at this point in the history
…idation.
  • Loading branch information
John-Wiens committed Jul 15, 2024
1 parent 8336d03 commit 204d975
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public class ConflictMonitorApiProperties {
private String kafkaProducerType = AppContext.DEFAULT_KAFKA_PRODUCER_TYPE;
private Boolean verboseJson = false;
private Boolean load = false;
private Boolean enableOrganizationIntersectionChecking = false;
private String cmServerURL = "";
private String emailBroker = "";
private String emailFromAddress = "noreply@cimms.com";
Expand Down Expand Up @@ -140,6 +141,15 @@ public void setLoad(boolean load) {
this.load = load;
}

public boolean getEnableOrganizationIntersectionChecking() {
return enableOrganizationIntersectionChecking;
}

@Value("${enableOrganizationIntersectionChecking}")
public void setEnableOrganizationIntersectionChecking(boolean enableOrganizationIntersectionChecking) {
this.enableOrganizationIntersectionChecking = enableOrganizationIntersectionChecking;
}

public String getCmServerURL() {
return cmServerURL;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ logging.level.org.keycloak=INFO


load=false
enableOrganizationIntersectionChecking=${ENABLE_ORGANIZATION_INTERSECTION_CHECKING:false}

server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
Expand Down

0 comments on commit 204d975

Please sign in to comment.