From cadf54a28241f48ef351edd06973499e6f28fea2 Mon Sep 17 00:00:00 2001 From: James Herr Date: Tue, 7 Jan 2025 14:03:10 -0600 Subject: [PATCH] Added comment for future RS endpoints Co-Authored-By: Sylvie <38440028+somesylvie@users.noreply.github.com> Co-Authored-By: halprin Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com> Co-Authored-By: Bella L. Quintero <96704946+pluckyswan@users.noreply.github.com> --- .../cdc/trustedintermediary/etor/EtorDomainRegistration.java | 2 ++ 1 file changed, 2 insertions(+) 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