Application.properties
- Profiles can be used to trigger additional property files and can be used in Beans with
@Profile()
so that Spring only loads the Bean when the profile is activated. This can be very useful if you want multiple builds for different microservices.local
andapi
will load bothapplication-api.properties
andapplication-local.properties
- Used if you want to execute a sql script at the start of the program.
- This is a custom property for enabling the conditional config
SchedulingConfig
- The default setting is
servlet
, but we may want a microservice config that isn't a web application.