paint-brush
How To Extend and Customize Auto-Configuration Classes Provided by Spring Bootby@adgadev
2,762 reads
2,762 reads

How To Extend and Customize Auto-Configuration Classes Provided by Spring Boot

by Adam Gaj3mAugust 31st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Spring boot 2.4 introduced concept of 'profile groups' which allows expanding single profile into multiple sub-profiles. We can use profile groups to map a single profile identifying environment where application is running (dev / stage / prod) to set of features which are enabled at each environment. In order to use profile groups we need to define spring.profiles.group section in application.yml.

Company Mentioned

Mention Thumbnail
featured image - How To Extend and Customize Auto-Configuration Classes Provided by Spring Boot
Adam Gaj HackerNoon profile picture
Adam Gaj

Adam Gaj

@adgadev

Software Engineer

About @adgadev
LEARN MORE ABOUT @ADGADEV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Adam Gaj HackerNoon profile picture
Adam Gaj@adgadev
Software Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite