Clone Tools
  • last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2158: fixes regression w/ pending args

due to refactoring: List<T> -> Can<T> -> List<T>

    • -1
    • +2
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
  1. … 1 more file in changeset.
ISIS-2263: bump schema XSDs to v2/2.0

    • -1
    • +1
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -1
    • +1
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
    • -1
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 269 more files in changeset.
ISIS-2259: fixes up package name of isis-core-metamodel

    • -0
    • +41
    ./ActionParameterDefaultsFacet.java
    • -0
    • +36
    ./ActionParameterDefaultsFacetAbstract.java
    • -0
    • +60
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -0
    • +64
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
    • -0
    • +117
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -0
    • +134
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 3160 more files in changeset.
ISIS-2126 aligning most pkg names for module 'metamodel'

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

    • -41
    • +0
    ./ActionParameterDefaultsFacet.java
    • -36
    • +0
    ./ActionParameterDefaultsFacetAbstract.java
    • -60
    • +0
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -65
    • +0
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
    • -110
    • +0
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -131
    • +0
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 3136 more files in changeset.
ISIS-2112: backporting from '2033-IoC_Spring' branch

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

    • -13
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -15
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 1097 more files in changeset.
merge 'master' into 'v2'

    • -2
    • +42
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -1
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 37 more files in changeset.
ISIS-2001: caters for dependent defaults returning collection, also makes logic for recomputing default more sophisticated...

... based on *which* previous parameter actually changed.

    • -3
    • +43
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -1
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 10 more files in changeset.
ISIS-2033: All MetaModel tests fixed.

However there is a lot of cleaning-up left to do.

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

    • -13
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -1
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 66 more files in changeset.
ISIS-2033: Major: MetaModel refactoring

removing instances of 'ServicesInjector' being passed around in

constructors

removing 'ServicesInjectorAware' interface

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

    • -15
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 468 more files in changeset.
Merge remote-tracking branch 'origin/master' into v2

    • -0
    • +6
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -0
    • +6
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
  1. … 142 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()

-

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

makes existing facets implement

    • -0
    • +6
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -0
    • +6
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
  1. … 160 more files in changeset.
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

    • -1
    • +0
    ./ActionParameterDefaultsFacetAbstract.java
    • -1
    • +1
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
    • -3
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
  1. … 556 more files in changeset.
    • -2
    • +2
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 42 more files in changeset.
ISIS-1976: decouple metamodel's facets from AdapterManager

introduces ObjectAdapterProvider

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

    • -7
    • +8
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -3
    • +3
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 79 more files in changeset.
ISIS-1841 automated source cleanup

Add missing '@Override' annotations

Remove trailing white spaces on all lines

Correct indentation

    • -1
    • +1
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -4
    • +4
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 1408 more files in changeset.
ISIS-1585: extends to support derivation of choices for both scalar and collection parameters.

Also:

- extends @Action with associateWithSequence

- deprecates bulk actions (documentation and API)

- moves PostProcessor impl to new package

- fixes rebuildMetaModel to call the PostProcessor

- updates docs.

    • -63
    • +0
    ./togglebox/ActionParameterDefaultsFacetViaToggleBoxes.java
    • -106
    • +0
    ./togglebox/ActionParameterDefaultsFacetViaToggleBoxesPostProcessor.java
  1. … 19 more files in changeset.
ISIS-1585: defines a new PostProcessor API, similar to FacetFactory.

Also:

- removes the postProcessing from FacetProcessor, since seemingly unused.

- extracted out FacetFactorySet as a super-interface of ProgrammingModel

    • -127
    • +0
    ./togglebox/ActionParameterDefaultsFacetViaToggleBoxesFactory.java
    • -0
    • +106
    ./togglebox/ActionParameterDefaultsFacetViaToggleBoxesPostProcessor.java
  1. … 11 more files in changeset.
ISIS-1585: adds support for checkboxes in parented collections, to act as the defaults for any associated actions.

    • -0
    • +63
    ./togglebox/ActionParameterDefaultsFacetViaToggleBoxes.java
    • -0
    • +127
    ./togglebox/ActionParameterDefaultsFacetViaToggleBoxesFactory.java
  1. … 26 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.

    • -1
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 106 more files in changeset.
ISIS-1409: removing the *Aware interfaces for the internal components of RuntimeContext (PersistenceSession, Localization, MessageBroker, TranState), also removing AdapterManagerAware.

    • -14
    • +11
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 60 more files in changeset.
ISIS-1194: reverting the move of AdapterManager and AdapterManagerAware, as unnecessarily breaks addons (devutils)

    • -1
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -2
    • +2
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 144 more files in changeset.
ISIS-1194: moving AdapterManager interface to same package as other "runtimecontext" interfaces

    • -1
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -2
    • +2
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 144 more files in changeset.
ISIS-1194: removing ImperativeFacet#impliesObjectChanged and #impliesResolve

    • -10
    • +0
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
  1. … 51 more files in changeset.
ISIS-831: property and collection interactions stuff more or less there...

    • -2
    • +1
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
  1. … 148 more files in changeset.
ISIS-831: digression: moving progmodel/facets into metamodel/facets

... and getting names consistent.

    • -0
    • +37
    ./ActionParameterDefaultsFacetAbstract.java
    • -0
    • +54
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -0
    • +65
    ./fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
    • -0
    • +88
    ./methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -0
    • +148
    ./methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 1820 more files in changeset.
ISIS-478: choices and default methods can now take partial parameter lists

See ToDoItemContributions#updateCost and its supporting methods for example.

  1. … 18 more files in changeset.
ISIS-210: default supporting methods can have params

- all param args are set to null except for the contributee object in a contributed actions

  1. … 19 more files in changeset.
ISIS-188: moving framework/ subdirs up to parent

* also tidied up STATUS, and removed the incubator DISCLAIMER

    • -0
    • +36
    ./ActionParameterDefaultsFacet.java
  1. … 12555 more files in changeset.
sorting out tags

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/tags/isis-0.2.0-incubating@1242712 13f79535-47bb-0310-9956-ffa450edef68

    • -36
    • +0
    ./ActionParameterDefaultsFacet.java
  1. … 11375 more files in changeset.