You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/12/03 12:29:49 UTC

[isis-app-helloworld] 01/02: changes application settings to kebab-case.

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-app-helloworld.git

commit b579c1e00ea68fa7be6cc586c6460a15aaee6cf7
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Dec 3 12:29:19 2019 +0000

    changes application settings to kebab-case.
---
 src/main/resources/application.yml               | 32 ++++++++++++++----------
 src/main/resources/config/application.properties |  5 ++++
 2 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index bb17540..374393f 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -8,15 +8,14 @@ isis:
     explicit-annotations:
       action: true
     validator:
-      allowDeprecated: false
-      noParamsOnly: true
-      explicitObjectType: true
-      serviceActionsOnly: true
-
-      mixinsOnly: true
+      allow-deprecated: false
+      no-params-only: true
+      explicit-object-type: true
+      service-actions-only: true
+      mixins-only: true
 
     facet:
-      cssClassFa:
+      css-class-fa:
         patterns:
           new.*:fa-plus,\
           add.*:fa-plus-square,\
@@ -26,7 +25,7 @@ isis:
           find.*:fa-search,\
           list.*:fa-list
 
-      cssClass:
+      css-class:
         patterns:
           delete.*:btn-danger
 
@@ -36,9 +35,9 @@ isis:
   viewer:
     wicket:
       application:
-        menubarsLayoutXml: domainapp/webapp/application/menubars.layout.xml
-        brandLogoHeader: /images/apache-isis/logo-48x48.png
-        faviconUrl: /images/favicon.png
+        menubars-layout-xml: domainapp/webapp/application/menubars.layout.xml
+        brand-logo-header: /images/apache-isis/logo-48x48.png
+        favicon-url: /images/favicon.png
         name: Hello World App
         css: css/application.css
         js: scripts/application.js
@@ -56,12 +55,18 @@ isis:
         showChooser: true
         enabled: Cosmo,Flatly,Darkly,Sandstone,United
 
-      maxTitleLengthInStandaloneTables: 0
-      maxTitleLengthInParentedTables: 0
+      max-title-length-in-standalone-tables: 0
+      max-title-length-in-parented-tables: 0
+
+      development-utilities:
+        enable: true
+
 
   persistor:
     datanucleus:
       impl:
+        # note that properties under 'isis.persistor.datanucleus.impl' are passed through directly
+        # to DataNucleus, and must use camelCase rather than kebab-case
         datanucleus:
           schema:
             validateTables: true
@@ -75,6 +80,7 @@ isis:
             level2:
               type: none
               mode: ENABLE_SELECTIVE
+
 spring:
   banner:
     location: banner.txt
diff --git a/src/main/resources/config/application.properties b/src/main/resources/config/application.properties
index cb0aeef..80ff092 100644
--- a/src/main/resources/config/application.properties
+++ b/src/main/resources/config/application.properties
@@ -6,6 +6,11 @@
 #
 # See also /application.yml
 #
+
+
+# note that properties under 'isis.persistor.datanucleus.impl' are passed through directly
+# to DataNucleus, and must use camelCase rather than kebab-case
+
 isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionURL = jdbc:h2:mem:test
 isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionDriverName = org.h2.Driver
 isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionUserName = sa