From efe938b626889437aa4ff095dc1f4a7bf1b5f877 Mon Sep 17 00:00:00 2001 From: Jan van Mansum Date: Thu, 14 Nov 2024 18:36:59 +0100 Subject: [PATCH] WIP --- TODO.TXT | 1 + src/main/java/nl/knaw/dans/dvingest/core/DepositTask.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/TODO.TXT b/TODO.TXT index 5b023d5..3a97111 100644 --- a/TODO.TXT +++ b/TODO.TXT @@ -14,6 +14,7 @@ limitations under the License. ==== +- log updateMetadata begin/einde apart. - regel de upload-batch grootte naar beneden als :ZipUploadFilesLimit kleiner is dan de ingest batch grootte - implement replaceFiles in edit - implement providing file metadata diff --git a/src/main/java/nl/knaw/dans/dvingest/core/DepositTask.java b/src/main/java/nl/knaw/dans/dvingest/core/DepositTask.java index 45ef135..39f3e7b 100644 --- a/src/main/java/nl/knaw/dans/dvingest/core/DepositTask.java +++ b/src/main/java/nl/knaw/dans/dvingest/core/DepositTask.java @@ -57,7 +57,9 @@ public void run() { try { String pid = deposit.getUpdatesDataset(); for (DepositBag bag : deposit.getBags()) { + log.info("START processing bag: {}/{}", deposit.getId(), bag); pid = processBag(bag, pid); + log.info("END processing bag: {}/{}", deposit.getId(), bag); } deposit.moveTo(outputDir.resolve("processed")); }