Skip to content

Commit

Permalink
Update IngestStatus entity in the orchestrator component to include e…
Browse files Browse the repository at this point in the history
…rror messages property
  • Loading branch information
josegar74 committed Oct 16, 2023
1 parent 29d7bd9 commit c6759c5
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package net.geocat.model;


/**
* Ingester process status model.
*/
import java.util.ArrayList;
import java.util.List;

public class IngestStatus {
public String processID;
public String harvesterJobId;
Expand All @@ -14,6 +14,7 @@ public class IngestStatus {
public long numberOfRecordsIngested;
public long numberOfRecordsIndexed;

public List<String> errorMessage = new ArrayList<>();

public String getProcessID() {
return processID;
Expand Down Expand Up @@ -78,4 +79,12 @@ public long getNumberOfRecordsIndexed() {
public void setNumberOfRecordsIndexed(long numberOfRecordsIndexed) {
this.numberOfRecordsIndexed = numberOfRecordsIndexed;
}

public List<String> getErrorMessage() {
return errorMessage;
}

public void setErrorMessage(List<String> errorMessage) {
this.errorMessage = errorMessage;
}
}

0 comments on commit c6759c5

Please sign in to comment.