Is it possible to create a application.properties
property by condition?
I want to define a filename that should be "default_name_test" if spring.profiles.active=test
, and "default_name" otherwise.
Pseudeocode:
#application.properties:
filename=default_name${spring.profiles.active} = test ? "_test" : "";
Is that possible at all?
Aucun commentaire:
Enregistrer un commentaire