Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 551 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 551 Bytes

properties-reader-demo (Spring property/YAML file read and bind to POJO)

Implementation Details

Demo application to test binding of Spring properties (complex ones) to POJO.

Custom YamlPropertySourceFactory had to be developed to bind properties from YAML file using @PropertySource.

Run the test cases TestTenantConfigSetup and TestTenantConfigMkYongSetup to check things out.

Took help from the article by mkyong Spring Boot @ConfigurationProperties example