applib

Clone Tools
  • last updated 28 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 34 more files in changeset.
ISIS-2158: refining wrapper's ASYNC execution mode, adds java-doc

  1. … 2 more files in changeset.
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

  1. … 6 more files in changeset.
ISIS-2158 fixes some behavior inconsitences regarding domain object execution mode

  1. … 6 more files in changeset.
ISIS-2158 minor code cleanup

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

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

  1. … 27 more files in changeset.
ISIS-2156 bump shiro version 1.3.2 -> 1.4.1

- despite the unresolved shiro issue [1], however the mentioned

workaround appears to work:

filterChainResolver =

org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver

[1] https://issues.apache.org/jira/browse/SHIRO-610

  1. … 6 more files in changeset.
batch update source format:

- Add missing '@Override' annotations

- Correct indentation

- Add file header (JAutodoc)

  1. … 1053 more files in changeset.
batch update source format: organize imports and reorder

0=java

1=javax

2=com

3=org

4=org.apache.isis

5=org.isisaddons

6=org.incode

7=#

  1. … 786 more files in changeset.
ISIS-2125 remove the CountDownLatch from Isis' Transaction API

- instead let the IsisTransactionAspectSupport allow for task

synchronization on transactions

- fixes the basic BackgroundService smoke-test

- however, action-domain-events are not yet triggered when invoking via

BackgroundService

  1. … 18 more files in changeset.
ISIS-2125 batch update format: makes all injection points one-liners

  1. … 44 more files in changeset.
ISIS-2125 major (breaking) commit: new transaction paradigma

- opening an isis session does no longer open a transactional context

  1. … 60 more files in changeset.
ISIS-2125 batch-update license headers for *.java files

  1. … 318 more files in changeset.
ISIS-2123 ServiceRegistry: don't register beans of unknown sort

  1. … 8 more files in changeset.
ISIS-2151 MenuBars Services: code polishing

- also fixes the security menu (layout) in demo-app

  1. … 2 more files in changeset.
ISIS-2146 reinstates Mixins Object_objectIdentifier/Type (smart logic)

  1. … 1 more file in changeset.
ISIS-2146 renames just introduced HoldsMetamodel -> HoldsMetadata

- also provides new _Resource shortcut for the most common use-case:

String loadAsStringUtf8(Class<?> contextClass, String resourceName)

  1. … 9 more files in changeset.
ISIS-2146 degrades Mixins Object_objectIdentifier, Object_objectType

- instead we provide a new interface HoldsMetamodel for the new Mixins

to be associated with

- also cleans-up/simplifies all the Mixin code within applib

  1. … 4 more files in changeset.
ISIS-2155 adds ZipWriter to 'applib', BlobClobFactory to B(C)lob's pkg

  1. … 1 more file in changeset.
ISIS-2125 marks TransactionService.nextTransaction* deprecated

- removes references to TransactionService.nextTransaction* from the

Fixtures Extension

  1. … 4 more files in changeset.
ISIS-2148 minor: align mixin's source code format

ISIS-2152 adds ViewModel creation to the FactoryService (API)

- also removes 'm' (=mixin) shortcut from FactoryService interface

  1. … 10 more files in changeset.
ISIS-2140 minor/java-doc: remove misplaced package info

  1. … 1 more file in changeset.
ISIS-2140 remove DomainService.menuOrder

  1. … 22 more files in changeset.
ISIS-2140 remove DomainServiceLayout.menuOrder

  1. … 11 more files in changeset.
ISIS-2142 removes deprecated NatureOfService.VIEW_MENU_ONLY

  1. … 7 more files in changeset.
ISIS-2142 removes deprecated NatureOfService.VIEW_MENU_ONLY

  1. … 25 more files in changeset.
ISIS-2146: adds two new "metadata" property mixins

ISIS-2145: moves Object_downloadMetaModelXml into the applib.

inlines the Util class to MetaModelServicesMenu since no longer shared.