Clone Tools
  • last updated 26 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1998: use @Mixin as meta-annotation on @Action, @Property ...

    • -0
    • +1
    ./applib/annotation/CollectionLayout.java
    • -0
    • +1
    ./applib/annotation/PropertyLayout.java
  1. … 6 more files in changeset.
ISIS-2158 major: refactoring ProgrammingModel

- provides an API to handle facet processing order via enum

ProcessingOrder

- provides an API to add multiple markers to facet- factories during

their registration with the ProgrammingModel instance

- after registration phase the ProgrammingModel instance is initialized

with an optional facet-factory filter, this allows to filter by markers

eg. Marker.DEPRECATED or Marker.INCUBATING

- removing the obsolete ProgrammingModelPlugin interface

    • -1
    • +1
    ./applib/annotation/CollectionLayout.java
    • -1
    • +1
    ./applib/annotation/PropertyLayout.java
  1. … 35 more files in changeset.
ISIS-2158: non-invasive preparations for ISIS-1998

adding tests first (test driven development) before actually modifying

the programming model ...

1. facet processing tests

2. smoketests to test whether the generated meta-model is as expected

  1. … 24 more files in changeset.
ISIS-2158: adds 'fileAccept' for @Action

unrelated: there is still an issue with @Action annotation processing, hence the quickfix code in ActionAnnotationFacetFactory

  1. … 3 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-2158: cleanup ServiceRegistryDefault

    • -1
    • +3
    ./applib/annotation/DomainService.java
  1. … 4 more files in changeset.
ISIS-2158: moves Server-Sent-Events feature -> 'extensions/sse'

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

    • -47
    • +0
    ./applib/events/sse/EventStream.java
    • -42
    • +0
    ./applib/events/sse/EventStreamService.java
    • -70
    • +0
    ./applib/events/sse/EventStreamSource.java
  1. … 61 more files in changeset.
ISIS-2158: moves programming model extension @Model -> 'incubator'

  1. … 9 more files in changeset.
ISIS-2158: moving BackgroundService (API) and co-workers to 'legacy'

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

  1. … 13 more files in changeset.
ISIS-2158: fixes all mm tests

- there was a strange discrepancy of testing logic v1 vs v2

- assuming v1 test-logic is correct

  1. … 13 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
    • +1
    ./applib/services/command/Command.java
    • -17
    • +89
    ./applib/services/wrapper/AsyncWrap.java
  1. … 8 more files in changeset.
ISIS-2158: wrapper: allow async invocation for mixins as well

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

    • -0
    • +91
    ./applib/services/wrapper/AsyncWrap.java
    • -26
    • +34
    ./applib/services/wrapper/WrapperFactory.java
  1. … 4 more files in changeset.
ISIS-2086: updates some comments, is all

so that they don't appear in search results for "isis.

    • -1
    • +1
    ./applib/events/domain/CollectionDomainEvent.java
    • -1
    • +1
    ./applib/events/domain/PropertyDomainEvent.java
    • -1
    • +1
    ./applib/events/ui/CssClassUiEvent.java
merging ISIS-2086 -> v2

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

    • -1
    • +5
    ./applib/services/i18n/TranslationService.java
  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

    • -0
    • +8
    ./applib/annotation/DomainService.java
    • -3
    • +2
    ./applib/services/clock/ClockService.java
    • -2
    • +3
    ./applib/services/jaxb/JaxbServiceDefault.java
  1. … 90 more files in changeset.
ISIS-2082: spikes the use of type-safe config properties, for two cases.

First is "isis.services.container.disableAutoflush", which is used by RepositoryServiceJdo. Here the config bean can be injected and consumed directly.

Second is "isis.reflector.explicitAnnotations.action", which is used by FacetedMethodBuilder. Here we use the _Spring.getSingleton service locator to read.

  1. … 9 more files in changeset.
ISIS-2158: NatureOfService remove invalid apiNote

    • -5
    • +0
    ./applib/annotation/NatureOfService.java
ISIS-2158: new behavior on deprecated NatureOfService.VIEW_CONTRIBUTIONS_ONLY

- by treating this a synonym for NatureOfService.VIEW, it has the

convenient side-effect, that all the contributed actions show up in the

'others' menu, which is a way to dramatically ease migration

- added notes in java-doc mentioning this convenient side-effect

    • -9
    • +12
    ./applib/annotation/NatureOfService.java
ISIS-2158: cleanup serializaion ids no longer needed

- also mark NatureOfService deprecated options to be removed with

release 2.0.0

    • -13
    • +9
    ./applib/annotation/NatureOfService.java
    • -3
    • +1
    ./applib/mixins/dto/Dto_downloadXml.java
    • -3
    • +1
    ./applib/mixins/dto/Dto_downloadXsd.java
ISIS-2158: minor: typo

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

    • -12
    • +12
    ./applib/domain/DomainObjectList.java
    • -3
    • +2
    ./applib/events/ActionArgumentUsabilityEvent.java
    • -2
    • +0
    ./applib/events/ActionArgumentVisibilityEvent.java
    • -26
    • +4
    ./applib/events/domain/AbstractDomainEvent.java
    • -11
    • +3
    ./applib/events/domain/ActionDomainEvent.java
    • -11
    • +3
    ./applib/events/domain/CollectionDomainEvent.java
    • -0
    • +79
    ./applib/events/domain/EventObjectBase.java
    • -11
    • +3
    ./applib/events/domain/PropertyDomainEvent.java
  1. … 54 more files in changeset.
ISIS-2161: adds a new annotation: Model

- new validation: SupportingMethodValidatorRefinerFactory

- replaces validation via MethodPrefixBasedFacetFactoryAbstract

    • -0
    • +42
    ./applib/annotation/Model.java
  1. … 18 more files in changeset.
ISIS-2158: fixes MM validation on deprecated NatureOfService options

- also cleans up (de-duplicates) prefix constants

    • -0
    • +42
    ./applib/annotation/Support.java
  1. … 15 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

    • -25
    • +73
    ./applib/annotation/NatureOfService.java
  1. … 5 more files in changeset.
ISIS-2158: fixes stereotypes on services that failed MM validation

- we have still failing services, those that contribute to menus

    • -3
    • +3
    ./applib/services/iactn/InteractionContext.java
  1. … 1 more file 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. … 48 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. … 17 more files in changeset.
ISIS-2158 changes MetaModelExporter behavior

- if no package prefixes configured export all instead of none

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

    • -1
    • +1
    ./applib/mixins/dto/Dto_downloadXsd.java
  1. … 19 more files in changeset.