Clone Tools
  • last updated 12 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
EST-1507: fixes unit test for QueryResultsCache

EST-1507: fixes unit test for QueryResultsCache

ISIS-1414: introduced sequence for chg.xsd so that PublishedObjects can have a sequence; promoted WithTransactionScope interface to applib; QueryResultsCache now implements this interface.

The "transactionId" is really an interaction id, and there could be multiple transactions within a single such interaction. Therefore any PublishedObjects (= set of dirtied objects within a transaction) needs to have a sequence number to distinguish from other transactions, and also from any interaction executions.

  1. … 18 more files in changeset.
ISIS-1291: simplifying OidDto, also use 'com' rather than 'common' as namespace prefix for common.xsd

  1. … 11 more files in changeset.
ISIS-1370: changing the API for PublisherService, adding default Logging implementation. Adding support for deep XML graphs within InteractionDto.

  1. … 11 more files in changeset.
ISIS-1389: further minor changes for consistency.

  1. … 3 more files in changeset.
ISIS-1389: completing up making CommandDto / InteractionDto and Interaction consistent.

  1. … 12 more files in changeset.
ISIS-1389: renaming PropertyModification to PropertyEdit.

  1. … 8 more files in changeset.
ISIS-1397: rename ReturnDto to ValueWithTypeDto, use for new param of property modification also.

  1. … 3 more files in changeset.
ISIS-1397: factored out InteractionDtoServiceInternal (cf CommandDtoServiceInternal); move responsibility to hold the Dto into the applib Interaction object.

  1. … 15 more files in changeset.
ISIS-1397: bringing applib Interaction and MemberInteractionMementoDto closer into line; to whit...

- renamed mim.xsd to ixn.xsd

- renamed MemberInteractionMementoDto to just InteractionDto (cf applib's Interaction)

- renamed MemberInteractionDto to just InteractionExecutionDto (cf applib's Interaction.Execution)

- moved subExecutions to InteractionExecutionDto

    • -163
    • +165
    ./java/org/apache/isis/schema/utils/Roundtrip.java
  1. … 10 more files in changeset.
ISIS-1397: reworked mim.xsd as a replacement/generalization for aim.xsd. renamed some of the methods in applib's Interaction class, to make more consistent with MemberInteractionMementoDto.

    • -160
    • +167
    ./java/org/apache/isis/schema/utils/Roundtrip.java
  1. … 14 more files in changeset.
ISIS-1370: construct the aimDto before calling PublisherService. Also refactoring property setter facet and OneToOneAssociation to follow the same general structure as for action invocations, in particular for the set up of Command objects.

  1. … 19 more files in changeset.
ISIS-1291: extending common.xsd to support enums.

Also ensuring all the XSD files are consistent.

    • -0
    • +66
    ./java/org/apache/isis/schema/utils/CommonDtoUtilsTest.java
    • -0
    • +23
    ./java/org/apache/isis/schema/utils/Vertical.java
  1. … 9 more files in changeset.
ISIS-1291: memento xsd schemas + utils; new command memento DTO for Command#memento, updated background service, background execution; new PublisherService

specifically:

- deleted aim-1.0.xsd, added in aim-2.0.xsd, also cmd-1.0.xsd and updated common-1.0.xsd.

- Updated ActionMementoDtoUtils new CommandMementoDtoUtils and CommandDtoUtils

- moved CommandMementoService to internal SPI, added asCommandMemento, depends on ObjectAction (in order to handle mixin types) and also works on lists of objects (for bulk command/actions)

- ActionInvocationFacet populates the Command#setMemento using CommandMementoDto (legacy behaviour preserved)

  1. … 26 more files in changeset.
ISIS-1291: partially reverting the introduction of a SequenceName... no need after all to add to EventMetadata, because there is only one reason for subactions to occur. Also moved the SequenceName enum out from EventMetadata and into Command interface.

  1. … 4 more files in changeset.
ISIS-1291: introduce enum for sequenceName (for newEventMetadata); minor moving around of methods/extract methods refactoring of newEventMetadata within IsisTransaction.

  1. … 2 more files in changeset.
ISIS-1372: extending EventMetadata with a sequenceName, in preparation to CommandMementoService creating different sequences of events (published event, wrapped event, background commands).

Also updated javadoc for Command, and created a constant "(edit)" which is the value of Command#getTargetAction() for property edits.

  1. … 3 more files in changeset.
ISIS-1373: isis-core-applib now depends on isis-core-schema, rather than other way around. Moved JaxbServiceDefault to applib.

    • -0
    • +312
    ./java/org/apache/isis/schema/utils/Roundtrip.java
  1. … 9 more files in changeset.
ISIS-1369: adding in tests (taken from isis-module-security).

  1. … 4 more files in changeset.
ISIS-1287: fixing up license header files

  1. … 25 more files in changeset.
ISIS-993: extending grid structure to include offsets and allow multiple col-XX-nn to be defined per column.

Also tidied up the simpleapp:

- removed .layout.json for HomePageViewModel, replaced with a .layout.xml

- cleaned up SimpleObject (removing those test collections)

- removed SimpleObject#updateName action.

  1. … 13 more files in changeset.
ISIS-1158: adding i18n support to Specification interface.

also added some documentation for specification, in the ref guide.

    • -0
    • +92
    ./java/org/apache/isis/applib/spec/AbstractSpecification2Test.java
    • -0
    • +97
    ./java/org/apache/isis/applib/spec/AbstractSpecificationTest.java
  1. … 24 more files in changeset.
ISIS-1159: make ExceptionRecognizerCompositeForJdoObjectStore be automatically registered using @DomainService ...

... and provide a config property to disable if required.

Also: minor refactorings/improvements to ExceptionRecognizerComposite.

  1. … 5 more files in changeset.
ISIS-1108: TranslatableException; ExceptionRecognizerAbstract checks if exception implements TranslatableException; overloads of informUser etc for DomainObjectContainer

In addition:

- RecoverableException, NonRecoverableException, ApplicationException can specify TranslatableString message in constructor

- ExceptionRecognizerTranslate JUnit rule ensures that any thrown exceptions that implement TranslatableException are exercised (calls getTranslatedMessage() on them).

- ExceptionRecognizerComposite injected services into sub recognizers

- ditto DomainObjectContainerDefault

- IntegrationTestAbstract now specifies the ExceptionRecognizerTranslate rule by default.

- TranslatableString exposes its getPattern so that TranslatableExceptions have a meaningful getMessage() if only a TranslatableString message was provided.

  1. … 12 more files in changeset.
ISIS-928: adding missing license files (per RAT tool).

  1. … 56 more files in changeset.
ISIS-1043: get/set parameters on ExecutionContext

Factored out ExecutionParameters and a supporting ExecutionParametersService to make pluggable

  1. … 5 more files in changeset.
ISIS-903: can now write to .pot and read from .po file

  1. … 19 more files in changeset.
ISIS-903: refactoring TranslationService so can write out .pot file...

... with msgid_plural if required.

  1. … 8 more files in changeset.
ISIS-903: plural unit tests for PoReader now passing

  1. … 6 more files in changeset.