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:33:03 UTC

[isis-app-simpleapp] 04/05: 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-simpleapp.git

commit bd907db75def2cc2cb225ae262fe132f8bcbb40b
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Dec 3 12:32:30 2019 +0000

    changes application settings to kebab-case.
---
 webapp/src/main/resources/application.yml          | 37 +++++++++++-----------
 .../main/resources/config/application.properties   |  7 +++-
 2 files changed, 25 insertions(+), 19 deletions(-)

diff --git a/webapp/src/main/resources/application.yml b/webapp/src/main/resources/application.yml
index 94e008f..9c055d4 100644
--- a/webapp/src/main/resources/application.yml
+++ b/webapp/src/main/resources/application.yml
@@ -5,15 +5,17 @@
 #
 isis:
   reflector:
+    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,\
@@ -62,14 +64,12 @@ isis:
           approve.*:fa-thumbs-o-up,\
           decline.*:fa-thumbs-o-down
 
-      cssClass:
+      css-class:
         patterns:
           delete.*:btn-danger,\
           discard.*:btn-warning,\
           remove.*:btn-warning
 
-    explicitAnnotations:
-      action: true
 
   objects:
     editing: false
@@ -86,7 +86,7 @@ isis:
       properties: all
 
     injector:
-      setPrefix: false
+      set-prefix: false
 
   value:
     format:
@@ -95,9 +95,9 @@ isis:
   viewer:
     wicket:
       application:
-        menubarsLayoutXml: domainapp/webapp/application/layout/menubars.layout.xml
-        brandLogoHeader: /images/apache-isis/logo-48x48.png
-        faviconUrl: /images/favicon.png
+        menubars-layout-xml: domainapp/webapp/application/layout/menubars.layout.xml
+        brand-logo-header: /images/apache-isis/logo-48x48.png
+        favicon-url: /images/favicon.png
         name: Simple App
         css: css/application.css
         js: scripts/application.js
@@ -115,15 +115,18 @@ isis:
         showChooser: true
         enabled: bootstrap-theme, Cerulean, Cosmo, Cyborg, Darkly, Flatly, Journal, Lumen, Paper, Readable, Sandstone, Simplex, Slate, Spacelab, Superhero, United, Yeti
 
-      maxTitleLengthInStandaloneTables: 0
-      maxTitleLengthInParentedTables: 0
+      max-title-length-in-standalone-tables: 0
+      max-title-length-in-parented-tables: 0
 
-      developmentUtilities:
+      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
@@ -138,8 +141,6 @@ isis:
               type: none
               mode: ENABLE_SELECTIVE
 
-      standaloneCollection:
-        bulkLoad: false
 spring:
   banner:
     location: banner.txt
diff --git a/webapp/src/main/resources/config/application.properties b/webapp/src/main/resources/config/application.properties
index 13ec292..80ff092 100644
--- a/webapp/src/main/resources/config/application.properties
+++ b/webapp/src/main/resources/config/application.properties
@@ -6,7 +6,12 @@
 #
 # 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
-isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionPassword =
\ No newline at end of file
+isis.persistor.datanucleus.impl.javax.jdo.option.ConnectionPassword =