Simple Deprecated Config Warner
Simple implementation for warning about deprecated configuration usage.
Provides centralized logging and tracking of deprecated configuration warnings during the migration period, including properties, profiles, and conditional annotations. Warnings are rate-limited to prevent log spam and can be aggregated for overview.
Constructors
Types
Organized deprecation information by category.
Data class for storing deprecation information.
Categories of deprecation types.
Functions
Clear all warning tracking (mainly for testing purposes).
Get categorized deprecation information for analysis or reporting.
Get the list of deprecated properties/profiles that have been warned about.
Get the count of unique deprecated warnings issued.
Log an aggregated summary of all deprecated configuration usage. Provides a high-level overview with migration details for better user experience.
Issue a warning for deprecated conditional annotation usage.
Issue a warning for deprecated @ConfigurationProperties prefix usage.
Issue a warning for deprecated profile usage. Each unique profile is warned about only once per application lifecycle.
Issue a warning for deprecated property usage. Each unique property is warned about only once per application lifecycle.