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:48 UTC

[isis-app-helloworld] branch master updated (488f7fe -> f761641)

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

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


    from 488f7fe  tiny update to README
     new b579c1e  changes application settings to kebab-case.
     new f761641  fixes link to swagger UI

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/main/resources/application.yml               | 32 ++++++++++++++----------
 src/main/resources/config/application.properties |  5 ++++
 src/main/resources/static/index.html             |  3 +--
 3 files changed, 25 insertions(+), 15 deletions(-)


[isis-app-helloworld] 02/02: fixes link to swagger UI

Posted by da...@apache.org.
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 f761641fede1b032b2f5ca310b7d0c5f711208b4
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Dec 3 12:29:33 2019 +0000

    fixes link to swagger UI
---
 src/main/resources/static/index.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html
index 76f6a51..3f66a40 100644
--- a/src/main/resources/static/index.html
+++ b/src/main/resources/static/index.html
@@ -58,7 +58,7 @@ th, td {
                 <li>
                     <p>
                         <b>
-                            <a href="swagger-ui/index.template.html">swagger-ui/</a>
+                            <a href="swagger-ui/index.thtml">swagger-ui/</a>
                         </b>
                     </p>
                     <p>
@@ -68,7 +68,6 @@ th, td {
                     </p>
                     <p>The RESTful API can return both simple representations and also richer hypermedia representations
                         that are conformant with the <a href="http://restfulobjects.org"  target="_blank">Restful Objects</a> spec.
-                        The HTTP <code>Accept</code> header is used to select which representation should be generated.
                     </p>
                 </li>
             </ul>


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

Posted by da...@apache.org.
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