Clone
 

andi huber <ahuber@apache.org> in isis-git

ISIS-2158 fixes compilation of FixtureScripts.runPersonas(...)

- using explicit downcasts of the argument's generic types

- previously would compile with eclipse but not with javac

ISIS-2158 deprecats ThreadPoolSupport in favor of new ConcurrentTaskList

- ConcurrentTaskList (internal API) hopefully provides a simpler and

more flexible solution to concurrent task execution

  1. … 5 more files in changeset.
ISIS-2158 showcase the DomainModel validation with 'simpleapp'

- realized as a test-case with 'DomainModel_IntegTest'

- this replaces the 'validate' functionality of the former

isis-maven-plugin

ISIS-2158 re-enables/fixes the metamodel tests for 'simpleapp'

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 fixes simple-app`s 'Smoke_IntegTest'

ISIS-2158 simple web.xml for simple-app & demo

ISIS-2158 remove debug code

ISIS-2158 re-enables simple-app's demo FixtureScript

- which allows to create 10 SimpleObjects from the prototyping menu

however, I think the 'fixture support extension' needs some serious

overhaul ... I'm still puzzled by these many layers of abstraction

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

ISIS-2158 fixes simple-app launching

    • -0
    • +93
    /examples/apps/simpleapp/webapp/src/main/resources/shiro.ini
ISIS-2158 fixes links to sources for the demo-app

ISIS-2158 remove renamed directory

Merge remote-tracking branch 'origin/master' into v2

ISIS-2158 adding some missing java-doc to 'commons'

Merge pull request #140 from apache/v2-antora

V2 antora

Merge pull request #139 from kshithijiyer/patch-1

Updating the way title is shown in CONTRIBUTING.adoc

ISIS-2158: refining wrapper's ASYNC execution mode, adds java-doc

ISIS-2158 moves the 'core/legacy/legacy' module to 'extensions/legacy'

- also includes the 'extension' modules with the maven core/pom.xml to

build everything (except examples) in one blow

  1. … 25 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'

ISIS-2158 extends the WrapperFactory API, to give users more control

- when using the 'wrapper', the desired execution mode can now be

controlled finer by combining ExectionMode options to an EnumSet, where

now any possible combination is available to the user

- also added a new ASYNC mode Option do be implemented later; idea is to

allow for background execution via the WrapperFactory

ISIS-2158 reinstates a disabled wrapper factory test

ISIS-2158 fixes some behavior inconsitences regarding domain object execution mode

ISIS-2158 minor code cleanup

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

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

ISIS-2158 rename Presets -> IsisPresets

- also simplifies preset property source configuration usage

    • -0
    • +21
    /core/config/src/main/resources/presets/H2InMemory.properties
    • -0
    • +21
    /core/config/src/main/resources/presets/HsqlDbInMemory.properties
    • -0
    • +18
    /core/config/src/main/resources/presets/NoTranslations.properties
ISIS-2156 minor refactoring

ISIS-2156 fixes demo-app shiro setup, gives 'sven' admin privileges

    • -0
    • +58
    /examples/apps/helloworld/src/main/resources/shiro.ini