Skip to content

fix @EachProperty env entry lookup for hyphenated prefixes#12419

Merged
yawkat merged 4 commits into
5.0.xfrom
issue10726-5.0.x
Mar 3, 2026
Merged

fix @EachProperty env entry lookup for hyphenated prefixes#12419
yawkat merged 4 commits into
5.0.xfrom
issue10726-5.0.x

Conversation

@yawkat

@yawkat yawkat commented Mar 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Switch the default PropertySourcePropertyResolver#getPropertyEntries(String) catalog from NORMALIZED to GENERATED so environment-variable based keys are discovered consistently.
  • Add a regression test for MICRONAUT_OBJECT_STORAGE_ORACLE_CLOUD_DEFAULT_BUCKET style keys to verify default lookup behavior matches generated entries.
  • Fixes Object Storage doesn't work with environment variables #10726.

@yawkat yawkat requested a review from graemerocher March 2, 2026 08:55
@yawkat yawkat added this to the 5.0.0 milestone Mar 2, 2026
@yawkat yawkat added the type: bug Something isn't working label Mar 2, 2026

@sdelamo sdelamo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI Failed

@yawkat

yawkat commented Mar 2, 2026

Copy link
Copy Markdown
Member Author

Not sure I like the latest version of the fix…

@yawkat yawkat requested a review from graemerocher March 2, 2026 11:01
@graemerocher

Copy link
Copy Markdown
Contributor

need to increase the coverage to cover the different cases

@sonarqubecloud

sonarqubecloud Bot commented Mar 2, 2026

Copy link
Copy Markdown

@yawkat yawkat merged commit de8d160 into 5.0.x Mar 3, 2026
13 of 14 checks passed
@yawkat yawkat deleted the issue10726-5.0.x branch March 3, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object Storage doesn't work with environment variables

3 participants