Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-687

Publish instance ids to reindex

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 20.0.0
    • Falcon Sprint 109
    • 3
    • Falcon

    Description

      Purpose/Overview:
      In case of breaking changes and hardware issues the index could be be corrupted.
      Requirements/Scope:

      1. There should be endpoint to start reindex (one for all for all type of inventory entities)
      2. All data, that is in database should be indexed.

      Approach:

      • Implement a new endpoint in mod-inventory-storage that will publish all instances/holdings/items to the appropriate Kafka topic. Holdings should be ordered by instance id, items by holdings id. The domain events should have REINDEX event type.

      Acceptance criteria:

      • Inventory data (instance, holdings and items) are indexed on initial load
      • Count or records published to Kafka is provided

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bohdan-suprun Bohdan Suprun
                bohdan-suprun Bohdan Suprun
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases