Skip to content

Commit

Permalink
MODSOURMAN-1246: DI_MARC_FOR_UPDATE_RECEIVED was added
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksandr-Fedasiuk committed Nov 14, 2024
1 parent ccbc8f7 commit 2532019
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static org.folio.rest.jaxrs.model.EntityType.EDIFACT_INVOICE;
import static org.folio.rest.jaxrs.model.JournalRecord.ActionStatus.ERROR;
import static org.folio.rest.jaxrs.model.JournalRecord.ActionType.CREATE;
import static org.folio.rest.jaxrs.model.JournalRecord.ActionType.UPDATE;

import java.util.Arrays;
import java.util.Map;
Expand Down Expand Up @@ -117,6 +118,14 @@ public Optional<JournalParams> getJournalParams(DataImportEventPayload eventPayl
JournalRecord.ActionStatus.COMPLETED));
}
},
DI_MARC_FOR_UPDATE_RECEIVED {
@Override
public Optional<JournalParams> getJournalParams(DataImportEventPayload eventPayload) {
return Optional.of(new JournalParams(UPDATE,
JournalRecord.EntityType.MARC_BIBLIOGRAPHIC,
JournalRecord.ActionStatus.COMPLETED));
}
},
DI_INVENTORY_INSTANCE_CREATED {
@Override
public Optional<JournalParams> getJournalParams(DataImportEventPayload eventPayload) {
Expand Down

0 comments on commit 2532019

Please sign in to comment.