Clone Tools
  • last updated 29 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2158: disable client-side caching for the built-in export actions

- switching action semantic from SAFE to NON_IDEMPOTENT for built-in

actions that return Blob/Clob (prototyping menu)

    • -12
    • +7
    ./i18n/po/TranslationServicePoMenu.java
  1. … 3 more files in changeset.
ISIS-2158: change naming strategy for managed-beans

- the bean-name for managed-beans is already required before meta-model

creation

- so we allow @DomainService(objectType=) to override the bean-name as

recognized by Spring immediately after the scan-phase (before the

post-construct phase begins)

- later during meta-model creation, the bean-name as determined above

gets projected into the corresponding meta-model facets; this replaces

the previous behavior of looking up the bean name using annotation

inspection and other naming strategies

- hence the getId() naming strategy for services is no longer supported

  1. … 26 more files in changeset.
ISIS-2158: further regarding terminology

- also consolidate some of the type categorization logic

- a ManagedBeanAdapter is always of BeanSort = MANAGED_BEAN, so field

removed

    • -2
    • +1
    ./homepage/HomePageResolverServiceDefault.java
  1. … 23 more files in changeset.
ISIS-2158: some renaming after clarifying terminology

- ManagedBean <=> injectable

- ManagedObject <=> introspectable

    • -2
    • +2
    ./persist/ObjectAdapterServiceDefault.java
  1. … 24 more files in changeset.
ISIS-2158: major MM refactoring: replace ObjectAdapter -> ManagedObject

- in order to decouple the meta-model from the stateful 'ObjectAdapter'

- instead the lightweigth 'ManagedObject' just holds a PoJos and its

ObjectSpecification

    • -1
    • +2
    ./background/CommandExecutorServiceDefault.java
    • -12
    • +15
    ./command/CommandDtoServiceInternalDefault.java
    • -4
    • +5
    ./ixn/InteractionDtoServiceInternalDefault.java
  1. … 161 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
    ./confmenu/ConfigurationViewServiceDefault.java
    • -1
    • +1
    ./menubars/MenuBarsLoaderServiceDefault.java
  1. … 30 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.

  1. … 15 more files in changeset.
ISIS-2163: IsisSystemEnvironment is now a Spring-managed bean.

To ease migration, provides a static IsisSystemEnvironment#get()

    • -4
    • +9
    ./confmenu/ConfigurationViewServiceDefault.java
    • -1
    • +3
    ./menubars/MenuBarsLoaderServiceDefault.java
  1. … 23 more files in changeset.
ISIS-2158: fixes build issue after merge

- also fixes translation service not understanding the 'disable' synonym

  1. … 1 more file in changeset.
ISIS-2158: moves Server-Sent-Events feature -> 'extensions/sse'

- SSE (API) is experimental, so removed from 'core'

    • -266
    • +0
    ./sse/EventStreamServiceDefault.java
  1. … 64 more files in changeset.
ISIS-2158: moving BackgroundService (API) and co-workers to 'legacy'

- obsolete since latest WrapperFactory.async(...)

    • -151
    • +0
    ./background/BackgroundServiceDefault.java
    • -174
    • +0
    ./background/CommandInvocationHandler.java
    • -102
    • +0
    ./background/ForkingInvocationHandler.java
    • -37
    • +0
    ./background/InvocationHandlerFactory.java
    • -84
    • +0
    ./background/InvocationHandlerFactoryFallback.java
    • -62
    • +0
    ./background/InvocationHandlerFactoryUsingBackgroundCommandService.java
  1. … 9 more files in changeset.
ISIS-2086: refactors 'isis.service.email.*' (about a dozen of them) to type-safe config

    • -41
    • +15
    ./email/EmailServiceDefault.java
  1. … 1 more file 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

    • -2
    • +3
    ./background/BackgroundServiceDefault.java
  1. … 10 more files in changeset.
ISIS-2158: wrapper: allow async invocation for mixins as well

    • -11
    • +11
    ./background/BackgroundServiceDefault.java
  1. … 3 more files in changeset.
merging ISIS-2086 -> v2

- also fixing the TranslationService.Mode.DISABLE(D) synonym issue

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

    • -2
    • +3
    ./authsess/AuthenticationSessionProviderDefault.java
    • -2
    • +3
    ./background/CommandExecutorServiceDefault.java
    • -2
    • +3
    ./bookmarks/BookmarkServiceInternalDefault.java
    • -2
    • +3
    ./factory/FactoryServiceInternalDefault.java
    • -2
    • +3
    ./homepage/HomePageResolverServiceDefault.java
    • -2
    • +2
    ./menubars/MenuBarsLoaderServiceDefault.java
    • -2
    • +2
    ./persist/ObjectAdapterServiceDefault.java
    • -2
    • +3
    ./sessmgmt/SessionManagementServiceDefault.java
  1. … 83 more files in changeset.
ISIS-2086: converts isis.services.translation.po.mode to type-safe config.

  1. … 1 more file in changeset.
ISIS-2086: integrating the new configuration beans with the framework

- rename old IsisConfiguration -> IsisConfigurationLegacy, to make space

for the new 'IsisConfiguration'

- moving IDE-support dependency (maven) to module 'config'

    • -2
    • +2
    ./confmenu/ConfigurationViewServiceDefault.java
  1. … 136 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 deprecats ThreadPoolSupport in favor of new ConcurrentTaskList

- ConcurrentTaskList (internal API) hopefully provides a simpler and

more flexible solution to concurrent task execution

    • -14
    • +6
    ./sse/EventStreamServiceDefault.java
  1. … 19 more files in changeset.
ISIS-2158 minor code cleanup

    • -3
    • +0
    ./background/BackgroundServiceDefault.java
  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.

    • -2
    • +32
    ./xactn/TransactionServiceSpring.java
  1. … 12 more files in changeset.
batch update source format:

- Add missing '@Override' annotations

- Correct indentation

- Add file header (JAutodoc)

    • -1
    • +1
    ./background/BackgroundCommandExecution.java
    • -24
    • +24
    ./background/BackgroundServiceDefault.java
    • -1
    • +1
    ./background/CommandExecutionAbstract.java
    • -47
    • +47
    ./background/CommandExecutorServiceDefault.java
    • -9
    • +9
    ./background/CommandInvocationHandler.java
    • -11
    • +11
    ./background/ForkingInvocationHandler.java
    • -2
    • +3
    ./background/InvocationHandlerFactory.java
    • -9
    • +9
    ./background/InvocationHandlerFactoryFallback.java
    • -3
    • +3
    ./background/InvocationHandlerFactoryUsingBackgroundCommandService.java
    • -24
    • +24
    ./bookmarks/BookmarkServiceInternalDefault.java
    • -8
    • +8
    ./confmenu/ConfigurationViewServiceDefault.java
    • -24
    • +24
    ./factory/FactoryServiceInternalDefault.java
    • -64
    • +64
    ./homepage/HomePageResolverServiceDefault.java
  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=#

    • -3
    • +4
    ./background/BackgroundServiceDefault.java
    • -2
    • +2
    ./background/ForkingInvocationHandler.java
    • -2
    • +2
    ./factory/FactoryServiceInternalDefault.java
    • -2
    • +3
    ./menubars/MenuBarsLoaderServiceDefault.java
    • -3
    • +3
    ./userreg/EmailNotificationServiceDefault.java
  1. … 789 more files in changeset.
ISIS-2125 BackgroundService: adds Auditer and Publisher smoketests

    • -0
    • +1
    ./background/ForkingInvocationHandler.java
  1. … 3 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

    • -21
    • +31
    ./background/BackgroundServiceDefault.java
    • -38
    • +27
    ./background/ForkingInvocationHandler.java
    • -1
    • +3
    ./background/InvocationHandlerFactory.java
    • -6
    • +18
    ./background/InvocationHandlerFactoryFallback.java
    • -1
    • +5
    ./background/InvocationHandlerFactoryUsingBackgroundCommandService.java
    • -19
    • +5
    ./xactn/TransactionServiceSpring.java
  1. … 15 more files in changeset.
ISIS-2125 batch update format: makes all injection points one-liners

    • -5
    • +3
    ./authsess/AuthenticationSessionProviderDefault.java
    • -2
    • +2
    ./bookmarks/BookmarkServiceInternalDefault.java
    • -11
    • +5
    ./command/CommandDtoServiceInternalDefault.java
    • -14
    • +6
    ./factory/FactoryServiceInternalDefault.java
    • -7
    • +10
    ./i18n/po/TranslationServicePoMenu.java
    • -11
    • +6
    ./ixn/InteractionDtoServiceInternalDefault.java
    • -20
    • +8
    ./publish/PublishingServiceInternalDefault.java
    • -2
    • +2
    ./userreg/EmailNotificationServiceDefault.java
  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

    • -6
    • +8
    ./background/BackgroundCommandExecution.java
    • -22
    • +10
    ./background/BackgroundServiceDefault.java
    • -18
    • +10
    ./background/CommandExecutionAbstract.java
    • -5
    • +0
    ./background/CommandExecutorServiceDefault.java
    • -382
    • +0
    ./background/CommandExecutorServiceLegacy.java
    • -12
    • +16
    ./background/ForkingInvocationHandler.java
    • -12
    • +10
    ./sessmgmt/SessionManagementServiceDefault.java
    • -112
    • +0
    ./xactn/TransactionServiceLegacy.java
    • -33
    • +17
    ./xactn/TransactionServiceSpring.java
  1. … 53 more files in changeset.
ISIS-2125 batch-update license headers for *.java files

    • -13
    • +15
    ./authsess/AuthenticationSessionProviderDefault.java
    • -13
    • +15
    ./background/BackgroundCommandExecution.java
    • -12
    • +14
    ./background/BackgroundServiceDefault.java
    • -13
    • +15
    ./background/CommandExecutionAbstract.java
    • -121
    • +88
    ./background/CommandExecutorServiceDefault.java
    • -0
    • +382
    ./background/CommandExecutorServiceLegacy.java
    • -12
    • +14
    ./background/CommandInvocationHandler.java
    • -12
    • +14
    ./background/ForkingInvocationHandler.java
    • -13
    • +15
    ./command/CommandDtoServiceInternalDefault.java
    • -13
    • +15
    ./command/CommandServiceDefault.java
    • -16
    • +0
    ./xactn/TransactionServiceSpring.java
    • -13
    • +15
    ./xmlsnapshot/XmlSnapshotServiceDefault.java
  1. … 320 more files in changeset.
ISIS-2123 ServiceRegistry: don't register beans of unknown sort

    • -2
    • +1
    ./homepage/HomePageResolverServiceDefault.java
  1. … 8 more files in changeset.