Profiles are used to divide the application in various parts that can be activated and deactivated.
@Profile attribute can be added to controllers, components and entities, indicating that they will be active only when the profile is.
An active profile can be indicated in a
properties file through the
scorpion.profiles key or by implementing the
ProfilesConfiguration interface in a class marked with
If a file with the profile name and
.properties extension exists in the root directory of the application it will be treated as a configuration file.