Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Configuration properties must be defined and accessed using lower-cas…
Browse files Browse the repository at this point in the history
…e kebab format jmix-framework/jmix#239

Configuration properties names changed to kebab case in all *.properties files;
Configuration properties names changed to kebab case everywhere property value is accessed from the code;
application.properties in new project templates now use kebab case property names;
  • Loading branch information
gorbunkov committed Sep 30, 2021
1 parent b1f6477 commit 72af7b1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jmix.ui.menuConfig = ${project_rootPath}/menu.xml
jmix.ui.menu-config = ${project_rootPath}/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ def dbName = project_idPrefix?.trim() ? project_idPrefix : project_classPrefix.t
main.datasource.username = sa
main.datasource.password =

jmix.ui.loginScreenId = ${normalizedPrefix_underscore}LoginScreen
jmix.ui.mainScreenId = ${normalizedPrefix_underscore}MainScreen
jmix.ui.menuConfig = ${project_rootPath}/menu.xml
jmix.ui.compositeMenu = true
jmix.ui.login-screen-id = ${normalizedPrefix_underscore}LoginScreen
jmix.ui.main-screen-id = ${normalizedPrefix_underscore}MainScreen
jmix.ui.menu-config = ${project_rootPath}/menu.xml
jmix.ui.composite-menu = true
<% if(binding.hasVariable("project_locales")) {%>
jmix.core.availableLocales = ${project_locales.collect {it.code}.join(',')}<%}%>
jmix.core.available-locales = ${project_locales.collect {it.code}.join(',')}<%}%>

logging.level.org.atmosphere = warn
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ def dbName = project_idPrefix?.trim() ? project_idPrefix : project_classPrefix.t
main.datasource.username = sa
main.datasource.password =

jmix.ui.loginScreenId = ${normalizedPrefix_underscore}LoginScreen
jmix.ui.mainScreenId = ${normalizedPrefix_underscore}MainScreen
jmix.ui.menuConfig = ${project_rootPath}/menu.xml
jmix.ui.compositeMenu = true
jmix.ui.login-screen-id = ${normalizedPrefix_underscore}LoginScreen
jmix.ui.main-screen-id = ${normalizedPrefix_underscore}MainScreen
jmix.ui.menu-config = ${project_rootPath}/menu.xml
jmix.ui.composite-menu = true
<% if(binding.hasVariable("project_locales")) {%>
jmix.core.availableLocales = ${project_locales.collect {it.code}.join(',')}<%}%>
jmix.core.available-locales = ${project_locales.collect {it.code}.join(',')}<%}%>

logging.level.org.atmosphere = warn

0 comments on commit 72af7b1

Please sign in to comment.