Clone Tools
  • last updated 20 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2033: PersistenceServiceInternal* removed

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

    • -2
    • +2
    ./parseable/ParseableFacetUsingParserTest.java
  1. … 38 more files in changeset.
    • -1
    • +1
    ./parseable/ParseableFacetUsingParserTest.java
  1. … 15 more files in changeset.
Merge remote-tracking branch 'apache/v2' into 2033-IoC

Conflicts:

core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/domainobjectlayout/DomainObjectLayoutFacetFactory.java

core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/grid/GridFacetFactory.java

core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/grid/GridLoaderServiceDefault.java

core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/grid/GridServiceDefault.java

core/metamodel/src/test/java/org/apache/isis/core/metamodel/specloader/SpecificationLoaderTestAbstract.java

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

    • -1
    • +1
    ./domainobjectlayout/DomainObjectLayoutFactoryTest.java
  1. … 17 more files in changeset.
fixes compile/unit test errors from merge.

    • -1
    • +1
    ./domainobjectlayout/DomainObjectLayoutFactoryTest.java
    • -1
    • +1
    ./ident/layout/LayoutFacetMethodTest.java
  1. … 5 more files in changeset.
ISIS-2079: adds LayoutFacet with Method and Fallback implementations

    • -0
    • +71
    ./ident/layout/LayoutFacetFactoryTest.java
    • -0
    • +84
    ./ident/layout/LayoutFacetMethodTest.java
  1. … 6 more files in changeset.
ISIS-2080: adds LayoutFacet with Method and Fallback implementations

    • -0
    • +71
    ./ident/layout/LayoutFacetFactoryTest.java
    • -0
    • +84
    ./ident/layout/LayoutFacetMethodTest.java
  1. … 6 more files in changeset.
Merge branch 'v2' into 2033-IoC

Conflicts:

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

core/config/src/main/java/org/apache/isis/config/AppConfigLocator.java

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/services/metamodel/MetaModelServiceDefault.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/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/test/java/org/apache/isis/core/metamodel/specloader/SpecificationLoaderTestAbstract.java

core/metamodel/src/test/java/org/apache/isis/core/metamodel/specloader/SpecificationLoaderTest_array.java

core/metamodel/src/test/java/org/apache/isis/core/metamodel/specloader/SpecificationLoaderTest_collection.java

core/metamodel/src/test/java/org/apache/isis/core/metamodel/specloader/SpecificationLoaderTest_value.java

core/plugins/jdo-datanucleus-4/src/test/java/org/apache/isis/core/metamodel/specloader/ObjectReflectorDefaultTest_object.java

core/plugins/jdo-datanucleus-4/src/test/java/org/apache/isis/core/runtime/system/ObjectMemberAbstractTest.java

core/plugins/jdo-datanucleus-4/src/test/java/org/apache/isis/core/wrapper/WrapperFactoryDefaultTest_wrappedObject.java

core/plugins/jdo-datanucleus-5/src/test/java/org/apache/isis/core/metamodel/specloader/ObjectReflectorDefaultTest_object.java

core/pom.xml

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

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

    • -1
    • +2
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java
  1. … 38 more files in changeset.
ISIS-2050: ignoring broken tests

    • -1
    • +2
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java
  1. … 4 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

    • -4
    • +5
    ./domainobject/ObjectTypeAnnotationFacetFactoryTest.java
  1. … 61 more files in changeset.
ISIS-2033: meta-model tests: fixes trivial test failures ...

... that were related to singleton resolving

24 test-cases still fail, these are due to eg. code not yet implemented

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

    • -16
    • +0
    ./disabled/ObjectDisabledMethodFacetFactoryTest.java
    • -16
    • +2
    ./ident/title/TitleFacetViaMethodsFactoryTest.java
  1. … 36 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

    • -4
    • +2
    ./ViewModelSemanticCheckingFacetFactoryTest.java
    • -4
    • +0
    ./defaults/DefaultedFacetFactoryTest.java
    • -4
    • +3
    ./disabled/ObjectDisabledMethodFacetFactoryTest.java
    • -1
    • +0
    ./domainobject/ChoicesFacetFromBoundedAnnotationFactoryTest.java
    • -6
    • +5
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java
    • -1
    • +0
    ./domainobjectlayout/DomainObjectLayoutFactoryTest.java
    • -4
    • +3
    ./ident/title/TitleFacetViaMethodsFactoryTest.java
    • -8
    • +5
    ./navparent/annotation/NavigableParentAnnotationFacetFactoryTest.java
    • -8
    • +8
    ./parseable/ParseableFacetUsingParserTest.java
    • -3
    • +0
    ./value/ValueFacetAnnotationOrConfigurationFactoryTest.java
  1. … 456 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

    • -5
    • +6
    ./domainobject/ObjectTypeAnnotationFacetFactoryTest.java
    • -3
    • +6
    ./objectspecid/ObjectSpecIdFacetDerivedFromClassNameFactoryTest.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
    ./navparent/annotation/NavigableParentAnnotationFacetFactoryTest.java
    • -1
    • +2
    ./parseable/ParseableFacetUsingParserTest.java
  1. … 214 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

    • -17
    • +5
    ./ViewModelSemanticCheckingFacetFactoryTest.java
    • -7
    • +12
    ./defaults/DefaultedFacetFactoryTest.java
    • -27
    • +15
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java
    • -8
    • +16
    ./domainobjectlayout/DomainObjectLayoutFactoryTest.java
    • -4
    • +7
    ./value/ValueFacetAnnotationOrConfigurationFactoryTest.java
  1. … 421 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

    • -14
    • +9
    ./navparent/annotation/NavigableParentAnnotationFacetFactoryTest.java
  1. … 130 more files in changeset.
ISIS-1974: fixes regression with domain service layout handling

    • -0
    • +1
    ./domainservicelayout/annotation/DomainServiceLayoutFacetFactoryTest.java
  1. … 5 more files in changeset.
ISIS-1976: fixing tests that that fail on mockup service lookup now being Optionals

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

    • -2
    • +4
    ./disabled/ObjectDisabledMethodFacetFactoryTest.java
    • -1
    • +2
    ./ident/title/TitleFacetViaMethodsFactoryTest.java
  1. … 33 more files in changeset.
ISIS-1976: rename ObjectAdapter.getObject() -> getPojo()

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

    • -1
    • +1
    ./ident/cssclass/CssClassFacetMethodWithProblemTest.java
    • -1
    • +1
    ./ident/title/TitleFacetViaMethodTest.java
    • -2
    • +2
    ./navparent/NavigableParentFacetMethodTest.java
  1. … 109 more files in changeset.
ISIS-1976: cleanup 'Command' API

make it obvious which calls are non public API by gathering them in its

own 'Internal' interface

rename HasTransactionId -> HasUniqueId to better reflect its general

usage

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

    • -9
    • +6
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java
  1. … 36 more files in changeset.
  1. … 315 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. … 558 more files in changeset.
ISIS-1976: further decouple from AdapterManager

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

  1. … 23 more files in changeset.
ISIS-1841: remove deprecated MemberGroupLayout

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

    • -110
    • +0
    ./membergroups/annotprop/MemberGroupLayoutFacetFactoryTest.java
    • -69
    • +0
    ./membergroups/annotprop/MemberGroupLayoutFacetPropertiesTest_asColumnSpans.java
    • -75
    • +0
    ./membergroups/annotprop/MemberGroupLayoutFacetPropertiesTest_asGroupList.java
  1. … 28 more files in changeset.
ISIS-1810: fixes RAT errors prior to M1 release

  1. … 38 more files in changeset.
ISIS-1742 move deprecated Parseable and Encodable to -legacy

    • -209
    • +0
    ./encodable/EncodableFacetFactoryTest.java
    • -218
    • +0
    ./parseable/ParseableFacetAnnotationElseConfigurationFactoryTest.java
  1. … 17 more files in changeset.
ISIS-1742 org.jmock.Expectations 'one' is deprecated

... replacing with 'oneOf'

    • -3
    • +3
    ./parseable/ParseableFacetUsingParserTest.java
  1. … 17 more files in changeset.
ISIS-1906 removing @Parent from applib

introduces new logic, handling

@PropertyLayout(navigable=Navigable.PARENT) as a replacement for @Parent

  1. … 5 more files in changeset.
ISIS-1866 further fixing tests

correcting test logic, removing FIXME markers

    • -1
    • +4
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java
  1. … 2 more files in changeset.
ISIS-1866 further fixing tests

adopt testing logic to current code implementation's behavior, also

updated adoc in the process

    • -1
    • +1
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java
ISIS-1866 further fixing tests

fixing logic to conform with doc

    • -29
    • +30
    ./domainobject/DomainObjectAnnotationFacetFactoryTest.java