Copyright (C) 2019-2023 The Open Library Foundation
This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.
This is the Invoice storage module.
NOTE: This module requires postgresql v10 or later
The pattern means that every time when a domain entity is created/updated a message is posted to kafka topic. Currently, domain events are supported for orders, order lines and pieces The events are posted into the following topics:
ACQ_ORDER_CHANGED- for ordersACQ_ORDER_LINE_CHANGED- for order linesACQ_PIECE_CHANGED- for pieces
The event payload has the following structure:
{
"id": "12bb13f6-d0fa-41b5-b0ad-d6561975121b",
"action": "CREATED|UPDATED|DELETED",
"userId": "1d4f3f6-d0fa-41b5-b0ad-d6561975121b",
"eventDate": "2024-11-14T10:00:00.000+0000",
"actionDate": "2024-11-14T10:00:00.000+0000",
"entitySnapshot": { } // entity being either: order, orderLine, piece
}Default value for all partitions is 1. Kafka partition key for all the events is entity id.
See project MODINVOSTO at the FOLIO issue tracker.
Other modules are described, with further FOLIO Developer documentation at dev.folio.org