/
SPIKE: [MODINREACH-22] Verify Inventory Domain Events Published for Remote Storage and Elasticsearch Can be Used to Trigger Updates to Bibs and Items

SPIKE: [MODINREACH-22] Verify Inventory Domain Events Published for Remote Storage and Elasticsearch Can be Used to Trigger Updates to Bibs and Items

Domain Events producers: mod-inventory-storage

Produce: 

Domain Events for CRUD.


TypeNameComment

Object (Item/Instance)oldItem
the instance/item before update or delete

Object (Item/Instance)newItem
the instance/item after update or create

DomainEventType typeValues: CREATE, DELETE, UPDATE

Stringtenant

Object attributes defined by schema. Also Object  contains "instanceId" String attribute.


DomainEventType


TypeNameComment

enum
Values: UPDATE, DELETE, CREATE, DELETE_ALL


Kafka Topics: inventory.instance, inventory.item, inventory.holdings-record.


Domain Events for "Delete All"


TypeNameComment

StringTypeValues: DELETE_ALL

StringTenant

Partition key: 00000000-0000-0000-0000-000000000000


Domain Events for "Reindex of instances"


TypeNameComment

StringTypeValues: REINDEX

StringTenant
x-okapi-tenant: <tenant-id>
x-okapi-url: <okapi-url>

Related content