Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1998: at type-level now supported @Collection and @CollectionLayout

- follows same semantic as @Property and @PropertyLayout

    • -0
    • +50
    ./testdomain/model/good/ProperActionSupport_collection.java
    • -0
    • +51
    ./testdomain/model/good/ProperActionSupport_collection2.java
  1. … 6 more files in changeset.
ISIS-1998: also type-level processes @ActionLayout and @PropertyLayout

  1. … 4 more files in changeset.
ISIS-1998: infers intent when using @Property with mixins ...

- when @Property at type level: infers @Action(semantics=SAFE) and

@Mixin(methodName="proc")

- when @Property at method level: infers @Action(semantics=SAFE), but

@Mixin at type level is still required

    • -0
    • +46
    ./testdomain/model/good/ProperActionSupport_property2.java
  1. … 5 more files in changeset.
ISIS-1998: allows @Action on type as synonym for @Mixin(method="act")

    • -0
    • +44
    ./testdomain/model/good/ProperActionSupport_property.java
  1. … 26 more files in changeset.
ISIS-1998: use @Mixin as meta-annotation on @Action, @Property ...

  1. … 11 more files in changeset.
ISIS-2158: non-invasive preparations for ISIS-1998

adding tests first (test driven development) before actually modifying

the programming model ...

1. facet processing tests

2. smoketests to test whether the generated meta-model is as expected

    • -0
    • +44
    ./testdomain/model/good/ProperActionSupport_action.java
    • -0
    • +45
    ./testdomain/model/good/ProperActionSupport_mixin.java
  1. … 23 more files in changeset.
ISIS-2158: fixes NamedFacet picking up on empty 'named' attribute

    • -0
    • +44
    ./testdomain/model/good/ProperLayoutOnPropertyWithLombok.java
  1. … 3 more files in changeset.
ISIS-2158: fixes the annotation syntesizer (proxy generator)

- did fail when a method had multiple annotations sharing the same

attribute

    • -0
    • +34
    ./testdomain/model/bad/InvalidOrphanedActionSupport.java
    • -0
    • +34
    ./testdomain/model/bad/InvalidOrphanedCollectionSupport.java
    • -0
    • +34
    ./testdomain/model/bad/InvalidOrphanedPropertySupport.java
    • -0
    • +37
    ./testdomain/model/bad/InvalidPropertyAnnotationOnAction.java
    • -34
    • +0
    ./testdomain/model/bad/OrphanedCollectionSupport.java
  1. … 4 more files in changeset.
ISIS-2158: config-beans: adding test case for 'ConnectionURL'

    • -1
    • +1
    ./testdomain/conf/Configuration_usingJdo.java
  1. … 5 more files in changeset.
ISIS-2158: attempt to simplify some of the spec-loading code

    • -7
    • +1
    ./testdomain/conf/Configuration_usingJdo.java
    • -6
    • +0
    ./testdomain/conf/Configuration_usingJdoAndShiro.java
    • -8
    • +1
    ./testdomain/model/bad/Configuration_usingInvalidDomain.java
    • -8
    • +1
    ./testdomain/model/good/Configuration_usingValidDomain.java
  1. … 5 more files in changeset.
ISIS-2158: fixes all core tests; maven core standard build works

  1. … 4 more files in changeset.
ISIS-2158: class discovery: removes the need for a custom scan-filter

- @Singleton is no longer discovered!

- use @Service or @DomainService instead

- the IsisBeanScanInterceptorForSpring is now a NoOp, waiting to be

removed

- IsisBoot installs the IsisBeanFactoryPostProcessorForSpring which is

the replacement for the filter above

    • -0
    • +15
    ./testdomain/conf/Configuration_usingStereotypes.java
    • -0
    • +27
    ./testdomain/model/stereotypes/MyObject.java
    • -0
    • +36
    ./testdomain/model/stereotypes/MyObject_mixin.java
    • -0
    • +26
    ./testdomain/model/stereotypes/MyService.java
    • -0
    • +26
    ./testdomain/model/stereotypes/MyView.java
  1. … 93 more files in changeset.
ISIS-2062: factors out isis-security-bypass.

    • -3
    • +3
    ./testdomain/jdo/JdoTestDomainPersona.java
  1. … 258 more files in changeset.
ISIS-2158: remove requirement for event-objects to be serializable

- replaces the root of the DomainEvent class hierarchy

java.util.EventBase with org.apache.isis.applib.events.domain.EventObjectBase

    • -2
    • +1
    ./testdomain/jdo/InventoryManager.java
  1. … 68 more files in changeset.
ISIS-2161: adds a new annotation: Model

- new validation: SupportingMethodValidatorRefinerFactory

- replaces validation via MethodPrefixBasedFacetFactoryAbstract

    • -0
    • +34
    ./testdomain/model/bad/OrphanedActionSupport.java
    • -0
    • +34
    ./testdomain/model/bad/OrphanedCollectionSupport.java
    • -0
    • +34
    ./testdomain/model/bad/OrphanedPropertySupport.java
    • -34
    • +0
    ./testdomain/model/bad/UnresolvableReferencedAction.java
    • -0
    • +42
    ./testdomain/model/good/ProperActionSupport.java
    • -0
    • +44
    ./testdomain/model/good/ProperCollectionSupport.java
    • -0
    • +39
    ./testdomain/model/good/ProperPrefixedAction.java
    • -0
    • +34
    ./testdomain/model/good/ProperPrefixedMember.java
    • -0
    • +42
    ./testdomain/model/good/ProperPropertySupport.java
  1. … 10 more files in changeset.
ISIS-2161: Remove domain-object member naming restrictions

- we no longer check for previously reserved prefixes on actions (hide,

disable, ...)

  1. … 3 more files in changeset.
ISIS-2158: fixes MM validation on deprecated NatureOfService options

- also cleans up (de-duplicates) prefix constants

    • -3
    • +3
    ./testdomain/conf/isis-non-changing.properties
    • -2
    • +5
    ./testdomain/model/bad/UnresolvableReferencedAction.java
    • -15
    • +0
    ./testdomain/model/good/GoodDomainObject.java
    • -0
    • +26
    ./testdomain/model/good/ReservedPrefixedMember.java
  1. … 12 more files in changeset.
ISIS-2158: NatureOfService: resurrect former enum options

- in order to ease domain code migration (from 1.x to 2.x)

- also providing more precise specifications with associated java-doc

    • -1
    • +1
    ./testdomain/jdo/InventoryResource.java
  1. … 5 more files in changeset.
ISIS-2158: fixes prorgammatic metamodel validation

- also extends the ValidationFailure gathering functionality to also

record the originating class/member/parameter, where the validation

failure occurred

- allows for smoketests to filter the gathered validation failures by

particular domain-object types of interest (which previously was not

possible by only relying on the failure message text)

    • -0
    • +19
    ./testdomain/model/bad/AmbiguousTitle.java
    • -30
    • +0
    ./testdomain/model/bad/BadTitle.java
    • -0
    • +31
    ./testdomain/model/bad/UnresolvableReferencedAction.java
    • -27
    • +0
    ./testdomain/model/good/ValidDomain.java
  1. … 45 more files in changeset.
ISIS-2158: adds new debugging presets

- debug logging for the programming model and its refiners

- also adds stubs for metamodel validation smoketesting with good and

bad domain-objects

    • -15
    • +0
    ./testdomain/conf/Configuration_headless.java
    • -0
    • +30
    ./testdomain/model/bad/BadTitle.java
    • -0
    • +38
    ./testdomain/model/bad/Configuration_usingInvalidDomain.java
    • -0
    • +38
    ./testdomain/model/good/Configuration_usingValidDomain.java
    • -0
    • +15
    ./testdomain/model/good/GoodDomainObject.java
    • -0
    • +27
    ./testdomain/model/good/ValidDomain.java
  1. … 12 more files in changeset.
ISIS-2158 provide a 'headless' configuration for 'smoketests'

- that is bootstrapping without any persistence layer

    • -0
    • +145
    ./testdomain/conf/Configuration_headless.java
    • -1
    • +2
    ./testdomain/conf/Configuration_usingJdo.java
    • -1
    • +2
    ./testdomain/conf/Configuration_usingJdoAndShiro.java
    • -0
    • +56
    ./testdomain/conf/isis-non-changing.properties
    • -66
    • +0
    ./testdomain/jdo/isis-non-changing.properties
    • -0
    • +26
    ./testdomain/jdo/isis-persistence.properties
  1. … 2 more files in changeset.
ISIS-2128 fixes broken TimestampingService

- its now the responsibility of any persistence plugin (like JDO) to

publish (newly introduced) PreStore and PostStore events on the

framework's eventbus

- TimestampingService is now re-implemented to simply listen for

PreStore events and then act on the persistable objects that are passed

over by these events

- TimestampingService was also de-coupled from any JDO specific code,

which allowed us to move it to the 'runtime' module

    • -0
    • +55
    ./testdomain/jdo/ProductComment.java
  1. … 15 more files in changeset.
ISIS-2158: simplify application configuration

in case there are multiple configurations to pick from when

bootstrapping with Spring, picking one configuration class works just

fine if the other are not auto-discovered by Spring's package scanning;

so the solution is to move any Spring configuration beans out of the

scanned package hierarchy

this commit does this for 'smoketests' and 'simpleapp' by moving the

config beans into xxx.conf packages that are out of scanning scope

    • -0
    • +69
    ./testdomain/conf/Configuration_usingJdo.java
    • -0
    • +85
    ./testdomain/conf/Configuration_usingJdoAndShiro.java
    • -47
    • +7
    ./testdomain/jdo/JdoTestDomainModule.java
    • -87
    • +0
    ./testdomain/jdo/JdoTestDomainModule_withShiro.java
  1. … 31 more files in changeset.
ISIS-2158 simplifies SvenApplicationUser persona

    • -9
    • +3
    ./testdomain/jdo/JdoTestDomainPersona.java
ISIS-2158 introduces 2 prototypes sub-classing BuilderScriptAbstract

- BuilderScriptWithResult

- BuilderScriptWithoutResult

to further simplify persona declarations

see for example usage

https://github.com/apache/isis/blob/v2/examples/smoketests/src/main/java/org/apache/isis/testdomain/jdo/JdoTestDomainPersona.java

    • -24
    • +15
    ./testdomain/jdo/JdoTestDomainPersona.java
  1. … 7 more files in changeset.
ISIS-2158 fixes transaction related smoketests

- also bumps h2/hsqldb to their latest versions

consecutive smoketest runs might run into an issue with jdo/schema

creation failing due to schema not found, but running test classes

individually does work

    • -10
    • +50
    ./testdomain/jdo/JdoTestDomainPersona.java
  1. … 19 more files in changeset.
ISIS-2158 refining TransactionService (API)

- executeWithinTransaction(task) now reuses any existing tx boundary

- executeWithinNewTransaction(task) forces creation of a new tx boundary

JDO does not support transaction nesting, so we reuse tx boundaries by

default. This should allow for better tx rollback support.

    • -17
    • +18
    ./testdomain/jdo/JdoTestDomainPersona.java
  1. … 12 more files in changeset.
ISIS-2158 rename Presets -> IsisPresets

- also simplifies preset property source configuration usage

    • -3
    • +3
    ./testdomain/jdo/JdoTestDomainModule.java
    • -3
    • +3
    ./testdomain/jdo/JdoTestDomainModule_withShiro.java
  1. … 14 more files in changeset.
ISIS-2156 hotfix: disable HttpSessions creation when basic-auth strategy

- several principal and related objects have been improved to procude

less stress on the heap

- smoketests added that also test for the absence of a HttpSession when

using basic-auth strategy against a rest endpoint

- also moves the new restclient introduced with v2 from applib to a new

extension module 'restclient'

- improvements to the restclient to also handle scalar value types

    • -54
    • +0
    ./testdomain/jdo/InventoryRepository.java
    • -0
    • +79
    ./testdomain/jdo/InventoryResource.java
  1. … 32 more files in changeset.
batch update source format:

- Add missing '@Override' annotations

- Correct indentation

- Add file header (JAutodoc)

    • -11
    • +11
    ./testdomain/jdo/InventoryManager.java
    • -19
    • +37
    ./testdomain/jdo/InventoryRepository.java
    • -1
    • +1
    ./testdomain/jdo/JdoTestApplication.java
    • -14
    • +14
    ./testdomain/jdo/JdoTestDomainModule.java
    • -27
    • +27
    ./testdomain/jdo/JdoTestDomainModule_withShiro.java
    • -18
    • +18
    ./testdomain/jdo/JdoTestDomainPersona.java
    • -4
    • +22
    ./testdomain/ldap/LdapConstants.java
    • -59
    • +59
    ./testdomain/rest/RestService.java
  1. … 1057 more files in changeset.