diff --git a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/EtorDomainRegistration.java b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/EtorDomainRegistration.java index b420131ec..1a6068b1c 100644 --- a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/EtorDomainRegistration.java +++ b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/EtorDomainRegistration.java @@ -173,6 +173,7 @@ DomainResponse handleResults(DomainRequest request) { } DomainResponse handleMetadata(DomainRequest request) { + // Any new endpoint that will call RS **must** include this check. if (Boolean.parseBoolean(request.getHeaders().get("load-test")) && ApplicationContext.isPropertyPresent("REPORT_STREAM_URL_PREFIX")) { // register the mock RS endpoint for this HTTP request because we don't want to call RS @@ -234,6 +235,7 @@ protected DomainResponse handleMessageRequest( boolean markMetadataAsFailed = false; String errorMessage = ""; + // Any new endpoint that will call RS **must** include this check. if (Boolean.parseBoolean(request.getHeaders().get("load-test")) && ApplicationContext.isPropertyPresent("REPORT_STREAM_URL_PREFIX")) { // register the mock RS endpoint for this HTTP request because we don't want to call RS