Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2259: fixes up package name of isis-core-metamodel

    • -0
    • +38
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutable.java
    • -0
    • +52
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutableFactory.java
    • -0
    • +32
    ./inferred/DisabledFacetOnPropertyInferred.java
    • -0
    • +56
    ./inferred/DisabledFacetOnPropertyInferredFactory.java
  1. … 3162 more files in changeset.
ISIS-2126 aligning most pkg names for module 'metamodel'

- o.a.i.core.metamodel.* -> o.a.i.metamodel.*

    • -38
    • +0
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutable.java
    • -53
    • +0
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutableFactory.java
    • -32
    • +0
    ./inferred/DisabledFacetOnPropertyInferred.java
    • -56
    • +0
    ./inferred/DisabledFacetOnPropertyInferredFactory.java
  1. … 3138 more files in changeset.
Merge remote-tracking branch 'origin/master' into v2

    • -7
    • +3
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutableFactory.java
  1. … 143 more files in changeset.
ISIS-1974: fixes to ensure new algorithm generates same metamodel as previously.

More or less, that is.

The main change here is that some facet factories have been reimplemented in the SpecLoader PostProcessor, namely those that derive facets on object members based on the facets from the type of those members ... typical length, described as, immutable => disabled, param defaults.

- for now, the unused facets have been left in the codebase, commented out of ProgrammingModelFacetsJava5; the post-processor's name (ActionCollectionParameterDefaultsAndChoicesPostProcessor) is unchanged even though it now does much more than it used to

This results in some minor differences... ImmutableFacet is no longer always installed, for example, if DisabledFacet is present instead.

In addition to the PostProcessor changes:

- call post processing without requiring there to be an open session. Note that this requires a minor refactor in OneTo{One/Many}ActionParameterContributee - these take the servicePojo rather than the serviceAdapter

- refactor SpecificationCacheDefault, init() semantics are now cleaner

- it no longer takes a map (and the old init is now internalInit)

- SpecificationLoader#cacheBySpecId now removed - this is basically what is in the new version of init in SpecificationCacheDefault

- also search for @DomainServiceLayout, @DomainObjectLayout, @ViewModelLayout to find classes to introspect during bootstrapping

- don't introspect @Programmatic fixture scripts (unless they are explicitly discoverable by implementing DiscoverableFixtureScript)

- don't create any associations/actions for any domain services that have a nature of DOMAIN (unless they are also @HomePage domain service)

- don't create any associations/actions for fixture scripts

- OneTo{One/Many}AssociationContributee now implement getOnType (was throwing an NPE) & OneToManyAssociationMixedIn now implements getOnType (OTOAMI was already)

- these are to allow the implementatoin of the post-processor to look up the parent spec if the member is a mixin or contributee

- MetaModelExporter now includes a check that the objectSpecId -> ObjectSpecification is one-to-one.

- this is what precipitated the refactoring of SpecificationCacheDefault

- adds a guard in TypicalLengthFacetOnPropertyDerivedFromType, which was NPE'ing

- in the metamodel validator, as an ugly special case, allow ObjectSpecIdFacet to be derived from class name

- seems ok, since no longer have actoins on fixture scripts in the metamodel. Also, there are fixtures in the incode platform that fall foul of this check

- allow @Programmatic to be specified on fields

- annotate various fixture scripts as @Programmatic (so that they will be skipped completely from the metamodel)

- BuilderFixtureScript, TeardownFixtureScriptAbstract, PersonaEnumPersistAll, ClockFixture, TickingClockFixture

- fixed bug with MetaModelService6.Config class for getPackagePrefixes()

-

    • -7
    • +3
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutableFactory.java
  1. … 37 more files in changeset.
ISIS-1976: introduces ManagedObject to replace OA within most of metamodel

Task-Url: https://issues.apache.org/jira/browse/ISIS-1976

    • -2
    • +2
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutable.java
  1. … 141 more files in changeset.
ISIS-1742: deletes When enum from @Hidden, @Disabled, @Immutable

    • -4
    • +3
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutable.java
    • -1
    • +1
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutableFactory.java
  1. … 73 more files in changeset.
ISIS-1478: now honours @Property(editing=ENABLED), takes precedence over isis.properties config file (if configured as isis.objects.editing=false)

Also, refactored simpleapp so that the majority of isis.properties and persistor_datanucleus.properties are read in programmatically by the app manifest.

    • -0
    • +6
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutableFactory.java
  1. … 18 more files in changeset.
ISIS-970: reworking property/collection/action interaction facets (done by the interaction facet factories); process hidden facet for property/collection/action annotation facets; process editing for collections; process typeof for collections (done by typeof facet factory)

Also:

- some refactoring of {Disabled/Hidden}Facet{Impl/AlwaysEverywhere}, made abstract (name adjusted accordingly) and created subtypes where used directly

- most notably DisabledFacetForContributee, also {Disabled/Hidden}FacetOnStaticMethod

- deleted {Disabled/Hidden}FacetNever, since not used.

    • -11
    • +4
    ./inferred/DisabledFacetOnPropertyInferred.java
    • -2
    • +1
    ./inferred/DisabledFacetOnPropertyInferredFactory.java
  1. … 57 more files in changeset.
ISIS-852: updateable derived properties that have just a getter and a modifyXxx() method.

    • -0
    • +39
    ./inferred/DisabledFacetOnPropertyInferred.java
    • -0
    • +57
    ./inferred/DisabledFacetOnPropertyInferredFactory.java
  1. … 4 more files in changeset.
ISIS-831: digression: moving progmodel/facets into metamodel/facets

... and getting names consistent.

    • -0
    • +39
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutable.java
    • -0
    • +51
    ./fromimmutable/DisabledFacetOnPropertyDerivedFromImmutableFactory.java
  1. … 1823 more files in changeset.