[MAGNOLIA-6650] Let DefinitionProvider report the last modification date Created: 28/Apr/16  Updated: 25/May/16  Resolved: 29/Apr/16

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.4.6
Fix Version/s: 5.4.7

Type: Improvement Priority: Neutral
Reporter: Aleksandr Pchelintcev Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing BLOSSOM-237 Adapt to new API in 5.4.7 Closed
dependency
is depended upon by MAGNOLIA-6451 YAML configuration: changes in includ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Sprint: Basel 42
Story Points: 0

 Description   

DefinitionProvider#getLastModified() would report the last time the underlying configuration (and => definition) has changed. This would help the structures which cache definition providers realise where some entries are stale and need to be purged.

  • For the default DefinitionProvider which merely wraps a bean the last mod date would always be equal to the provider's creation date.
  • For more dynamic definition providers which are actively connected to some data source (JCR node, YAML file etc) - the last modification date would be connected to last modification date of a corresponding data source.

Generated at Mon Feb 12 04:16:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.