smoketests

Clone Tools
  • last updated 12 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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'

  1. … 2 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

  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. … 11 more files in changeset.
ISIS-2158: performance regression?

  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.

  1. … 7 more files in changeset.
ISIS-2158: spec-loading: simplify spec-cache

  1. … 4 more files in changeset.
ISIS-2158: spec-loading: some refinement and polishing

  1. … 17 more files in changeset.
ISIS-2158: attempt to simplify some of the spec-loading code

  1. … 4 more files in changeset.
ISIS-2158: moves programming model extension @Model -> 'incubator'

  1. … 9 more files in changeset.
ISIS-2158: fixes all core tests; maven core standard build works

  1. … 2 more files in changeset.
ISIS-2158: fixing build issues after merge

  1. … 2 more files in changeset.
ISIS-2158: wrapper: extend async programming model to also match method references that don't return a value (like Runnable)

- BackgroundService seems now obsolete, need to check whether it can be

removed

  1. … 6 more files in changeset.
ISIS-2158: wrapper: redesigns recently introduced async execution

- new programming model allows to get hold of the Future that is

associated with the async action invocation

- type-safe async action invocation supports up to 4 arguments

(extensible)

- users are free to pick an ExecutorService for each individual async

execution, we default to the common ForkJoinPool

- handling of exceptions that occur during async invocation is not yet

well designed (API) or tested

  1. … 6 more files in changeset.
ISIS-2158: minor: java-doc copy & paste error, missing header

ISIS-2086: refactors a bunch of isis.reflector.facet.XxxAnnotation.YyyEvent.postForDefault properties to type-safe config

  1. … 15 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

  1. … 84 more files in changeset.
ISIS-2086: disable class-path scanning for the 'config' module

- also removes the @Configuration annotation from 'IsisConfiguration'

which is just a bean

- instead annotate 'IsisConfigModule' with @Configuration

also fixes the sample apps and smoketests that got broken with one of

the previous config related commits today

  1. … 4 more files in changeset.
ISIS-2086: adds and fixes smoketest for loading IsisConfiguration

- includes simplifications on how we might want to use lombok here

    • -0
    • +58
    ./src/test/java/org/apache/isis/testdomain/config/FooTest.java
    • -0
    • +7
    ./src/test/resources/application-config-test.properties
  1. … 1 more file in changeset.
ISIS-2158: fixes several bugs introduced with previous commit

  1. … 1 more file in changeset.
ISIS-2158: internal API: add shortcuts for trimmed string splitting

- also resurrecting smoketest 'SpringServiceProvisioningTest'

  1. … 1 more file in changeset.
ISIS-2158: annotate incubating smoketests and provide reasons

- such as @Incubating("does not work with surefire")

ISIS-2158: introduces annotations @Incubating + @Smoketest

- annotations only visible to tests within the 'smoketests' module

- @Smoketest .. used on every smoketest class (allows meta annotations)

- @Incubating .. disables test-classes with surefire, but not in IDE

fixes the 'smoketests' maven build (when surefire is enabled)

    • -0
    • +39
    ./src/test/java/org/apache/isis/testdomain/Incubating.java
    • -0
    • +39
    ./src/test/java/org/apache/isis/testdomain/Smoketest.java
  1. … 7 more files in changeset.
ISIS-2158: fixes to some build and test issues

- fixed for Eclipse

- still needs fixing on IntelliJ: type inference issue with

fixtureScripts.runPersona(...)

  1. … 6 more files in changeset.
ISIS-2062: factors out isis-security-bypass.

  1. … 246 more files in changeset.
ISIS-2158: show-casing the designated programming model for event publishing and listening

- smoketests: added a GenericEventPublishingTest

- handling the @Observes annotation, yet remains to be implemented

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

  1. … 68 more files in changeset.
ISIS-2161: adds a new annotation: Model

- new validation: SupportingMethodValidatorRefinerFactory

- replaces validation via MethodPrefixBasedFacetFactoryAbstract

  1. … 8 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. … 2 more files in changeset.
ISIS-2158: add specialized MethodFinderUtils.findMethod_returningText()

- and use it with many of the FacetFactories

  1. … 40 more files in changeset.