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