Skip to content

imtiaz-rahi/properties-reader-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published