Before launch tasks should use credentials from spring profile properties

By default before launch are the tasks performed to

  • Check Jmix Database
  • Check Liquibase Changelog Includes

At least for Jmix database check the credentials of standard application.properties are used.

This leads us to maintain credentials for development database in this properties and try not to commit this credentials to Git. While we maintain a second application-dev.properties with the same credentials that is excluded by .gitignore and that is actually used at application startup.

Would it be possible to use the credentials from the application-dev.properties if the according spring profile is configured?

Hi,
I think your problem is already described in this ticket: https://youtrack.jmix.io/issue/JST-4135/Support-applicationproperties-from-profiles, isn’t it? It will be available in release 2.1.
Best regards,
Mikhail

1 Like

It will be available in release 2.1.

That are great news! Thank you!

1 Like