smoketests

Clone Tools
  • last updated 23 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
ISIS-2158: fixes MM validation on deprecated NatureOfService options

- also cleans up (de-duplicates) prefix constants

  1. … 6 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. … 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)

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

  1. … 11 more files in changeset.
ISIS-2062: reworking the TOC and menu structure

    • -0
    • +6
    ./_adoc/modules/ROOT/_attributes.adoc
    • -0
    • +0
    ./_adoc/modules/ROOT/assets/attachments/.gitkeep
    • -0
    • +0
    ./_adoc/modules/ROOT/assets/images/.gitkeep
    • -0
    • +0
    ./_adoc/modules/ROOT/examples/.gitkeep
    • -0
    • +3
    ./_adoc/modules/ROOT/nav.adoc
    • -0
    • +4
    ./_adoc/modules/ROOT/pages/_attributes.adoc
    • -0
    • +4
    ./_adoc/modules/ROOT/pages/_partials/_attributes.adoc
    • -0
    • +9
    ./_adoc/modules/ROOT/pages/about.adoc
    • -0
    • +39
    ./_adoc/sync_examples.sh
  1. … 1085 more files in changeset.
ISIS-2158 provide a 'headless' configuration for 'smoketests'

- that is bootstrapping without any persistence layer

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

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

  1. … 20 more files in changeset.
ISIS-2158 simplifies SvenApplicationUser persona

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

  1. … 5 more files in changeset.
ISIS-2158: refining wrapper's ASYNC execution mode, adds java-doc

  1. … 2 more files in changeset.
ISIS-2158 implements ASYNC execution for the Wrapper

- for now we are simply utilizing the 'common' ForkJoinPool, but users

might need more control here!

- simple smoketest added to test async execution with the 'wrapper'

  1. … 1 more file in changeset.