Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2293: uses FactoryService to instantiate Specifications

... rather than ServicesInjector

    • -1
    • +1
    ./parameter/ParameterAnnotationFacetFactory.java
    • -16
    • +6
    ./parameter/mustsatisfy/MustSatisfySpecificationFacetForParameterAnnotation.java
  1. … 6 more files in changeset.
ISIS-2158: fixes regression w/ pending args

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

    • -1
    • +2
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
  1. … 1 more file in changeset.
ISIS-2265: simplifies adapter visibility processing

    • -11
    • +5
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -6
    • +4
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -12
    • +7
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
  1. … 7 more files in changeset.
ISIS-2265: refactoring CollectionUtils into CollectionFacet.Utils

    • -11
    • +7
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -13
    • +7
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -11
    • +7
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
  1. … 18 more files in changeset.
ISIS-2263: bump schema XSDs to v2/2.0

    • -1
    • +1
    ./bigdecimal/javaxvaldigits/BigDecimalFacetOnParameterFromJavaxValidationAnnotationFactory.java
    • -2
    • +2
    ./bigdecimal/javaxvaldigits/BigDecimalFacetOnParameterFromJavaxValidationDigitsAnnotation.java
    • -1
    • +1
    ./defaults/fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -1
    • +1
    ./defaults/fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
    • -1
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
    • -1
    • +1
    ./disable/ActionParameterDisabledFacet.java
    • -2
    • +2
    ./disable/ActionParameterDisabledFacetAbstract.java
    • -1
    • +1
    ./hide/ActionParameterHiddenFacet.java
    • -2
    • +2
    ./hide/ActionParameterHiddenFacetAbstract.java
    • -1
    • +1
    ./layout/CssClassFacetForParameterLayoutAnnotation.java
    • -1
    • +1
    ./mandatory/dflt/MandatoryFacetOnParametersDefaultFactory.java
    • -5
    • +5
    ./parameter/ParameterAnnotationFacetFactory.java
    • -1
    • +1
    ./validate/ActionParameterValidationFacet.java
    • -2
    • +2
    ./validate/ActionParameterValidationFacetAbstract.java
    • -1
    • +1
    ./validate/method/ActionParameterValidationFacetViaMethodFactory.java
  1. … 257 more files in changeset.
ISIS-2259: fixes up package name of isis-core-metamodel

    • -0
    • +47
    ./autocomplete/ActionParameterAutoCompleteFacet.java
    • -0
    • +41
    ./autocomplete/ActionParameterAutoCompleteFacetAbstract.java
    • -0
    • +56
    ./autocomplete/MinLengthUtil.java
    • -0
    • +121
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -0
    • +88
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethodFactory.java
    • -0
    • +56
    ./bigdecimal/javaxvaldigits/BigDecimalFacetOnParameterFromJavaxValidationAnnotationFactory.java
    • -0
    • +59
    ./bigdecimal/javaxvaldigits/BigDecimalFacetOnParameterFromJavaxValidationDigitsAnnotation.java
    • -0
    • +38
    ./choices/ActionChoicesFacet.java
    • -0
    • +36
    ./choices/ActionChoicesFacetAbstract.java
    • -0
    • +42
    ./choices/ActionParameterChoicesFacet.java
    • -0
    • +38
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -0
    • +48
    ./choices/ActionParameterChoicesFacetNone.java
    • -0
    • +55
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacet.java
    • -0
    • +55
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacetFactory.java
    • -0
    • +121
    ./choices/method/ActionChoicesFacetViaMethod.java
  1. … 3151 more files in changeset.
ISIS-2126 aligning most pkg names for module 'metamodel'

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

    • -44
    • +0
    ./autocomplete/ActionParameterAutoCompleteFacet.java
    • -39
    • +0
    ./autocomplete/ActionParameterAutoCompleteFacetAbstract.java
    • -115
    • +0
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -102
    • +0
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethodFactory.java
    • -62
    • +0
    ./bigdecimal/javaxvaldigits/BigDecimalFacetOnParameterFromJavaxValidationAnnotationFactory.java
    • -59
    • +0
    ./bigdecimal/javaxvaldigits/BigDecimalFacetOnParameterFromJavaxValidationDigitsAnnotation.java
    • -36
    • +0
    ./choices/ActionChoicesFacetAbstract.java
    • -42
    • +0
    ./choices/ActionParameterChoicesFacet.java
    • -37
    • +0
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -47
    • +0
    ./choices/ActionParameterChoicesFacetNone.java
    • -54
    • +0
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacet.java
    • -53
    • +0
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacetFactory.java
    • -119
    • +0
    ./choices/method/ActionChoicesFacetViaMethod.java
  1. … 3127 more files in changeset.
ISIS-2112: backporting from '2033-IoC_Spring' branch

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

    • -36
    • +1
    ./autocomplete/ActionParameterAutoCompleteFacetAbstract.java
    • -9
    • +5
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -18
    • +1
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethodFactory.java
    • -36
    • +1
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -9
    • +2
    ./choices/ActionParameterChoicesFacetNone.java
    • -9
    • +2
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacet.java
    • -18
    • +1
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacetFactory.java
    • -34
    • +2
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -16
    • +1
    ./choices/method/ActionChoicesFacetViaMethodFactory.java
    • -8
    • +2
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -16
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethodFactory.java
    • -13
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -15
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
    • -8
    • +2
    ./disable/method/ActionParameterDisabledFacetViaMethodFactory.java
    • -7
    • +0
    ./hide/method/ActionParameterHiddenFacetViaMethodFactory.java
  1. … 1084 more files in changeset.
merge 'master' into 'v2'

    • -1
    • +4
    ./defaults/ActionParameterDefaultsFacet.java
    • -2
    • +42
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -1
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
    • -0
    • +40
    ./disable/ActionParameterDisabledFacet.java
    • -0
    • +49
    ./disable/ActionParameterDisabledFacetAbstract.java
    • -0
    • +91
    ./disable/method/ActionParameterDisabledFacetViaMethod.java
    • -0
    • +105
    ./disable/method/ActionParameterDisabledFacetViaMethodFactory.java
    • -0
    • +41
    ./hide/ActionParameterHiddenFacet.java
    • -0
    • +48
    ./hide/ActionParameterHiddenFacetAbstract.java
    • -0
    • +80
    ./hide/method/ActionParameterHiddenFacetViaMethod.java
    • -0
    • +98
    ./hide/method/ActionParameterHiddenFacetViaMethodFactory.java
    • -0
    • +46
    ./validate/ActionParameterValidationFacet.java
    • -0
    • +47
    ./validate/ActionParameterValidationFacetAbstract.java
    • -0
    • +85
    ./validate/method/ActionParameterValidationFacetViaMethod.java
    • -0
    • +84
    ./validate/method/ActionParameterValidationFacetViaMethodFactory.java
  1. … 25 more files in changeset.
ISIS-2001: now hides actoin parameters dynamically

... somewhat against expectations. Don't knock it.

    • -1
    • +1
    ./disable/method/ActionParameterDisabledFacetViaMethod.java
    • -1
    • +1
    ./hide/method/ActionParameterHiddenFacetViaMethod.java
  1. … 8 more files in changeset.
ISIS-2001: adds facets etc for hide and disable on actoin parameters

    • -0
    • +39
    ./disable/ActionParameterDisabledFacet.java
    • -0
    • +48
    ./disable/ActionParameterDisabledFacetAbstract.java
    • -0
    • +97
    ./disable/method/ActionParameterDisabledFacetViaMethod.java
    • -0
    • +105
    ./disable/method/ActionParameterDisabledFacetViaMethodFactory.java
    • -0
    • +40
    ./hide/ActionParameterHiddenFacet.java
    • -0
    • +48
    ./hide/ActionParameterHiddenFacetAbstract.java
    • -0
    • +86
    ./hide/method/ActionParameterHiddenFacetViaMethod.java
    • -0
    • +98
    ./hide/method/ActionParameterHiddenFacetViaMethodFactory.java
    • -2
    • +1
    ./validate/method/ActionParameterValidationFacetViaMethodFactory.java
  1. … 6 more files in changeset.
ISIS-2001: moves action parameter validate facets to a different package

    • -0
    • +45
    ./validate/ActionParameterValidationFacet.java
    • -0
    • +47
    ./validate/ActionParameterValidationFacetAbstract.java
    • -0
    • +84
    ./validate/method/ActionParameterValidationFacetViaMethod.java
    • -0
    • +85
    ./validate/method/ActionParameterValidationFacetViaMethodFactory.java
  1. … 7 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.

    • -1
    • +4
    ./defaults/ActionParameterDefaultsFacet.java
    • -3
    • +43
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -1
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 10 more files in changeset.
ISIS-2033: move menus that depend on config from applib to runtime

also do some automatic organize imports

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

    • -1
    • +1
    ./parameter/regex/RegExFacetForParameterAnnotation.java
  1. … 119 more files in changeset.
Merge branch 'master' into v2

# Conflicts:

# core/config/src/main/java/org/apache/isis/config/builder/IsisConfigurationDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/domainobject/DomainObjectAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/objectspecid/classname/ObjectSpecIdFacetDerivedFromClassNameFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/param/choices/method/ActionChoicesFacetViaMethod.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/param/validating/maskannot/MaskFacetOnParameterAnnotationFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/validating/maskannot/MaskFacetOnPropertyAnnotationFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/metamodel/MetaModelExporter.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/metamodel/MetaModelServiceDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/SpecificationCacheDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/SpecificationLoader.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/classsubstitutor/ClassSubstitutor.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/FacetedMethodsBuilder.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/ObjectActionParameterAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/ObjectSpecificationAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/dflt/ObjectSpecificationDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/standalonelist/ObjectSpecificationOnStandaloneList.java

# core/metamodel/src/main/java/org/apache/isis/objectstore/jdo/metamodel/facets/object/discriminator/JdoDiscriminatorAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/progmodels/dflt/ProgrammingModelFacetsJava5.java

# core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/object/domainobject/ObjectTypeAnnotationFacetFactoryTest.java

# core/plugins/jdo-datanucleus-4/src/main/java/org/apache/isis/core/runtime/system/persistence/DataNucleusApplicationComponents4.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/memento/Memento.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceQueryFactory.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/systemusinginstallers/IsisComponentProvider.java

# core/viewer-wicket-impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java

# core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/serviceactions/ServiceActionsPanel.html

# core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/entity/icontitle/EntityIconAndTitlePanel.java

# core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/linkandlabel/ActionLinkFactoryAbstract.java

# core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/PageAbstract.java

# example/application/simpleapp/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObject.java

    • -2
    • +0
    ./choices/method/ActionChoicesFacetViaMethod.java
  1. … 61 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

    • -2
    • +2
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -2
    • +2
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -2
    • +2
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -13
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -1
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 63 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

    • -36
    • +1
    ./autocomplete/ActionParameterAutoCompleteFacetAbstract.java
    • -11
    • +7
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -18
    • +1
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethodFactory.java
    • -36
    • +1
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -9
    • +2
    ./choices/ActionParameterChoicesFacetNone.java
    • -9
    • +2
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacet.java
    • -18
    • +1
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacetFactory.java
    • -38
    • +4
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -16
    • +1
    ./choices/method/ActionChoicesFacetViaMethodFactory.java
    • -10
    • +4
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -16
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethodFactory.java
    • -15
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
    • -1
    • +1
    ./parameter/ParameterAnnotationFacetFactory.java
    • -3
    • +3
    ./parameter/mustsatisfy/MustSatisfySpecificationFacetForParameterAnnotation.java
  1. … 455 more files in changeset.
ISIS-2050: reworks order and depth of introspection.

Squashed from previous commits:

ISIS-2050: uses simpler overload that defaults IntrospectionState to TYPE_INTROSPECTED.

Also introduces overload for className as well as Class<?>

ISIS-2050: only contribute to entities and view models; improves MetaModel exporter

to also dump out the facets of any "discovered" domain types.

ISIS-2050: load specs only to TYPE (not MEMBERS) everywhere; only adds described as facet (derived from type) if is do-op.

ISIS-2050: fixes for unit tests and reorder introspection slightly in order to fix lockdown

ISIS-2050: adds ValueFacet for Joda LocalTime

Uses a very simple implementation, because I suspect that the other capabilities of ValueFacet simply aren't needed anymore...

ISIS-2050:

- removes contributingDomainServiceTypes from AppManifest.Registry once more ... will just eagerly introspect type and members for all domain services

- fixes introspectUpTo algorithm

- skip type hierarchy traversal for domain services with natureOfService=DOMAIN

- improves/reduces logging

- lazily introspect up to type and members whenever any of the members (properties/collections/actions) are referenced of an ObjectSpecAbstract

ISIS-2050: introduces config property to enable/disable full introspection of metamodel

If disabled, then metamodel validation is skipped

ISIS-2050: moves introspectObjectSpecId() so called directly from constructor of ObjectSpec.

ISIS-2050: postProcessor now called by ObjectSpecAbstract after fully introspected, rather than by SpecificationLoader

ISIS-2050: passes PostProcessor into ObjectSpecificationAbstract's constructor

ISIS-2050: scales back the depth of introspection when introspecting members

- only need to introspect the type for parameters and return types.

ISIS-2050: removes SpecificationLoader#state; now responsibility of each ObjectSpecification to keep track of its own introspectionState.

ISIS-2050: eagerly introspects contributing specs, lazily introspecs the remainder.

ISIS-2050: updates AppManifest.Registry to also hold all contributingDomainServiceTypes

This is so that we can eagerly build the ObjectSpecs for these types and mixins, but leave everything else to be built lazily.

ISIS-2050: when traversing type hierarchy, now only introspect super types up to the TYPE, not their MEMBERs as well.

ISIS-2050: renames two of the IntrospectionStates

ISIS-2050: pulls upTo introspectionState into a parameter for all of SpecificationLoaders methods

... so that the caller can decide the level of introspection that needs to be performed.

ISIS-2050: extends IntrospectionState with additional states for type vs member introspection; inlining methods to simplify

... with the aim of exposing the IntrospectionState upTo so can pass through and honour the phases.

Removed the guards in introspectTypeHierarchy, don't think they are needed any more since only ever called from its caller which checks the introspectionState anyway

ISIS-2050: breaks out introspectTypeHierarchyAndMembers into two.

ISIS-2050: replaces IntrospectionStrategy with the concept of introspecting "up to" a certain state.

ISIS-2050: refactors responsibilities of SpecLoader vs ObjectSpec

just the management of introspectionState on ObjectSpec

ISIS-2050: introduces ObjectSpecIdFacetFactory

and additional process(ProcessObjectSpecIdContext) for FacetProcessor

    • -1
    • +1
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -3
    • +2
    ./validating/maskannot/MaskFacetOnParameterAnnotationFactory.java
  1. … 73 more files in changeset.
ISIS-2040: module 'security': rename and align packages

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

    • -2
    • +2
    ./autocomplete/ActionParameterAutoCompleteFacetAbstract.java
    • -1
    • +1
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -2
    • +2
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -1
    • +1
    ./choices/ActionParameterChoicesFacetNone.java
    • -1
    • +1
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacet.java
    • -2
    • +2
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -1
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
  1. … 210 more files in changeset.
2039 redesign of config (#134)

* ISIS-2039: major refactoring

move config code into its own module

remove number of classes in metamodel, that hold a reference to

IsisConfiguration or its implementation

hide the mutable IsisConfigurationDefault

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

* ISIS-2039: reduce visibility of some config classes

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

* ISIS-2039: simplify config access

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

* ISIS-2039: cleaning up the component-provider mess

for web-modules: no longer negotiate by writing attributes to the

servlet-context, instead use a java class for that

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

* ISIS-2039: fixing some tests

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

* ISIS-2039: removing arguments of @PostConstruct methods

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

* ISIS-2039: lazy binding to config for wicket

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

* ISIS-2039: proposed test fix

also cleaning up verbose tests

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

* ISIS-2039: more test fixes

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

* ISIS-2039: experimenting with AppConfig managed by Guice

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

* ISIS-2039: solving the AppManifest lookup problem independently of the

configuration bootstrapping

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

* ISIS-2039: simplify helloworld

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

* ISIS-2039: moving type discovery to an earlier stage in bootstrapping

Integration Test Bootstrapping works.

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

* ISIS-2039: on web-context: move the config bootstrapping from wicket

module to the main ServletContextListener

such that the wicket module is no longer responsible for initiating the

framework

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

* ISIS-2039: config bootstrapping: fixes the resource chain

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

* ISIS-2039: allow ServiceLoader lookup for AppConfig to fallback ...

to previous behavior, that is to lookup the AppManifest from config

property 'isis.appManifest'

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

* ISIS-2039: fixes concurrent modification with _Context

add a property 'isUnitTesting' to the IsisSystemEnvironment, to help

with the decision on how to bootstrap the configuration

also doing some cleaning up

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

* ISIS-2039: fixing junit tests ...

by having the IsisSystemEnvironment#isUnitTesting correctly setup by

JunitRuleMocker2

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

* ISIS-2039: further fixing tests ...

also moving ExceptionRecognizer services that depend on the 'config'

module from 'applib' to 'runtime'

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

* ISIS-2039: fixing tests, that fail due to new domain object annot.

processing

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

* ISIS-2039: unify config bootstrapping code for maven-plugin,

wicket-viewer and headless

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

* ISIS-2039: to fix prev. commit: let the maven-plugin bootstrap the

configuration properly

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

* ISIS-2039: fixing mm verification tests

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

* ISIS-2039: reinstating the ConfigurationServiceDefault

also renaming packages within the 'config' module -> 'o.a.i.config'

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

* ISIS-2039: removing the ConfigurationService interface

use the singleton IsisConfiguration instead

for the UI, the ConfigurationServiceMenu was renamed to

ConfigurationMenu which uses a ConfigurationViewService for the single

purpose of displaying config values

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

* ISIS-2039: reorg. packages

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

    • -2
    • +1
    ./parameter/ParameterAnnotationFacetFactory.java
  1. … 425 more files in changeset.
ISIS-1991: major: removing the DeploymentCategory

also rolling up RenderContext2-6

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

    • -8
    • +0
    ./autocomplete/ActionParameterAutoCompleteFacetAbstract.java
    • -3
    • +1
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -1
    • +1
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethodFactory.java
    • -8
    • +0
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -3
    • +1
    ./choices/ActionParameterChoicesFacetNone.java
    • -3
    • +1
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacet.java
    • -1
    • +1
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacetFactory.java
    • -8
    • +0
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -1
    • +1
    ./choices/method/ActionChoicesFacetViaMethodFactory.java
    • -3
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -1
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethodFactory.java
  1. … 121 more files in changeset.
Merge remote-tracking branch 'origin/master' into v2

    • -0
    • +8
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -0
    • +1
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -0
    • +7
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -0
    • +7
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -0
    • +6
    ./defaults/fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -0
    • +6
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -3
    • +10
    ./layout/TypicalLengthFacetForParameterLayoutAnnotation.java
    • -0
    • +5
    ./parameter/regex/RegExFacetForParameterAnnotation.java
  1. … 136 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
    ./defaults/fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
  1. … 37 more files in changeset.
adds FacetWithAttributes interface

makes existing facets implement

    • -0
    • +8
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -0
    • +9
    ./bigdecimal/javaxvaldigits/BigDecimalFacetOnParameterFromJavaxValidationDigitsAnnotation.java
    • -0
    • +1
    ./choices/ActionParameterChoicesFacetAbstract.java
    • -0
    • +7
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -0
    • +7
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -0
    • +6
    ./defaults/fromtype/ActionParameterDefaultFacetDerivedFromTypeFacets.java
    • -0
    • +6
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -3
    • +11
    ./layout/TypicalLengthFacetForParameterLayoutAnnotation.java
    • -0
    • +7
    ./parameter/regex/RegExFacetForParameterAnnotation.java
    • -0
    • +6
    ./parameter/regex/RegExFacetFromRegExAnnotationOnParameter.java
    • -0
    • +7
    ./typicallen/annotation/TypicalLengthFacetOnParameterAnnotation.java
    • -0
    • +7
    ./typicallen/fromtype/TypicalLengthFacetOnParameterDerivedFromType.java
  1. … 150 more files in changeset.
ISIS-1976: cleaning up some raw types, unchecked casts and incomplete switches

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

    • -0
    • +1
    ./layout/RenderedAdjustedFacetForParameterLayoutAnnotation.java
    • -0
    • +1
    ./parameter/mandatory/MandatoryFacetForParameterAnnotation.java
  1. … 45 more files in changeset.
ISIS-1976: remove ObjectAdapter.Functions, also rename some OA Utilities

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

    • -1
    • +1
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -1
    • +1
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -1
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
  1. … 38 more files in changeset.
    • -1
    • +1
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethod.java
    • -1
    • +1
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -1
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -5
    • +2
    ./layout/CssClassFacetForParameterLayoutAnnotation.java
    • -5
    • +2
    ./layout/DescribedAsFacetForParameterLayoutAnnotation.java
    • -3
    • +2
    ./layout/NamedFacetForParameterLayoutAnnotation.java
    • -5
    • +2
    ./parameter/fileaccept/FileAcceptFacetForParameterAnnotation.java
    • -3
    • +2
    ./parameter/regex/RegExFacetForParameterAnnotation.java
    • -3
    • +2
    ./parameter/regex/RegExFacetForPatternAnnotationOnParameter.java
  1. … 307 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

    • -2
    • +2
    ./choices/method/ActionChoicesFacetViaMethod.java
    • -1
    • +1
    ./choices/methodnum/ActionParameterChoicesFacetViaMethod.java
    • -1
    • +0
    ./choices/methodnum/ActionParameterChoicesFacetViaMethodFactory.java
    • -1
    • +0
    ./defaults/ActionParameterDefaultsFacetAbstract.java
    • -1
    • +1
    ./defaults/fromtype/ActionParameterDefaultFacetDerivedFromTypeFactory.java
    • -3
    • +1
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethod.java
    • -0
    • +1
    ./layout/CssClassFacetForParameterLayoutAnnotation.java
    • -0
    • +1
    ./layout/DescribedAsFacetForParameterLayoutAnnotation.java
    • -1
    • +0
    ./layout/NamedFacetForParameterLayoutAnnotation.java
  1. … 550 more files in changeset.
ISIS-1976: further decouple from AdapterManager

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

    • -3
    • +3
    ./choices/ActionParameterChoicesFacetNone.java
  1. … 23 more files in changeset.
    • -4
    • +4
    ./autocomplete/method/ActionParameterAutoCompleteFacetViaMethodFactory.java
    • -2
    • +2
    ./choices/enums/ActionParameterChoicesFacetDerivedFromChoicesFacetFactory.java
    • -4
    • +4
    ./choices/method/ActionChoicesFacetViaMethodFactory.java
    • -3
    • +4
    ./choices/methodnum/ActionParameterChoicesFacetViaMethodFactory.java
    • -2
    • +2
    ./defaults/methodnum/ActionParameterDefaultsFacetViaMethodFactory.java
  1. … 38 more files in changeset.