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 2021/02/16 09:06:43 UTC

[isis-app-simpleapp] branch jpa updated (aab8870 -> 3ee5418)

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

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


    from aab8870  framework packages had been renamed
     new 87d496a  ISIS-2444: docs for TableColumnOrderService
     new 3ee5418  uses TransactionalProcessor service rather than TransactionService

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:
 .../main/java/domainapp/webapp/custom/restapi/CustomController.java | 6 +++---
 .../webapp/integtests/metamodel/SwaggerExport_IntegTest.java        | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)


[isis-app-simpleapp] 01/02: ISIS-2444: docs for TableColumnOrderService

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 87d496af00a807cdd6bea578a3883f18827762b7
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Sun Feb 14 18:06:01 2021 +0000

    ISIS-2444: docs for TableColumnOrderService
    
    ... and fix for swagger integ test
---
 .../webapp/integtests/metamodel/SwaggerExport_IntegTest.java          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webapp/src/test/java/domainapp/webapp/integtests/metamodel/SwaggerExport_IntegTest.java b/webapp/src/test/java/domainapp/webapp/integtests/metamodel/SwaggerExport_IntegTest.java
index 391bc80..bbe3c92 100644
--- a/webapp/src/test/java/domainapp/webapp/integtests/metamodel/SwaggerExport_IntegTest.java
+++ b/webapp/src/test/java/domainapp/webapp/integtests/metamodel/SwaggerExport_IntegTest.java
@@ -21,7 +21,7 @@ import domainapp.webapp.integtests.ApplicationIntegTestAbstract;
         IsisModuleViewerRestfulObjectsJaxrsResteasy4.class
 })
 class SwaggerExport_IntegTest extends ApplicationIntegTestAbstract {
-    
+
     @Inject ServiceRegistry serviceRegistry;
 
     @Test
@@ -29,4 +29,4 @@ class SwaggerExport_IntegTest extends ApplicationIntegTestAbstract {
         val swaggerExporter = new SwaggerExporter(serviceRegistry);
         swaggerExporter.export(Visibility.PRIVATE, Format.JSON);
     }
-}
\ No newline at end of file
+}


[isis-app-simpleapp] 02/02: uses TransactionalProcessor service rather than TransactionService

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3ee54185500b6d57579786b3fcbfb2410618067f
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Feb 16 08:59:35 2021 +0000

    uses TransactionalProcessor service rather than TransactionService
---
 .../main/java/domainapp/webapp/custom/restapi/CustomController.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/webapp/src/main/java/domainapp/webapp/custom/restapi/CustomController.java b/webapp/src/main/java/domainapp/webapp/custom/restapi/CustomController.java
index 887fa9f..53f86bc 100644
--- a/webapp/src/main/java/domainapp/webapp/custom/restapi/CustomController.java
+++ b/webapp/src/main/java/domainapp/webapp/custom/restapi/CustomController.java
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RestController;
 
 import org.apache.isis.applib.services.user.UserMemento;
-import org.apache.isis.applib.services.xactn.TransactionService;
+import org.apache.isis.applib.services.xactn.TransactionalProcessor;
 import org.apache.isis.commons.functional.Result;
 import org.apache.isis.core.interaction.session.InteractionFactory;
 import org.apache.isis.core.security.authentication.Authentication;
@@ -24,7 +24,7 @@ import domainapp.modules.simple.dom.so.SimpleObjects;
 class CustomController {
 
   private final InteractionFactory interactionFactory;
-  private final TransactionService transactionService;
+  private final TransactionalProcessor transactionalProcessor;
   private final SimpleObjects repository;
 
   @GetMapping("/custom/simpleObjects")
@@ -43,6 +43,6 @@ class CustomController {
           final Callable<T> task) {
     return interactionFactory.callAuthenticated(
             authentication,
-            () -> transactionService.callWithinCurrentTransactionElseCreateNew(task));
+            () -> transactionalProcessor.callWithinCurrentTransactionElseCreateNew(task));
   }
 }