ing @Property, @Collection or @Action should emit domain
> events
> -
>
> Key: ISIS-2235
> URL: https://issues.apache.org/jira/browse/ISIS-2235
> Project: Isis
xin collection should only ever emit
> collection domain events; ditto for properties.
> -
>
> Key: ISIS-3239
> URL: https://issues.apac
rty, @Collection or @Action should emit domain
> events
> -
>
> Key: ISIS-2235
> URL: https://issues.apache.org/jira/browse/ISIS-2235
> Project: Isis
>
Daniel Keir Haywood created ISIS-3239:
-
Summary: To avoid leaky abstractions, a mixin collection should
only ever emit collection domain events; ditto for properties.
Key: ISIS-3239
URL: https
: Daniel Keir Haywood
> Mixins declared using @Property, @Collection or @Action should emit domain
> events
> -
>
> Key: ISIS-2235
> URL: https://issues.apache.org/jir
rty, @Collection or @Action should emit domain
> events
> -
>
> Key: ISIS-2235
> URL: https://issues.apache.org/jira/browse/ISIS-2235
> Project: Isis
>
danhaywood closed pull request #688:
URL: https://github.com/apache/isis/pull/688
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
danhaywood opened a new pull request #688:
URL: https://github.com/apache/isis/pull/688
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[
https://issues.apache.org/jira/browse/ISIS-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood resolved ISIS-2650.
---
Resolution: Duplicate
duplicate of ISIS-2235
> [DUPLICATE] Support domain eve
:
duplicate of ISIS-2235
At the moment we have to use a workaround of emitting action domain events
In particular, need to address for two framework-provided mixins:
* Object_logicalTypeName
* Object_objectIdentifier
was:
At the moment we have to use a workaround of emitting action domain events
using a PostProcessor
(which acts after the mixin members exist).
~~~
Original problem as raised:
In particular, doesn't properly create domain events if abstract and invoke via
the wrapper (ie during integ tests)
fix? don't use getDeclaredFields, instead getFields (I think... to test
[
https://issues.apache.org/jira/browse/ISIS-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood updated ISIS-2650:
--
Description:
At the moment we have to use a workaround of emitting action domain events
:
At the moment we have to use a workaround of emitting action domain events
In particular, need to address for two framework-provided mixins:
* Object_objectType
* Object_objectIdentifier
Summary: Support domain events for property and collection mixins
(was: Domain events
).
~~~
Original problem as raised:
In particular, doesn't properly create domain events if abstract and invoke via
the wrapper (ie during integ tests)
fix? don't use getDeclaredFields, instead getFields (I think... to test)
example in estatio - HasDocumentAbstract_categoriseAbstract subclasses
events (was: Mixins declared using @Property, @Collection or
@Action should propagate facets correctly)
> Mixins declared using @Property, @Collection or @Action should emit domain
> events
> -
>
>
Daniel Keir Haywood created ISIS-2650:
-
Summary: Domain events for Object_objectType and _objectIdentifier
are incorrect.
Key: ISIS-2650
URL: https://issues.apache.org/jira/browse/ISIS-2650
[
https://issues.apache.org/jira/browse/ISIS-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood updated ISIS-1628:
--
Fix Version/s: 2.0.0-M5
> MixinFacet doesn't properly create domain events if abstr
[
https://issues.apache.org/jira/browse/ISIS-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood reassigned ISIS-1628:
-
Assignee: Daniel Keir Haywood
> MixinFacet doesn't properly create domain eve
01b627e8085cf8a29aa4ace57056886cb7c91a8b in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=01b627e ]
ISIS-1628: no longer requires method to be overridden in mixin subclass.
> MixinFacet doesn't properly create domain events if abstract and invoke
3b0525c2fac27881f0b26c41e3de8fdb48eb0b96 in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=3b0525c ]
ISIS-1628: no longer requires method to be overridden in mixin subclass.
> MixinFacet doesn't properly create domain events if abstract and invoke
[
https://issues.apache.org/jira/browse/ISIS-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood closed ISIS-1281.
-
> Provide a programming API (probably via domain events) to allow object
> visi
> Provide a programming API (probably via domain events) to allow object
> visibility to be vetoed.
> ---
>
> Key: ISIS-1281
> URL: https://issues.apache.org/jir
[
https://issues.apache.org/jira/browse/ISIS-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood reassigned ISIS-1281:
-
Assignee: Daniel Keir Haywood
> Provide a programming API (probably via dom
[
https://issues.apache.org/jira/browse/ISIS-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood updated ISIS-1281:
--
Fix Version/s: 2.0.0-M4
> Provide a programming API (probably via domain eve
cet doesn't properly create domain events if abstract and invoke via
> the wrapper (ie during integ tests)
> ---
>
> Key: ISIS-1628
> URL: https:/
)
Fix Version/s: (was: 2.1.4)
> Provide a programming API (probably via domain events) to allow object
> visibility to be vetoed.
> ---
>
> Key: ISIS-1281
>
via domain events) to allow object
> visibility to be vetoed.
> ---
>
> Key: ISIS-1281
> URL: https://issues.apache.org/jira/browse/ISIS-1281
>
[
https://issues.apache.org/jira/browse/ISIS-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-1628:
--
Fix Version/s: (was: 2.0.0)
2.0.0-M5
> MixinFacet doesn't properly create dom
83667dd2a6365bb2b6b5532cb21e24dbc42ec337 in isis's branch
refs/heads/release-1.17.0-RC1 from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=83667dd ]
ISIS-2043: updates docs of AbstractDomainEvent and ActionDomainEvent
> Allow domain events to be specified at @DomainObject, and make mixins aw
[
https://issues.apache.org/jira/browse/ISIS-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood closed ISIS-2043.
-
> Allow domain events to be specified at @DomainObject, and make mixins aw
[
https://issues.apache.org/jira/browse/ISIS-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-2043.
---
Resolution: Fixed
> Allow domain events to be specified at @DomainObject, and make mixins aw
e85504a28e2e3da3fb49cfefff8bb3327d7d21e0 in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=e85504a ]
ISIS-2043: removes accidentally committed test class
> Allow domain events to be specified at @DomainObject, and make mixins aw
cab9e464aa0b9661ada58ab3a0f9b2512afc63d0 in isis's branch
refs/heads/2039-Redesign_of_Config from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=cab9e46 ]
ISIS-2043: adds ActionDomainEvent#getSubject() as a convenience
> Allow domain events to be specified at @DomainObject, and make mixins aw
b9adf68d3cb78424c6c081a95d79911d5692d07c in isis's branch
refs/heads/2039-Redesign_of_Config from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=b9adf68 ]
ISIS-2043: adds domainEvents for @DomainObject
> Allow domain events to be specified at @DomainObject, and make mixins aw
.
In fact, this contains a few other fixes:
* previously, although mixin actions did emit domain events for all phases
(hide/disable/validate/executing/executed), mixin properties and mixin
collections emitted none. Now this is fixed so that the emit domain events for
the first two phases (hide
e85504a28e2e3da3fb49cfefff8bb3327d7d21e0 in isis's branch
refs/heads/2039-Redesign_of_Config from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=e85504a ]
ISIS-2043: removes accidentally committed test class
> Allow domain events to be specified at @DomainObject, and make mixins aw
901b63e2236bd93ed3af8a4b5e188dddecd27dd5 in isis's branch
refs/heads/2039-Redesign_of_Config from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=901b63e ]
ISIS-2043: updates docs for @DomainObject#xxxDomainEvent
> Allow domain events to be specified at @DomainObject, and make mixins aw
e85504a28e2e3da3fb49cfefff8bb3327d7d21e0 in isis's branch refs/heads/v2
from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=e85504a ]
ISIS-2043: removes accidentally committed test class
> Allow domain events to be specified at @DomainObject, and make mixins aw
b9adf68d3cb78424c6c081a95d79911d5692d07c in isis's branch refs/heads/v2
from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=b9adf68 ]
ISIS-2043: adds domainEvents for @DomainObject
> Allow domain events to be specified at @DomainObject, and make mixins aw
cab9e464aa0b9661ada58ab3a0f9b2512afc63d0 in isis's branch refs/heads/v2
from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=cab9e46 ]
ISIS-2043: adds ActionDomainEvent#getSubject() as a convenience
> Allow domain events to be specified at @DomainObject, and make mixins aw
901b63e2236bd93ed3af8a4b5e188dddecd27dd5 in isis's branch refs/heads/v2
from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=901b63e ]
ISIS-2043: updates docs for @DomainObject#xxxDomainEvent
> Allow domain events to be specified at @DomainObject, and make mixins aw
, this contains a few other fixes:
* previously, although mixin actions did emit domain events for all phases
(hide/disable/validate/executing/executed), mixin properties and mixin
collections emitted none. Now this is fixed so that the emit domain events for
the first two phases (hide/disable
901b63e2236bd93ed3af8a4b5e188dddecd27dd5 in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=901b63e ]
ISIS-2043: updates docs for @DomainObject#xxxDomainEvent
> Allow domain events to be specified at @DomainObject, and make mixins aw
cab9e464aa0b9661ada58ab3a0f9b2512afc63d0 in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=cab9e46 ]
ISIS-2043: adds ActionDomainEvent#getSubject() as a convenience
> Allow domain events to be specified at @DomainObject, and make mixins aw
b9adf68d3cb78424c6c081a95d79911d5692d07c in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=b9adf68 ]
ISIS-2043: adds domainEvents for @DomainObject
> Allow domain events to be specified at @DomainObject, and make mixins aw
, this contains a few other fixes:
* previously, although mixin actions did emit domain events for all phases
(hide/disable/validate/executing/executed), mixin properties and mixin
collections emitted none. Now this is fixed so that the emit domain events for
the first two phases (hide/disable
Dan Haywood created ISIS-2043:
-
Summary: Allow domain events to be specified at @DomainObject, and
make mixins aware of this.
Key: ISIS-2043
URL: https://issues.apache.org/jira/browse/ISIS-2043
Project
> MixinFacet doesn't properly create domain events if abstract and invoke via
> the wrapper (ie during integ tests)
> ---
>
> Key: ISIS-1628
>
I just realized, we are planning to deprecate support for Guava's event
bus with Isis 2.0.0 anyway [1].
Consequently I'll update my test methodology regarding JEE 7+ support [2].
[1] https://issues.apache.org/jira/browse/ISIS-1753
[2] https://issues.apache.org/jira/browse/ISIS-1767
On
Andi sorry. The speller he he ...
> El 10 nov 2017, a las 23:24, Óscar Bou - GOVERTIS
> escribió:
>
>
>
>
> Hi Andy.
>
> Guava event bus implementation is not useful for many use cases, as it
> enqueues calls, changing the usually expected execution flow.
> That was
Hi Andy.
Guava event bus implementation is not useful for many use cases, as it enqueues
calls, changing the usually expected execution flow.
That was the initial reason we implemented the Axon event bus support.
I saw CDI event bus implementation and seems it can handle that use case
I just realized, we have Axon as isis/runtime dependency for more than a
year now!? (Had thought that was a very recent change in direction.)
So I guess, we may put CDI event processing on the wish-list for now,
and support Axon on JEE.
Cheers, Andi
On 28.10.2017 11:00, Andi Huber wrote:
> Hi
Hi Dan,
while working on JEE support for Isis, I encountered difficulties with
the Axon framework:
Just the first exception thrown (there might be other issues as well)
originates from Axon requesting an EntityManager from JEE, which is not
available out of the box if not configured. (And we
[
https://issues.apache.org/jira/browse/ISIS-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-1628:
--
Fix Version/s: (was: 1.15.0)
2.1.0
> MixinFacet doesn't properly create dom
[
https://issues.apache.org/jira/browse/ISIS-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood reassigned ISIS-1628:
-
Assignee: Dan Haywood
> MixinFacet doesn't properly create domain events if abstract and inv
/DomainObjectInvocationHandler.java#L297
does not find the actual ObjectActionMixedIn (the mixin's ObjectActionDefault
does not match)
> MixinFacet doesn't properly create domain events if abstract and invoke via
> the wrapper (ie during integ
.
> MixinFacet doesn't properly create domain events if abstract and invoke via
> the wrapper (ie during integ tests)
> ---
>
> Key: ISIS-1628
>
[
https://issues.apache.org/jira/browse/ISIS-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-1628:
--
Summary: MixinFacet doesn't properly create domain events if abstract and
invoke via the wrapper (ie
Dan Haywood created ISIS-1628:
-
Summary: MixinFacet doesn't properly create domain events if
abstract
Key: ISIS-1628
URL: https://issues.apache.org/jira/browse/ISIS-1628
Project: Isis
Issue
[
https://issues.apache.org/jira/browse/ISIS-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-1343.
---
Resolution: Fixed
> Properly handle domain events from mixins, exposing the underlying "
[
https://issues.apache.org/jira/browse/ISIS-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-1343:
--
Labels: implemented (was: )
> Properly handle domain events from mixins, exposing the underly
(rather than merely
IdentifiedHolder = FacetedMethod) to the
DomainEventHelper#postEventForAction(...); this ensures that the domain event's
param names and param types are correctly populated in all cases.
Update the HideMixinsForHomePage subscriber to use the new API.
> Properly handle dom
/ActionInvocationFacetWrapTransaction.java
> Properly handle domain events from mixins, exposing the underlying "mixedIn"
> domain object.
> ---
>
> Key: ISIS-1343
> URL: ht
/ActionInvocationFacetWrapTransaction.java
> Properly handle domain events from mixins, exposing the underlying "mixedIn"
> domain object.
> ---
>
> Key: ISIS-1343
> URL: ht
(rather than merely
IdentifiedHolder = FacetedMethod) to the
DomainEventHelper#postEventForAction(...); this ensures that the domain event's
param names and param types are correctly populated in all cases.
Update the HideMixinsForHomePage subscriber to use the new API.
> Properly handle dom
Dan Haywood created ISIS-1343:
-
Summary: Properly handle domain events from mixins, exposing the
underlying "mixedIn" domain object.
Key: ISIS-1343
URL: https://issues.apache.org/jira/browse
that this is also required for property and collection mixins, also.
> Properly handle domain events from mixins, exposing the underlying "mixedIn"
> domain object.
> ---
>
>
via domain events) to allow object
> visibility to be vetoed.
> ---
>
> Key: ISIS-1281
> URL: https://issues.apache.org/jira/browse/ISIS-1281
>
Dan Haywood created ISIS-1281:
-
Summary: Provide a programming API (probably via domain events) to
allow object visibility to be vetoed.
Key: ISIS-1281
URL: https://issues.apache.org/jira/browse/ISIS-1281
Fix For: 1.11.0
>
>
> At same time, should then change the UiEvents so that their default is
> Xxx.Default (like the domain events) rather than Xxx.Noop.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
set to Noop domain events
> --
>
> Key: ISIS-1254
> URL: https://issues.apache.org/jira/browse/ISIS-1254
> Project: Isis
> Issue Type: Improvement
>
set to Noop domain events
> --
>
> Key: ISIS-1254
> URL: https://issues.apache.org/jira/browse/ISIS-1254
> Project: Isis
> Issue Type: Improvement
>
for
default (1255)
> Provide configuration property so that domain events set to Xxx.Default are
> either ignored (like the Noop) or are posted
Fix For: 1.11.0
>
>
> At same time, should then change the UiEvents so that their default is
> Xxx.Default (like the domain events) rather than Xxx.Noop.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[
https://issues.apache.org/jira/browse/ISIS-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-1255.
---
Resolution: Fixed
> Provide configuration property so that domain events set to Xxx.Defa
[
https://issues.apache.org/jira/browse/ISIS-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-1254.
---
Resolution: Fixed
> Disable action/property/collection events if set to Noop domain eve
for
default (1255)
> Provide configuration property so that domain events set to Xxx.Default are
> either ignored (like the Noop) or are posted
Dan Haywood created ISIS-1255:
-
Summary: Provide configuration property so that domain events set
to Xxx.Default are either ignored (like the Noop) or are posted anyway.
Key: ISIS-1255
URL: https://issues.apache.org
Dan Haywood created ISIS-1254:
-
Summary: Disable action/property/collection events if set to Noop
domain events
Key: ISIS-1254
URL: https://issues.apache.org/jira/browse/ISIS-1254
Project: Isis
[
https://issues.apache.org/jira/browse/ISIS-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-1211.
---
Resolution: Fixed
> Provide no-arg versions of domain events, to avoid boilerplate in the dom
[
https://issues.apache.org/jira/browse/ISIS-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-1045:
--
Fix Version/s: (was: 1.10.0)
1.9.0
New domain events are created for each phase
to get rid of the
threadlocal and just reuse the same event from EXECUTING to EXECUTED. If there
is a requirement to pass information from validating to executing, then use
QueryResultsCache or the Scratchpad services.
New domain events are created for each phase for properties
[
https://issues.apache.org/jira/browse/ISIS-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-1045.
---
Resolution: Fixed
New domain events are created for each phase for properties
nested events.
We've implemented another Event Bus based on Axon (simpler implementation than
the one provided on the patch, as we only needed to support our own dispatched
Events).
Basically we currently use the Isis Event Bus for Isis infra. supported domain
events, but the Axon based one for our
behavior (Commented in another
ticket).
But please don't revert patch for having access to user data without supporting
multiple actions executed through the wrapper factory.
New domain events are created for each phase for properties, but not for
collections nor actions. The current design
/browse/guava/src/com/google/common/eventbus/EventBus.java#119
New domain events are created for each phase for properties, but not for
collections nor actions. The current design doesn't support use of the
wrapper factory
an issue here.
New domain events are created for each phase for properties, but not for
collections nor actions. The current design doesn't support use of the
wrapper factory
87 matches
Mail list logo