Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'release-1.17.0-RC3' into v2

# Conflicts:

# adocs/documentation/src/main/asciidoc/__versions.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_metadata-api_MetamodelService.adoc

# adocs/documentation/src/main/asciidoc/guides/ugfun/_ugfun_getting-started_simpleapp-archetype.adoc

# adocs/documentation/src/main/asciidoc/guides/ugfun/_ugfun_ui-hints_names-and-descriptions.adoc

# adocs/documentation/src/main/asciidoc/guides/ugvw/_ugvw_configuration-properties.adoc

# core/.m2/settings.xml

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

# core/applib/src/test/java/org/apache/isis/schema/utils/CommonDtoUtils_setValueOn_Test.java

# core/config/src/main/java/org/apache/isis/config/property/ConfigProperty.java

# core/config/src/main/java/org/apache/isis/config/property/ConfigPropertyAbstract.java

# core/config/src/main/java/org/apache/isis/config/property/ConfigPropertyBoolean.java

# core/config/src/main/java/org/apache/isis/config/property/ConfigPropertyEnum.java

# core/config/src/main/java/org/apache/isis/config/property/ConfigPropertyString.java

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

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

# example/application/helloworld/src/main/java/domainapp/application/isis-non-changing.properties

# example/application/helloworld/src/main/webapp/WEB-INF/web.xml

# example/application/simpleapp/application/src/test/java/domainapp/application/integtests/tests/mml/MetaModelService_IntegTest.exports.approved.xml

# example/application/simpleapp/webapp/src/main/webapp/WEB-INF/web.xml

# example/archetype/helloworld/pom.xml

# example/archetype/helloworld/src/main/resources/META-INF/maven/archetype-metadata.xml

# example/archetype/helloworld/src/main/resources/archetype-resources/pom.xml

# example/archetype/helloworld/src/main/resources/archetype-resources/src/main/java/domainapp/application/isis-non-changing.properties

# example/archetype/helloworld/src/main/resources/archetype-resources/src/main/java/domainapp/dom/impl/HelloWorldObjects.java

# example/archetype/helloworld/src/test/resources/projects/basic/archetype.properties

# example/archetype/simpleapp/pom.xml

# example/archetype/simpleapp/src/main/resources/META-INF/maven/archetype-metadata.xml

# example/archetype/simpleapp/src/main/resources/archetype-resources/application/pom.xml

# example/archetype/simpleapp/src/main/resources/archetype-resources/application/translations.pot

# example/archetype/simpleapp/src/main/resources/archetype-resources/module-simple/pom.xml

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

# example/archetype/simpleapp/src/main/resources/archetype-resources/module-simple/translations.pot

# example/archetype/simpleapp/src/main/resources/archetype-resources/pom.xml

# example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/logging.properties

# example/archetype/simpleapp/src/test/resources/projects/basic/archetype.properties

# recreate_archetype_RELEASE.sh

# recreate_archetype_SNAPSHOT.sh

# scripts/updateGeneratedArchetypeSources.groovy

# scripts/verify-isis-release.sh

    • -7
    • +5
    ./integtests/mml/MetaModelService_IntegTest.java
  1. … 45 more files in changeset.
ISIS-2003: updates docs on simpleapp archetype for the MetaModelService integ tests.

Also deletes an unused file.

    • -2743
    • +0
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.xml
  1. … 1 more file in changeset.
ISIS-2003: updates simpleapp MetaModelService_IntegTest

    • -7
    • +5
    ./integtests/mml/MetaModelService_IntegTest.java
    • -62
    • +0
    ./integtests/mml/approved/java.net.URL.xml
    • -50
    • +0
    ./integtests/mml/approved/org.apache.isis.applib.annotation.Bulk$InteractionContext.xml
    • -66
    • +0
    ./integtests/mml/approved/org.apache.isis.applib.services.layout.LayoutService$Style.xml
    • -51
    • +0
    ./integtests/mml/approved/org.apache.isis.applib.value.Clob.xml
ISIS-2050: fixes unit tests

    • -0
    • +1
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -0
    • +7
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
    • -0
    • +3
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObjects.xml
  1. … 12 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

    • -1
    • +0
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -7
    • +0
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
    • -3
    • +0
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObjects.xml
  1. … 59 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
    • +0
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -7
    • +0
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
    • -3
    • +0
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObjects.xml
    • -1
    • +61
    ./integtests/mml/approved/java.net.URL.xml
    • -0
    • +2
    ./integtests/mml/approved/java.util.Set.xml
    • -0
    • +50
    ./integtests/mml/approved/org.apache.isis.applib.annotation.Bulk$InteractionContext.xml
    • -1
    • +65
    ./integtests/mml/approved/org.apache.isis.applib.services.layout.LayoutService$Style.xml
    • -1
    • +50
    ./integtests/mml/approved/org.apache.isis.applib.value.Clob.xml
  1. … 61 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

    • -22
    • +3
    ./integtests/mml/approved/domainapp.application.fixture.scenarios.DomainAppDemo.xml
    • -22
    • +3
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -32
    • +4
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
  1. … 423 more files in changeset.
Merge branch 'master' into v2

# Conflicts:

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-Action_domainEvent.adoc

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-Collection_domainEvent.adoc

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-DomainObject_publishing.adoc

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-Property_domainEvent.adoc

# core/applib/src/main/java/org/apache/isis/applib/annotation/DomainObject.java

# core/applib/src/main/java/org/apache/isis/applib/events/domain/AbstractDomainEvent.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/DomainEventHelper.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/ActionAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/invocation/ActionDomainEventFacetAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collections/collection/CollectionAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collections/collection/modify/CollectionAddToFacetForDomainEventFromAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collections/collection/modify/CollectionDomainEventFacetAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collections/collection/modify/CollectionRemoveFromFacetForDomainEventFromAbstract.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/properties/property/PropertyAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/modify/PropertyDomainEventFacetAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/modify/PropertyDomainEventFacetDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/modify/PropertyDomainEventFacetForPostsPropertyChangedEventAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/modify/PropertyDomainEventFacetForPropertyAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/modify/PropertyDomainEventFacetForPropertyInteractionAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/modify/PropertySetterOrClearFacetForDomainEventAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/postprocessors/param/DeriveFacetsPostProcessor.java

    • -0
    • +1
    ./integtests/smoke/Smoke_IntegTest.java
  1. … 38 more files in changeset.
ISIS-1991: removing debug code

simple-app: updating mml approved

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

    • -3
    • +3
    ./integtests/mml/approved/domainapp.application.fixture.scenarios.DomainAppDemo.xml
    • -3
    • +3
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -4
    • +4
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
    • -10
    • +10
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.xml
  1. … 1 more file in changeset.
Merge branch 'master' into v2

ISIS-2027 (health check)

# Conflicts:

# core/applib/src/main/java/org/apache/isis/applib/services/wrapper/WrapperFactory.java

# example/application/simpleapp/webapp/src/main/webapp/WEB-INF/web.xml

    • -0
    • +45
    ./integtests/mml/approved/domainapp.application.services.health.HealthCheckServiceImpl.xml
  1. … 11 more files in changeset.
ISIS-2027: fixes lockdown

    • -0
    • +50
    ./integtests/mml/approved/domainapp.application.services.health.HealthCheckServiceImpl.xml
ISIS-1811: fixes lockdown for apps

    • -3
    • +22
    ./integtests/mml/approved/domainapp.application.fixture.scenarios.DomainAppDemo.xml
    • -3
    • +22
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -4
    • +32
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
ISIS-2013: adds support for H2 database (in integration tests)

  1. … 5 more files in changeset.
ISIS-1974: fixes regression with domain service layout handling

    • -3
    • +0
    ./integtests/mml/approved/domainapp.application.fixture.scenarios.DomainAppDemo.xml
    • -3
    • +0
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -3
    • +0
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
  1. … 3 more files in changeset.
ISIS-2003: fixes lockdown approvals for changes in metamodel

    • -8
    • +3
    ./integtests/mml/approved/domainapp.application.fixture.DomainAppFixtureScriptsSpecificationProvider.xml
    • -71
    • +37
    ./integtests/mml/approved/domainapp.application.fixture.scenarios.DomainAppDemo.xml
    • -8
    • +3
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageService.xml
    • -82
    • +46
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -264
    • +103
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
    • -84
    • +23
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObjects.xml
    • -0
    • +2
    ./integtests/mml/approved/org.apache.isis.applib.value.LocalResourcePath.xml
Merge remote-tracking branch 'origin/master' into v2

    • -0
    • +149
    ./integtests/mml/MetaModelService_IntegTest.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()

-

    • -0
    • +304
    ./integtests/mml/approved/domainapp.application.fixture.scenarios.DomainAppDemo.xml
    • -24
    • +0
    ./integtests/mml/approved/domainapp.application.services.homepage.HomePageViewModel.xml
    • -36
    • +0
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObject.xml
    • -2
    • +1
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObjects.xml
  1. … 34 more files in changeset.
ISIS-2003: minor update to approvals for SimpleObjects

    • -1
    • +0
    ./integtests/mml/approved/domainapp.modules.simple.dom.impl.SimpleObjects.xml
ISIS-2003: uses folders instead of filenames for received vs approved

    • -3
    • +26
    ./integtests/mml/MetaModelService_IntegTest.java
    • -50
    • +0
    ./integtests/mml/_domainapp.application.fixture.DomainAppFixtureScriptsSpecificationProvider.approved.xml
    • -49
    • +0
    ./integtests/mml/_domainapp.application.services.homepage.HomePageService.approved.xml
    • -412
    • +0
    ./integtests/mml/_domainapp.application.services.homepage.HomePageViewModel.approved.xml
    • -1075
    • +0
    ./integtests/mml/_domainapp.modules.simple.dom.impl.SimpleObject.approved.xml
    • -330
    • +0
    ./integtests/mml/_domainapp.modules.simple.dom.impl.SimpleObjects.approved.xml
    • -2
    • +0
    ./integtests/mml/_java.lang.Long.approved.xml
    • -2
    • +0
    ./integtests/mml/_java.lang.Object.approved.xml
    • -2
    • +0
    ./integtests/mml/_java.lang.String.approved.xml
    • -2
    • +0
    ./integtests/mml/_java.net.URL.approved.xml
    • -2
    • +0
    ./integtests/mml/_java.sql.Timestamp.approved.xml
    • -2
    • +0
    ./integtests/mml/_java.util.List.approved.xml
    • -2
    • +0
    ./integtests/mml/_org.apache.isis.applib.services.layout.LayoutService$Style.approved.xml
    • -2
    • +0
    ./integtests/mml/_org.apache.isis.applib.value.Clob.approved.xml
  1. … 16 more files in changeset.
ISIS-2003: breaks out approvals into separate files

    • -0
    • +1
    ./integtests/mml/.gitignore
    • -0
    • +126
    ./integtests/mml/MetaModelService_IntegTest.java
    • -0
    • +50
    ./integtests/mml/_domainapp.application.fixture.DomainAppFixtureScriptsSpecificationProvider.approved.xml
    • -0
    • +49
    ./integtests/mml/_domainapp.application.services.homepage.HomePageService.approved.xml
    • -0
    • +412
    ./integtests/mml/_domainapp.application.services.homepage.HomePageViewModel.approved.xml
    • -0
    • +1075
    ./integtests/mml/_domainapp.modules.simple.dom.impl.SimpleObject.approved.xml
    • -0
    • +330
    ./integtests/mml/_domainapp.modules.simple.dom.impl.SimpleObjects.approved.xml
    • -0
    • +2
    ./integtests/mml/_java.lang.Long.approved.xml
    • -0
    • +2
    ./integtests/mml/_java.lang.Object.approved.xml
    • -0
    • +2
    ./integtests/mml/_java.lang.String.approved.xml
    • -0
    • +2
    ./integtests/mml/_java.net.URL.approved.xml
    • -0
    • +2
    ./integtests/mml/_java.sql.Timestamp.approved.xml
    • -0
    • +2
    ./integtests/mml/_java.util.List.approved.xml
    • -0
    • +2
    ./integtests/mml/_org.apache.isis.applib.services.layout.LayoutService$Style.approved.xml
    • -0
    • +2
    ./integtests/mml/_org.apache.isis.applib.value.Clob.approved.xml
  1. … 8 more files in changeset.
ISIS-2003: updates approvals

    • -2
    • +0
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.xml
ISIS-2003: adds more control in serialization of metamodel

    • -44628
    • +245
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.xml
  1. … 8 more files in changeset.
ISIS-2003: fine-tuning

    • -0
    • +1
    ./integtests/tests/mml/.gitignore
    • -12639
    • +0
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.txt
    • -0
    • +47128
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.xml
    • -12639
    • +0
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.received.txt
  1. … 6 more files in changeset.
ISIS-2003: fixes some compile issues, fine-tuning names

    • -2842
    • +11323
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.txt
    • -2842
    • +11323
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.received.txt
  1. … 5 more files in changeset.
adds FacetWithAttributes interface

makes existing facets implement

    • -11037
    • +2847
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.txt
    • -11037
    • +2847
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.received.txt
  1. … 159 more files in changeset.
ISIS-2003: first cut, specs and facet/attributes

    • -0
    • +12348
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.approved.txt
    • -0
    • +12348
    ./integtests/tests/mml/MetaModelService_IntegTest.exports.received.txt
    • -0
    • +62
    ./integtests/tests/mml/MetaModelService_IntegTest.java
    • -0
    • +96
    ./integtests/tests/smoke/Smoke_IntegTest.java
  1. … 8 more files in changeset.
ISIS-1954: adds BootstrappingGlueAbstract for BDD tests on Junit 5

calls ModuleBuilder to set up additional services.

Also removed the Util class that was acting as a wrapper for ModuleBuilder and also TransactionRule support.

    • -0
    • +32
    ./bdd/specglue/BootstrappingGlueAbstract.java
  1. … 8 more files in changeset.
ISIS-1820: fixes BDD tests in simpleapp example application

    • -2
    • +14
    ./bdd/specglue/BootstrappingGlue.java
  1. … 5 more files in changeset.
ISIS-1791 and ISIS-1794: refactorings of ClockFixture and TickingClockFixture.

Also documentation of this and persona builder scripts

  1. … 22 more files in changeset.
ISIS-1794: cleans up BDD classes (deprecating old stuff), and updates docs

    • -11
    • +3
    ./bdd/specglue/CatalogOfFixturesGlue.java
    • -0
    • +43
    ./bdd/specs/RunBddSpecs.java
  1. … 17 more files in changeset.