Consume specification change event

Description

Purpose

In case any part of a specification changed in mod-record-specifications - mod-quick-marc should get an updated version of the specification.

Approach

  1. Subscribe to the specification-storage.specification.updated Kafka topic that contains specificationId and tenantId.

  2. Evict the specification in cache and load a new version of the specification and update it in cache.

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

Activity

Show:

Valery_Pilko August 5, 2024 at 2:39 PM

Verified on Snapshot-2 - works as expected for fields
See attached screencast:

Viacheslav Kolesnyk August 2, 2024 at 9:21 AM

Note for QA on how to test:

  1. call quick marc validation endpoint

  2. update record specification via mod-record-specifications api to have additional field rule

  3. call quick marc validation endpoint to have error returned for a new rule

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 18, 2024 at 6:39 PM
Updated October 31, 2024 at 12:30 PM
Resolved August 8, 2024 at 3:38 PM
TestRail: Cases
TestRail: Runs