From 6fb41f5ac1aa16caed1f796c5d83f722af7386a1 Mon Sep 17 00:00:00 2001 From: halprin Date: Mon, 15 Jan 2024 15:51:03 -0700 Subject: [PATCH] 610: add some comments on where I base the mapping from --- .../etor/metadata/PartnerMetadataOrchestrator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/metadata/PartnerMetadataOrchestrator.java b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/metadata/PartnerMetadataOrchestrator.java index 4878fd304..8de48f715 100644 --- a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/metadata/PartnerMetadataOrchestrator.java +++ b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/metadata/PartnerMetadataOrchestrator.java @@ -225,6 +225,8 @@ PartnerMetadataStatus ourStatusFromReportStreamStatus(String rsStatus) { return PartnerMetadataStatus.PENDING; } + // based off of the Status enum in the SubmissionHistory.kt code in RS + // https://github.com/CDCgov/prime-reportstream/blob/master/prime-router/src/main/kotlin/history/SubmissionHistory.kt return switch (rsStatus) { case "Error", "Not Delivering" -> PartnerMetadataStatus.FAILED; case "Delivered" -> PartnerMetadataStatus.DELIVERED;