From c95c0adc5f92ee2e9c50af4d51f4a1c25a5848ae Mon Sep 17 00:00:00 2001 From: Bella Luz Quintero Date: Wed, 8 Jan 2025 10:17:24 -0700 Subject: [PATCH] cleanup todos Co-authored-by: Sylvie Co-authored-by: saquino0827 Co-authored-by: GilmoreA6 Co-authored-by: basiliskus <541149+basiliskus@users.noreply.github.com> --- .../rse2e/external/azure/AzureBlobFileFetcher.java | 2 -- .../rse2e/external/azure/AzureBlobOrganizer.java | 4 ---- 2 files changed, 6 deletions(-) diff --git a/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobFileFetcher.java b/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobFileFetcher.java index cb600bd62..f9d7b3e8e 100644 --- a/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobFileFetcher.java +++ b/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobFileFetcher.java @@ -49,7 +49,6 @@ public static FileFetcher getInstance() { return INSTANCE; } - // TODO - we need to modify the guts to only grab the golden or automated path @Override public List fetchFiles() { String rse2ELocalInputFilePath = System.getenv("RSE2E_LOCAL_INPUT_FILE_PATH"); @@ -63,7 +62,6 @@ public List fetchFiles() { LocalDate today = LocalDate.now(TIME_ZONE); String datePrefix = AzureBlobHelper.buildDatePathPrefix(today); - // TODO - update base on AzureBlobOrganizer String pathPrefix = datePrefix + "Automated/"; if (rse2ELocalInputFilePath.contains("GoldenCopy")) { pathPrefix = datePrefix + "GoldenCopy/"; diff --git a/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java b/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java index 30cf05590..0fc5e4231 100644 --- a/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java +++ b/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java @@ -46,10 +46,6 @@ public void organizeAndCleanupBlobsByDate(int retentionDays, ZoneId timeZone) { continue; } - // TODO - separate the content by golden or automated so it can be distinguished - // when its pulled down and modify destinationName to be test folder specific - // possibly use a different receiver and filter on that - String testTypeAndSourceName = "Automated/" + sourceName; if (sourceBlob.getBlobName().contains("GOLDEN-COPY")) { testTypeAndSourceName = "GoldenCopy/" + sourceName;