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 2018/01/29 23:32:27 UTC
[isis] branch maint-1.16.1 updated (33bd9fd -> 344dcba)
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a change to branch maint-1.16.1
in repository https://gitbox.apache.org/repos/asf/isis.git.
from 33bd9fd ISIS-1851: refine the algorithm for dynamically hiding property groups with 'nothing' in them
add 1f9dba5 ISIS-1825: uses thread local to pass rendering context up to the scalar panel so that it, in turn, can correctly report on where it is being rendered.
add 00fe078 ISIS-1569: adds CommandService2 as an extension
add e866c71 ISIS-1569: by way of tidy-up, just removes unused injected ClockService from CommandServiceDefault
add f2da845 ISIS-1831: adds a guard in exception handler of a RuntimeException (REST API) to avoid throwing an NPE there.
add 2e4e9b9 ISIS-1569: removes CommandService2, not required after all.
add 27156fe ISIS-1569: extends cmd-1.3.xsd to introduce a new CommandsDto (note the plural) as a sequence of CommandDto's
add 099bbd6 ISIS-1569: adds a convenience Util class for ContentMappingService to remove boilerplate in subclass implementations (parsing the acceptable media types).
add e1283fa ISIS-1569: defines CommandWithDto as an optional interface for Command SPI implementations to have their Command's implement (translatable into a CommandDto) along with out-of-the-box ContentMapingService to convert these into CommandsDto structure.
add da6ece6 ISIS-1569: extends cmd and ixn schemas to allow userData to be specified, and moves the new CommandsDto into the new version of cmd.xsd also.
add a5eb0d8 ISIS-1569: adds guard to ensure that BackgroundCommand#startedAt is always populated.
add dda922c ISIS-1835: catches any type of exception in order to report a problem (an NPE was being thrown if the file wasn't present, rather than an IOException)
add 0c2a2a0 ISIS-1569: adds in 'REPLAYABLE' as a new Command#ExecuteIn
add ad841f9 ISIS-1836: removes chance of an NPE in the RO mapper for an exception (which was in turn resulting in a 500 rather than 422 when invoked an action with an incorrect parameter argument).
add 001ed09 ISIS-1569: undeprecates Command#getStartedAt and Command#getCompletedAt
add 24dcfa5 ISIS-1569: adds timings to CommandsDto, so less verbose and easier to read XML
add 9020b72 ISIS-1569: updates to XSDs, make sure the version defaultsb are correct.
add 50fa124 ISIS-1569: removes unused and accidentally committed element in cmd-1.4.xsd
add a868fa9 ISIS-1569: updates XSDs for docs, and adds in the historical previous versions also.
add 82ef3b8 ISIS-1569: updates docs for CommandService and cmd schema
add 1cdd64a ISIS-1569: updates docs for ContentMappingService, default implementations for Command(s)Dto
add b56a68e ISIS-1853: extends CommandDtoUtils to support colleciton args, and similarly AbstractIsisSessionTemplate.
add 6e96761 ISIS-1569: introduces a new ExecuteIn#EXCLUDED
add 2cf72b4 ISIS-1569: extends BackgroundCommandExecution so that stops execution of replayable commands once at least one has failed.
add f504860 ISIS-1569: fixes logic for background command execution, to stop replaying if hit exception
add 48ea481 ISIS-1569: adds support for @Action(commandWithDtoProcessor=...) and @Property(commandWithDtoProcessor=....)
add dfe09c4 ISIS-1569: various fixes for ContentMappingService (while manual testing of replication)
add 0329099 ISIS-1569: simplies BackgroundCommandExecution so can be subclassed with different "OnExecutionPolicy" modes
add ce192de ISIS-1569: renames MetaModelService5 API from commandDtoProcessorFor() to commandWithDtoProcessorFor()
add 19dfb53 ISIS-1569: fixes issue to fail-fast.
add 20458aa ISIS-1822: fixes NPE if encounters non-existent action in menubars.layout.xml
add 85ef278 ISIS-1569: also catches exception when attempt to commit.
add 9996eab ISIS-1569: renames CommandWithDtoProcessor to CommandDtoProcessor ...
new 344dcba Merge branch 'ISIS-1569-replay-commands' into maint-1.16.1
The 1 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/asciidoc/guides/rgant/_rgant-Action.adoc | 6 +
.../guides/rgant/_rgant-Action_command.adoc | 148 ++++++++++++++--
.../asciidoc/guides/rgant/_rgant-Property.adoc | 28 +++
.../guides/rgant/_rgant-Property_command.adoc | 191 +++++++++++++++++++++
.../asciidoc/guides/rgcms/_rgcms_schema-cmd.adoc | 53 ++++--
.../guides/rgcms/_rgcms_schema-common.adoc | 77 ++++++++-
...rgsvc_application-layer-spi_CommandService.adoc | 39 ++---
.../_rgsvc_metadata-api_MetamodelService.adoc | 38 ++--
...esentation-layer-spi_ContentMappingService.adoc | 53 +++---
.../src/main/asciidoc}/schema/chg/chg-1.1.xsd | 2 +-
.../src/main/asciidoc/schema/chg/chg.xsd | 6 +-
.../asciidoc/schema/cmd/{cmd.xsd => cmd-1.2.xsd} | 10 +-
.../src/main/asciidoc}/schema/cmd/cmd-1.3.xsd | 2 +-
.../src/main/asciidoc/schema/cmd/cmd-1.4.xsd | 39 ++++-
.../src/main/asciidoc/schema/cmd/cmd.xsd | 51 +++++-
.../main/asciidoc}/schema/common/common-1.1.xsd | 2 +-
.../src/main/asciidoc/schema/common/common.xsd | 19 +-
.../schema/ixn/{ixn-1.0.xsd => ixn-1.1.xsd} | 10 +-
.../src/main/asciidoc}/schema/ixn/ixn-1.2.xsd | 2 +-
.../src/main/asciidoc/schema/ixn/ixn-1.3.xsd | 6 +-
.../src/main/asciidoc/schema/ixn/ixn.xsd | 14 +-
.../org/apache/isis/applib/PropertyResource.java | 5 +-
.../org/apache/isis/applib/annotation/Action.java | 22 +++
.../org/apache/isis/applib/annotation/Command.java | 21 ++-
.../isis/applib/annotation/CommandExecuteIn.java | 26 ++-
.../apache/isis/applib/annotation/Property.java | 21 +++
.../isis/applib/conmap/ContentMappingService.java | 27 +++
.../conmap/ContentMappingServiceForCommandDto.java | 84 +++++++++
.../ContentMappingServiceForCommandsDto.java | 91 ++++++++++
.../isis/applib/services/command/Command.java | 41 ++++-
.../CommandDtoProcessor.java} | 41 ++---
.../CommandDtoProcessorForActionAbstract.java} | 34 ++--
.../CommandDtoProcessorForPropertyAbstract.java} | 18 +-
.../CommandWithDto.java} | 11 +-
.../MetaModelService5.java} | 11 +-
.../apache/isis/schema/utils/CommonDtoUtils.java | 46 ++++-
.../action/ActionAnnotationFacetFactory.java | 5 +-
.../command/CommandFacetForActionAnnotation.java | 29 +++-
...ommandFacetForActionAnnotationAsConfigured.java | 7 +-
.../command/CommandFacetForCommandAnnotation.java | 14 +-
.../command/CommandFacetFromConfiguration.java | 16 +-
.../facets/actions/command/CommandFacet.java | 2 +
.../actions/command/CommandFacetAbstract.java | 50 +++++-
.../MustSatisfySpecificationFacetAbstract.java | 20 ++-
...onFacetForMustSatisfyAnnotationOnParameter.java | 8 +-
...fySpecificationFacetForParameterAnnotation.java | 11 +-
.../property/PropertyAnnotationFacetFactory.java | 3 +-
.../command/CommandFacetForPropertyAnnotation.java | 30 +++-
...mandFacetForPropertyAnnotationAsConfigured.java | 5 +-
...tySetterOrClearFacetForDomainEventAbstract.java | 5 +-
...ionFacetForMustSatisfyAnnotationOnProperty.java | 9 +-
...sfySpecificationFacetForPropertyAnnotation.java | 11 +-
.../services/appfeat/ApplicationFeatureId.java | 21 +++
.../metamodel/MetaModelServiceDefault.java | 34 +++-
.../core/metamodel/spec/ObjectSpecification.java | 3 +
.../specimpl/ObjectSpecificationAbstract.java | 14 ++
.../testspec/ObjectSpecificationStub.java | 14 ++
.../background/BackgroundCommandExecution.java | 170 +++++++++++++-----
.../services/command/CommandServiceDefault.java | 4 -
.../AbstractIsisSessionTemplate.java | 23 +++
core/schema/pom.xml | 4 +-
.../resources/org/apache/isis/schema/bindings.xml | 8 +-
.../org/apache/isis/schema/chg/chg-1.1.xsd | 2 +-
.../isis/schema/cmd/{cmd-1.3.xsd => cmd-1.4.xsd} | 39 ++++-
.../org/apache/isis/schema/common/common-1.1.xsd | 30 +++-
.../isis/schema/ixn/{ixn-1.2.xsd => ixn-1.3.xsd} | 6 +-
.../ExceptionMapperForRuntimeException.java | 13 +-
.../server/mappers/entity/ExceptionDetail.java | 2 +-
.../serviceactions/ServiceActionUtil.java | 4 +
.../ajaxtable/IsisAjaxFallbackDataTable.java | 15 +-
.../components/scalars/ScalarPanelAbstract2.java | 24 ++-
71 files changed, 1588 insertions(+), 362 deletions(-)
create mode 100644 adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-Property_command.adoc
copy {core/schema/src/main/resources/org/apache/isis => adocs/documentation/src/main/asciidoc}/schema/chg/chg-1.1.xsd (95%)
copy adocs/documentation/src/main/asciidoc/schema/cmd/{cmd.xsd => cmd-1.2.xsd} (95%)
copy {core/schema/src/main/resources/org/apache/isis => adocs/documentation/src/main/asciidoc}/schema/cmd/cmd-1.3.xsd (99%)
copy core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.3.xsd => adocs/documentation/src/main/asciidoc/schema/cmd/cmd-1.4.xsd (80%)
copy {core/schema/src/main/resources/org/apache/isis => adocs/documentation/src/main/asciidoc}/schema/common/common-1.1.xsd (99%)
copy adocs/documentation/src/main/asciidoc/schema/ixn/{ixn-1.0.xsd => ixn-1.1.xsd} (97%)
copy {core/schema/src/main/resources/org/apache/isis => adocs/documentation/src/main/asciidoc}/schema/ixn/ixn-1.2.xsd (99%)
copy core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.2.xsd => adocs/documentation/src/main/asciidoc/schema/ixn/ixn-1.3.xsd (97%)
create mode 100644 core/applib/src/main/java/org/apache/isis/applib/conmap/ContentMappingServiceForCommandDto.java
create mode 100644 core/applib/src/main/java/org/apache/isis/applib/conmap/ContentMappingServiceForCommandsDto.java
copy core/applib/src/main/java/org/apache/isis/applib/services/{config/ConfigurationService.java => command/CommandDtoProcessor.java} (52%)
copy core/{metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/domainobject/Util.java => applib/src/main/java/org/apache/isis/applib/services/command/CommandDtoProcessorForActionAbstract.java} (50%)
copy core/applib/src/{test/java/org/apache/isis/applib/services/command/CommandDefaultTest.java => main/java/org/apache/isis/applib/services/command/CommandDtoProcessorForPropertyAbstract.java} (63%)
copy core/applib/src/main/java/org/apache/isis/applib/services/{urlencoding/UrlEncodingService.java => command/CommandWithDto.java} (82%)
copy core/applib/src/main/java/org/apache/isis/applib/services/{acceptheader/AcceptHeaderService.java => metamodel/MetaModelService5.java} (78%)
rename core/schema/src/main/resources/org/apache/isis/schema/cmd/{cmd-1.3.xsd => cmd-1.4.xsd} (80%)
rename core/schema/src/main/resources/org/apache/isis/schema/ixn/{ixn-1.2.xsd => ixn-1.3.xsd} (97%)
--
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.
[isis] 01/01: Merge branch 'ISIS-1569-replay-commands' into
maint-1.16.1
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch maint-1.16.1
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 344dcba43d2b43bd09d7b88627ad8df2df8c5d16
Merge: 33bd9fd 9996eab
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Jan 29 23:23:03 2018 +0000
Merge branch 'ISIS-1569-replay-commands' into maint-1.16.1
.../main/asciidoc/guides/rgant/_rgant-Action.adoc | 6 +
.../guides/rgant/_rgant-Action_command.adoc | 148 ++++++++++++++--
.../asciidoc/guides/rgant/_rgant-Property.adoc | 28 +++
.../guides/rgant/_rgant-Property_command.adoc | 191 +++++++++++++++++++++
.../asciidoc/guides/rgcms/_rgcms_schema-cmd.adoc | 53 ++++--
.../guides/rgcms/_rgcms_schema-common.adoc | 77 ++++++++-
...rgsvc_application-layer-spi_CommandService.adoc | 39 ++---
.../_rgsvc_metadata-api_MetamodelService.adoc | 38 ++--
...esentation-layer-spi_ContentMappingService.adoc | 53 +++---
.../src/main/asciidoc}/schema/chg/chg-1.1.xsd | 2 +-
.../src/main/asciidoc/schema/chg/chg.xsd | 6 +-
.../asciidoc/schema/cmd/{cmd.xsd => cmd-1.2.xsd} | 10 +-
.../src/main/asciidoc}/schema/cmd/cmd-1.3.xsd | 2 +-
.../src/main/asciidoc/schema/cmd/cmd-1.4.xsd | 39 ++++-
.../src/main/asciidoc/schema/cmd/cmd.xsd | 51 +++++-
.../main/asciidoc}/schema/common/common-1.1.xsd | 2 +-
.../src/main/asciidoc/schema/common/common.xsd | 19 +-
.../asciidoc/schema/ixn/{ixn.xsd => ixn-1.1.xsd} | 10 +-
.../src/main/asciidoc}/schema/ixn/ixn-1.2.xsd | 2 +-
.../src/main/asciidoc/schema/ixn/ixn-1.3.xsd | 6 +-
.../src/main/asciidoc/schema/ixn/ixn.xsd | 14 +-
.../org/apache/isis/applib/PropertyResource.java | 5 +-
.../org/apache/isis/applib/annotation/Action.java | 22 +++
.../org/apache/isis/applib/annotation/Command.java | 21 ++-
.../isis/applib/annotation/CommandExecuteIn.java | 26 ++-
.../apache/isis/applib/annotation/Property.java | 21 +++
.../isis/applib/conmap/ContentMappingService.java | 27 +++
.../conmap/ContentMappingServiceForCommandDto.java | 84 +++++++++
.../ContentMappingServiceForCommandsDto.java | 91 ++++++++++
.../isis/applib/services/command/Command.java | 41 ++++-
.../command/CommandDtoProcessor.java} | 30 +++-
.../CommandDtoProcessorForActionAbstract.java | 41 +++++
.../CommandDtoProcessorForPropertyAbstract.java} | 28 +--
.../applib/services/command/CommandWithDto.java | 26 +++
.../metamodel/MetaModelService5.java} | 14 +-
.../apache/isis/schema/utils/CommonDtoUtils.java | 46 ++++-
.../action/ActionAnnotationFacetFactory.java | 5 +-
.../command/CommandFacetForActionAnnotation.java | 29 +++-
...ommandFacetForActionAnnotationAsConfigured.java | 7 +-
.../command/CommandFacetForCommandAnnotation.java | 14 +-
.../command/CommandFacetFromConfiguration.java | 16 +-
.../facets/actions/command/CommandFacet.java | 2 +
.../actions/command/CommandFacetAbstract.java | 50 +++++-
.../MustSatisfySpecificationFacetAbstract.java | 20 ++-
...onFacetForMustSatisfyAnnotationOnParameter.java | 8 +-
...fySpecificationFacetForParameterAnnotation.java | 11 +-
.../property/PropertyAnnotationFacetFactory.java | 3 +-
.../command/CommandFacetForPropertyAnnotation.java | 30 +++-
...mandFacetForPropertyAnnotationAsConfigured.java | 5 +-
...tySetterOrClearFacetForDomainEventAbstract.java | 5 +-
...ionFacetForMustSatisfyAnnotationOnProperty.java | 9 +-
...sfySpecificationFacetForPropertyAnnotation.java | 11 +-
.../services/appfeat/ApplicationFeatureId.java | 21 +++
.../metamodel/MetaModelServiceDefault.java | 34 +++-
.../core/metamodel/spec/ObjectSpecification.java | 3 +
.../specimpl/ObjectSpecificationAbstract.java | 14 ++
.../testspec/ObjectSpecificationStub.java | 14 ++
.../background/BackgroundCommandExecution.java | 170 +++++++++++++-----
.../services/command/CommandServiceDefault.java | 4 -
.../AbstractIsisSessionTemplate.java | 23 +++
core/schema/pom.xml | 4 +-
.../resources/org/apache/isis/schema/bindings.xml | 8 +-
.../org/apache/isis/schema/chg/chg-1.1.xsd | 2 +-
.../isis/schema/cmd/{cmd-1.3.xsd => cmd-1.4.xsd} | 39 ++++-
.../org/apache/isis/schema/common/common-1.1.xsd | 30 +++-
.../isis/schema/ixn/{ixn-1.2.xsd => ixn-1.3.xsd} | 6 +-
.../ExceptionMapperForRuntimeException.java | 13 +-
.../server/mappers/entity/ExceptionDetail.java | 2 +-
.../serviceactions/ServiceActionUtil.java | 4 +
.../ajaxtable/IsisAjaxFallbackDataTable.java | 15 +-
.../components/scalars/ScalarPanelAbstract2.java | 24 ++-
71 files changed, 1639 insertions(+), 335 deletions(-)
--
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.