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

    • -0
    • +50
    ./annotation/TypicalLengthFacetOnPropertyAnnotation.java
    • -0
    • +49
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromType.java
    • -0
    • +55
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromTypeFacetFactory.java
  1. … 3163 more files in changeset.
ISIS-2126 aligning most pkg names for module 'metamodel'

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

    • -50
    • +0
    ./annotation/TypicalLengthFacetOnPropertyAnnotation.java
    • -49
    • +0
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromType.java
    • -55
    • +0
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromTypeFacetFactory.java
  1. … 3139 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()

-

    • -1
    • +1
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromType.java
  1. … 37 more files in changeset.
adds FacetWithAttributes interface

makes existing facets implement

    • -0
    • +7
    ./annotation/TypicalLengthFacetOnPropertyAnnotation.java
    • -0
    • +6
    ./annotation/TypicalLengthFacetOnPropertyFromProperties.java
    • -0
    • +7
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromType.java
  1. … 159 more files in changeset.
ISIS-1742: removes support for .layout.json files

    • -41
    • +0
    ./annotation/TypicalLengthFacetOnPropertyFromProperties.java
    • -64
    • +0
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 149 more files in changeset.
ISIS-1742: deletes @TypicalLength annotation + facets, updates .adoc

    • -33
    • +1
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 13 more files in changeset.
ISIS-1422: refactoring (no functional change) - completely eliminated ValueSemanticsProviderContext, just use ServicesInjector throughout, and don't pass IsisConfiguration to VSP either, since derivable from ServicesInjector.

Also:

- made ConfigurationServiceInternal extend from IsisConfiguration (IsisConfigurationDefault is the only impl anyway)

- removed unnecessary casts to IsisConfiguration

- removed components passed into AutoCompleteFacetAbstract, since all derivable from ServicesInjector.

    • -1
    • +1
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 185 more files in changeset.
ISIS-1408: removing RuntimeContext, ObjectSpecificationDependencies, ObjectMemberDependencies (WIP)

Also adding some micro-caching/helper methods in ServicesInjector (not sure if significant).

WIP - runs up ok, but unit tests failing.

    • -3
    • +1
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 106 more files in changeset.
ISIS-1407: removed SpecificationLoaderAware.

Also:

- minor extension to ServiceRegistry2

- collapsed ServicesInjector, ServicesInjectorSpi and ServicesInjectorDefault to just ServicesInjector.

    • -1
    • +1
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 271 more files in changeset.
ISIS-1405: removing IsisConfigurationAware.

    • -3
    • +9
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 90 more files in changeset.
ISIS-1027: improving validation messages

- show if the method is inherited or not

- reformat messages to put the violation class/method first

- order the messages alphabetically

Also:

- changed Optionality enum in applib, from TRUE|FALSE to OPTIONAL|MANDATORY.

- updates to the DomainChangeJdoAbstract

    • -1
    • +1
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 89 more files in changeset.
ISIS-1027: marking facet classes as deprecated; some minor incidental tidy-up

    • -1
    • +5
    ./annotation/TypicalLengthFacetOnPropertyAnnotation.java
    • -1
    • +1
    ./annotation/TypicalLengthFacetOnPropertyFromProperties.java
    • -1
    • +1
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
    • -3
    • +3
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromType.java
    • -1
    • +1
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromTypeFacetFactory.java
  1. … 259 more files in changeset.
ISIS-1027: more stuff...

... undeprecating Isis' own services (eg EventBusServiceJdo)

... adding in validators for XxxAnnotationFacetFactory

... moving Bounded and ObjectType annotation processing into DomainObjectAnnotationFacetFactory

    • -1
    • +1
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 65 more files in changeset.
ISIS-1027: first cut impl, still to test

    • -4
    • +20
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
  1. … 89 more files in changeset.
ISIS-964: unified UI hints in @ClassLayout, @PropertyLayout, @CollectionLayout, @ActionLayout, @ParameterLayout and corresponding support in .layout.json for properties, collections and actions.

    • -1
    • +1
    ./annotation/TypicalLengthFacetOnPropertyAnnotation.java
    • -1
    • +1
    ./annotation/TypicalLengthFacetOnPropertyFromProperties.java
    • -1
    • +1
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromType.java
  1. … 134 more files in changeset.
ISIS-831: digression: moving progmodel/facets into metamodel/facets

... and getting names consistent.

    • -0
    • +39
    ./annotation/TypicalLengthFacetOnPropertyAnnotation.java
    • -0
    • +41
    ./annotation/TypicalLengthFacetOnPropertyFromProperties.java
    • -0
    • +76
    ./annotation/TypicalLengthOnPropertyFacetFactory.java
    • -0
    • +42
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromType.java
    • -0
    • +55
    ./fromtype/TypicalLengthFacetOnPropertyDerivedFromTypeFacetFactory.java
  1. … 1820 more files in changeset.