obiba / mica2

Mica is a web portal for epidemiological study consortia.
http://www.obiba.org/pages/products/mica/
GNU General Public License v3.0
10 stars 15 forks source link

Task/upgrade to spring boot 2 #4369

Closed meek0 closed 1 year ago

kazoompa commented 1 year ago

The bug is not present when installing a DEB pkg, need to see why in dev mode the application.yml in core is not read!

Should be fixed by last push (e703773)

ymarcon commented 1 year ago

But if you remove the config.activate.on-profile in mica-core's application.yml, which profile is used in the DEB pkg?

meek0 commented 1 year ago

spring.config.activate.on-profile is to force a configuration file depending on profile that is used. spring.profiles.<profile_name> is the name of the default profile to be in use. Indeed, if it is not set (either through config or command line) it will default to "prod" as per our ApplicationWebXml.java configuration.