Skip to content
Snippets Groups Projects

#664 Test JWK Generator

Merged Martin Vogel requested to merge feature/664-test-cert-generator into main
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -59,9 +59,7 @@ public class SendNewSubmissionStrategy {
final SubmissionForPickup announcedSubmission = sender.createSubmission(newSubmission);
final UUID announcedSubmissionId = announcedSubmission.getSubmissionId();
final var startTimeAttachmentUpload = StopWatch.start();
uploadAttachments(encryptedAttachments, announcedSubmissionId);
LOGGER.info("Uploading attachments took {}", StopWatch.stopWithFormattedTime(startTimeAttachmentUpload));
LOGGER.info("Creating metadata");
final Metadata metadata = buildMetadata(sendableSubmission, encryptedAttachments);
@@ -155,7 +153,9 @@ public class SendNewSubmissionStrategy {
LOGGER.info("No attachments to upload");
} else {
LOGGER.info("Uploading {} attachment(s)", attachmentPayloads.size());
final var startTimeAttachmentUpload = StopWatch.start();
attachmentPayloads.forEach(a -> sender.uploadAttachment(submissionId, a.getAttachmentId(), a.getEncryptedData()));
LOGGER.info("Uploading attachments took {}", StopWatch.stopWithFormattedTime(startTimeAttachmentUpload));
}
}
Loading