Skip to content

Commit

Permalink
Finish removing task ID from IngestJobValidatedEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
patchwork01 committed Feb 21, 2025
1 parent 6d20c91 commit 04467c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ public interface IngestJobEvent {
*
* @return the ID, or null if the event did not occur on a task
*/
String getTaskId();
default String getTaskId() {
return null;
}

/**
* Gets the correlation ID for the run of the ingest job.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ public String getJobRunId() {
return jobRunId;
}

public String getTaskId() {
return null;
}

public Instant getValidationTime() {
return validationTime;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ public static Map<String, AttributeValue> createJobValidatedUpdate(
.string(JSON_MESSAGE, event.getJsonMessage())
.number(INPUT_FILES_COUNT, event.getFileCount())
.string(JOB_RUN_ID, event.getJobRunId())
.string(TASK_ID, event.getTaskId())
.build();
}

Expand Down

0 comments on commit 04467c4

Please sign in to comment.