Clone Tools
  • last updated 28 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2158: remove some indirections when getting the spec-load instance

    • -5
    • +6
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 11 more files in changeset.
ISIS-2158: intermediate commit, breaks some smoketests

- simplifies interaction between spec-loader and type-registry

- speed up 'isManagedBean' check, by no longer using reflection, when we

already can ask a fully populated hash-map

- converts DefaultedFacet to use new 'IsisConfiguration'

    • -14
    • +1
    ./bootstrapping/AutoConfigurationTest.java
    • -2
    • +1
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 19 more files in changeset.
ISIS-2158: IsisPresets (for logging) ... add silence variant for MM

    • -1
    • +1
    ./domainmodel/AnnotationSyntesizerTest.java
    • -2
    • +1
    ./domainmodel/DomainModelTest_usingBadDomain.java
    • -3
    • +2
    ./domainmodel/DomainModelTest_usingGoodDomain.java
    • -2
    • +1
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 4 more files in changeset.
ISIS-2158: fixes the mixed-in association accept logic

- seems one predicate got flipped during refactoring

    • -5
    • +3
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 3 more files in changeset.
ISIS-2158: some renaming after clarifying terminology

- ManagedBean <=> injectable

- ManagedObject <=> introspectable

    • -2
    • +2
    ./bootstrapping/SpringServiceProvisioningTest.java
    • -53
    • +77
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 23 more files in changeset.
ISIS-2158: introduces a DeficiencyFacet

- facets of this particular type do now get added directly to the

meta-model during validation; these are specifically added to the

facet-holder, that is considered responsible for the failure

- this automatically allows for the meta-model export to also include

deficiency facets, explaining what's going wrong, right at the place

where they originate from

    • -2
    • +2
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 42 more files in changeset.
ISIS-2158: polish meta-model life cycle

    • -3
    • +3
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 13 more files in changeset.
ISIS-2158: consolidate all jdo programming model refiners

- also renames some classes in 'jdo-common' -> IsisXxxJdo

    • -0
    • +14
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 13 more files in changeset.
ISIS-1998: at type-level now supported @Collection and @CollectionLayout

- follows same semantic as @Property and @PropertyLayout

    • -0
    • +13
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 7 more files in changeset.
ISIS-1998: also type-level processes @ActionLayout and @PropertyLayout

    • -0
    • +10
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 6 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

    • -2
    • +5
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 5 more files in changeset.
ISIS-1998: extending MixinFacet to help with early mixin-main method detection

    • -1
    • +1
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 5 more files in changeset.
ISIS-1998: allows @Action on type as synonym for @Mixin(method="act")

    • -0
    • +3
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 27 more files in changeset.
ISIS-1998: use @Mixin as meta-annotation on @Action, @Property ...

    • -2
    • +6
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  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
    • +10
    ./domainmodel/DomainModelTest_usingGoodDomain.java
  1. … 24 more files in changeset.
ISIS-2158: fixes NamedFacet picking up on empty 'named' attribute

    • -5
    • +42
    ./domainmodel/AnnotationSyntesizerTest.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
    • +71
    ./domainmodel/AnnotationSyntesizerTest.java
    • -6
    • +20
    ./domainmodel/DomainModelTest_usingBadDomain.java
  1. … 9 more files in changeset.
ISIS-2158: annotation scanning: minor performance tweaks

- also adding caches, but these are all disabled for now

- we'll need a large sample domain to actually measure performance

    • -7
    • +13
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 12 more files in changeset.
ISIS-2158: have IsisSystemEnvironment cleanup Isis' _Context

- also tries to ensure, there can be only one IsisSystemEnvironment

instance at any time

- moving IsisSystemEnvironment one up in package hierarchy

- we hook into the Spring context's life-cycle and call _Context.clear()

when Spring is about to start the @PostConstuct phase

- also fixes a concurrent testing issue

    • -1
    • +1
    ./domainmodel/DomainModelTest_usingBadDomain.java
    • -7
    • +24
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 32 more files in changeset.
ISIS-2158: let have the ServiceInjector use the same injection point resolving logic (ordering) as Spring does

- @Primary is used prior to others regardless of @Order

ServiceInjector provides backward-compatibility, but maybe we are able

to remove it entirely later.

    • -0
    • +187
    ./bootstrapping/SpringServiceInjectOrderTest.java
    • -135
    • +0
    ./commandexecution/BackgroundExecutionTest.java
    • -3
    • +0
    ./domainmodel/DomainModelTest_usingBadDomain.java
  1. … 12 more files in changeset.
ISIS-2158: more workarounds to fix running a batch of smoketests

    • -6
    • +1
    ./bootstrapping/AutoConfigurationTest.java
    • -0
    • +6
    ./domainmodel/DomainModelTest_usingBadDomain.java
  1. … 1 more file in changeset.
ISIS-2158: removes the IsisSystemEnvironmentProvider

- this indirection is not required

    • -3
    • +3
    ./domainmodel/DomainModelTest_usingBadDomain.java
  1. … 3 more files in changeset.
ISIS-2158: move JdoPersistenceLifecycleService -> jdo-common

- fixes smoketests with headless config

    • -1
    • +3
    ./domainmodel/DomainModelTest_usingBadDomain.java
  1. … 3 more files in changeset.
ISIS-2158: smoketests to have their individual in-mem connections

- adds new 'IsisPresets.H2InMemory_withUniqueSchema'

- also converts DN plugin to use new config bean 'DataNucleusSettings'

However, there might be a random number collision when generating unique

schema names, though highly unlikely. Unfortunately using a UUID as

schema name does not seem to work, its too long (has too many

characters).

  1. … 5 more files in changeset.
ISIS-2158: config-beans: adding test case for 'ConnectionURL'

    • -19
    • +26
    ./publishing/PublisherServiceTest.java
  1. … 3 more files in changeset.
ISIS-2158: MethodRemover: using Set<Method> instead of List<Method>

- should(!?) perform better on classes with lots of methods

- also solving concurrent modification issues when stress testing

spec-loading

    • -2
    • +2
    ./domainmodel/SpecloaderPerformanceTest.java
    • -1
    • +1
    ./publishing/PublisherServiceTest.java
  1. … 5 more files in changeset.
ISIS-2158: refine MethodRemover interface

- less List instances required during spec-loading

- also makes the FacetHolderImpl thread-safe, which is required for

concurrent spec-loading

    • -1
    • +1
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 11 more files in changeset.
ISIS-2158: performance regression?

    • -1
    • +1
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 12 more files in changeset.
ISIS-2158: spec-loading: minor tweaks

- profiling data shows, that basically most of the time is spent doing

reflective stuff like finding annotations including meta-annotations

Instead of writing or own reflection tools (with caching), we could

utilize those that Spring already provides.

    • -3
    • +5
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 7 more files in changeset.
ISIS-2158: spec-loading: simplify spec-cache

    • -2
    • +13
    ./domainmodel/SpecloaderPerformanceTest.java
  1. … 4 more files in changeset.