You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/02/10 20:13:00 UTC

[isis] 01/01: Merge pull request #373 from apache/ISIS-2502-ex.recog

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit d14adde6b82c8c0c02d7195490cc99dc1faff199
Merge: 9f78203 c93f6f9
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Feb 10 21:12:48 2021 +0100

    Merge pull request #373 from apache/ISIS-2502-ex.recog
    
    ISIS-2502: working on low level issues which Exception Recognizers depend on

 .gitignore                                         |   1 +
 .../applib/services/eventbus/EventBusService.adoc  |  17 +-
 .../services/exceprecog/ExceptionRecognizer.adoc   |   6 +-
 .../exceprecog/ExceptionRecognizerService.adoc     |   2 +
 .../publishing/spi/EntityChangesSubscriber.adoc    |  10 +-
 .../spi/EntityPropertyChangeSubscriber.adoc        |  10 +-
 .../modules/generated/pages/system-overview.adoc   | 249 ++++-----------------
 .../hooks/examples_and_usage.adoc                  |   3 +
 .../hooks/examples_and_usage.adoc                  |   3 +
 .../EventBusService/hooks/examples_and_usage.adoc  |  18 +-
 .../applib-svc/pages/ExceptionRecognizer.adoc      | 130 +----------
 .../hooks/examples_and_usage.adoc                  |  21 ++
 .../ExceptionRecognizer/hooks/implementation.adoc  |  51 +++++
 .../pages/ExceptionRecognizerService.adoc          |  30 +--
 .../hooks/implementation.adoc                      |   2 +
 .../applib-svc/pages/ExecutionSubscriber.adoc      | 143 +-----------
 .../hooks/examples_and_usage.adoc                  |  31 +++
 .../ExecutionSubscriber/hooks/implementation.adoc  |  26 ++-
 .../modules/applib-svc/pages/FactoryService.adoc   |  74 +-----
 .../FactoryService/hooks/examples_and_usage.adoc   |  30 +++
 .../pages/FactoryService/hooks/implementation.adoc |   2 +
 .../applib-svc/pages/GridLoaderService.adoc        |  44 +---
 .../GridLoaderService/hooks/implementation.adoc    |   6 +-
 .../isis/applib/services/command/Command.java      |  19 +-
 .../applib/services/eventbus/EventBusService.java  |  11 +
 .../isis/applib/services/exceprecog/Category.java  |  45 ++++
 .../services/exceprecog/ExceptionRecognizer.java   | 115 +---------
 .../exceprecog/ExceptionRecognizerService.java     |   4 +-
 .../applib/services/exceprecog/Recognition.java    | 120 ++++++++++
 .../applib/services/factory/FactoryService.java    |  15 ++
 .../applib/services/grid/GridLoaderService.java    |  27 ++-
 .../services/publishing/spi/EntityChanges.java     |  63 +++++-
 .../publishing/spi/EntityChangesSubscriber.java    |  29 ++-
 .../spi/EntityPropertyChangeSubscriber.java        |  24 +-
 .../publishing/spi/ExecutionSubscriber.java        |  47 +++-
 build-tooling.sh                                   |  32 +++
 .../IsisBeanFactoryPostProcessorForSpring.java     |   5 +
 .../isis/core/config/beans/aoppatch/AopPatch.java  | 103 +++++++++
 .../aoppatch/TransactionInterceptorFactory.java    |  20 +-
 ...ExceptionRecognizerForRecoverableException.java |   5 +-
 .../ExceptionRecognizerServiceDefault.java         |  30 +--
 .../ExceptionRecognizerForDataAccessException.java |   5 +-
 .../ExceptionRecognizerForDataAlreadyExists.java   |  11 +-
 .../impl/ExceptionRecognizerForObjectNotFound.java |   5 +-
 ...ceptionRecognizerForOtherDataAccessProblem.java |  19 +-
 .../ExceptionRecognizerForRelatedDataExists.java   |   5 +-
 .../ExceptionRecognizerForUnableToSaveData.java    |   3 +-
 .../transaction/TransactionServiceSpring.java      |  40 ++--
 .../jdo/datanucleus/IsisModuleJdoDatanucleus.java  |  47 +++-
 .../jdo/datanucleus/dialect/DnJdoDialect.java      |  50 +++--
 .../metamodel/facets/entity/JdoEntityFacet.java    |   3 +-
 persistence/jdo/spring/README.adoc                 |   2 +-
 .../jpa/eclipselink/IsisModuleJpaEclipselink.java  |  99 +++++++-
 preview.sh                                         |  10 +-
 .../isis/testdomain/jdo/JdoInventoryDao.java       |  55 +++++
 .../isis/testdomain/jpa/JpaInventoryDao.java       |  55 +++++
 .../jdo/JdoExceptionTranslationTest.java           |  12 +-
 ...xceptionTranslationTest_usingTransactional.java |  86 +++----
 .../persistence/jdo/_JdoExceptionTranslator.java   |  69 ++++++
 .../testdomain/persistence/jdo/_TestFixtures.java  |   2 +-
 .../jpa/JpaExceptionTranslationTest.java           |  12 +-
 ...xceptionTranslationTest_usingTransactional.java |  70 ++----
 .../persistence/jpa/_JpaExceptionTranslator.java   |  51 +++++
 .../testdomain/persistence/jpa/_TestFixtures.java  |   2 +-
 .../viewer/wicket/ui/errors/ExceptionModel.java    |  22 +-
 .../wicket/ui/panels/FormExecutorDefault.java      |  53 +++--
 .../viewer/integration/WebRequestCycleForIsis.java |  44 ++--
 67 files changed, 1402 insertions(+), 1053 deletions(-)