Clone Tools
  • last updated 23 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1976: removes OA map, stream for metamodel, excising guava

Key achievements:

Metamodel: almost all guava Function and Predicate idioms removed

Metamodel: slight API improvements, such that some of the internal meta-data that is kept in Java

Collections is no longer copied into immutable lists for any calling client, instead Java Streams are returned (which treat the underlying collections un-modifiable by design)

the ObjectAdapter per-session map/cache is history

the legacy modules have been removed, for convenince and ease of migration the legacy/transition-1-2- module remains and shall provide legacy glue code

shiro was moved to plugins, and its artifact renamed, to be inline with the other plugins

    • -7
    • +4
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
    • -2
    • +0
    ./ObjectSpecIdFacetDerivedFromDomainServiceAnnotationElseGetId.java
  1. … 557 more files in changeset.
ISIS-1841 automated source cleanup

Add missing '@Override' annotations

Remove trailing white spaces on all lines

Correct indentation

    • -1
    • +1
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 1410 more files in changeset.
ISIS-1848: ensures that FreeStandingList does not incorrectly return java.lang.Object's specId, and adds new metamodel validator to detect this situation in future.

    • -0
    • +31
    ./ObjectSpecIdFacetOnStandaloneList.java
  1. … 10 more files in changeset.
ISIS-1689: ObjectSpecIdFacetDerivedFromClassName is now a derived facet so will not clobber object spec id facet from JDO PersistenceCapable#schema

    • -1
    • +1
    ./ObjectSpecIdFacetDerivedFromClassName.java
  1. … 1 more file in changeset.
ISIS-1587: makes the check to filter ObjectSpecifications (for 'explicitObjectTypes') public so can be used elsewhere.

    • -39
    • +40
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
ISIS-1587: for 'explicitObjectTypes' exclude mixins and contributed services. Also JAXB DTO view models.

    • -10
    • +18
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
ISIS-1587: excludes JAXB DTO view models from objectType checking.

These are often code-generated from XSD schemas.

    • -0
    • +7
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
ISIS-1587: extends explicitObjectType checking to take in view models.

Updated 3 view models defined by framework itself so as not to trigger validation error

    • -0
    • +6
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 8 more files in changeset.
ISIS-1582: generalizes checking for unique objectTypes to be unique across entities and domain services.

    • -0
    • +3
    ./ObjectSpecIdFacetDerivedFromClassName.java
    • -11
    • +49
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
    • -2
    • +3
    ./ObjectSpecIdFacetDerivedFromDomainServiceAnnotationElseGetId.java
  1. … 11 more files in changeset.
ISIS-1586: adds @DomainService(objectType) and rationalizes w.r.t getId()

Also updates to documentation, to make clear what the precedence is for objectType (for both domain objects and domain services).

    • -1
    • +17
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
    • -0
    • +32
    ./ObjectSpecIdFacetDerivedFromDomainServiceAnnotationElseGetId.java
  1. … 11 more files in changeset.
ISIS-1584: adds validator to prohibit contributed services (nature=VIEW or nature=VIEW_CONTRIBUTIONS_ONLY)

Disabled by default, can enable using a new configuration property.

Also:

- improved validation messages, indicating the config property that controls them

- changed existing mixins to use @Mixin(method="exec") so easier to read

- refactored the two contributed domain services (BookmarkHolder{Action/Association}Contributions) into mixins

- minor fix to simpleapp to remove its contributed domain service also (HomePageService).

    • -2
    • +2
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 15 more files in changeset.
ISIS-1583: already implemented, so this commit is just some tidy up ofcomments and trivial refactorig.

    • -2
    • +1
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 2 more files in changeset.
ISIS-1581: adds metamodel validator that ObjectSpecIdFacet is provided explicitly.

This is disabled by default, can be enabled using configuration property.

    • -1
    • +53
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 7 more files in changeset.
ISIS-939: pruning defunct uses of CollectionTypeRegistry and other subcomponents.

    • -1
    • +1
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 15 more files in changeset.
ISIS-939: simplified ClassSubstitutor and ObjectFactory.

    • -8
    • +2
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 35 more files in changeset.
ISIS-831: digression: moving progmodel/facets into metamodel/facets

... and getting names consistent.

    • -0
    • +30
    ./ObjectSpecIdFacetDerivedFromClassName.java
    • -0
    • +55
    ./ObjectSpecIdFacetDerivedFromClassNameFactory.java
  1. … 1823 more files in changeset.