This plugin informs external systems about changes in CELUM. Various filters allow you to restrict the scope of the events, so that only relevant events are dispatched. Both the filters and the dispatcher allow for custom implementations through the use of beans. By default we ship simple GET and POST implementations for use in Webhooks.
type: String, required: yes, default: -
The license key for the plugin (product: eventDispatcher), provided by brix.
type: bean names (comma separated), required: no, default: -
Event filters to apply - needs to pass all of them in order to be dispatched. Providing no filters will dispatch all events. Known implementations:
type: bean names (comma separated), required: yes, default: eventDispatcherSimpleGet
Event dispatchers to inform about the event, all will be called in order. Known implementations:
type: int, required: yes, default: 4
Size of the thread pool that dispatches the events
type: string, required: yes, default: http://localhost, applies to: eventDispatcherSimpleGet, eventDispatcherSimplePost
Endpoint to be informed about the event. Adds additional parameters when available:
Example: http://pim.brix.ch/event-handler/celum.do?eventType=AssetAddedEvent&id=1337&name=Ponies&fileName=Ponies.jpg
type: string (comma separated), required: no, default: -, applies to: eventFilterByName
Only pass on events with the following names, list of:
AssetEvents
NodeEvents
UserEvents
UserGroupEvents
PublicUrlEvents
RelationEvents
Other
You can check which events are available by setting the logger of
ch.brix.eventDispatcher.EventDispatcherListener
toINFO
, it will print a list of known events at startup.
type: long, required: no, default: -, applies to: eventFilterByUser
Only pass on events that originate from an asset/node that this user can see
type: long, required: no, default: -, applies to: eventFilterByNode
Only pass on events that originate in a certain node (recursively)
eventDispatcher | CELUM |
---|---|
1.0 - 1.5 | 5.12.4 |
1.6 - 1.7 | 5.13.4 (tested up to 6.8) |
Released 2017-05-19
Initial version with support for eventFilterByName, eventFilterByUser, eventFilterByNode as well as eventDispatcherSimpleGet and eventDispatcherSimplePost.
Released 2017-05-23
Added synthesized events AssetStatusAvailable and AssetStatusUnavailable through a nightly task (in order to detect assets at the egde of their validity period).
Released 2017-08-16
Switched synthesized event source to SolrQueries (way faster)
Released 2018-03-19
Added additional parameters to the GET- and POST-Dispatchers (name and fileName when applicable)
Released 2018-07-07
Refactored default dispatchers to facilitate writing custom dispatchers
Released 2019-01-25
Added license.
Released 2019-03-07
Established compatibility with the new SOLR server (CELUM 5.13.4 and above)
Released 2020-04-20
Stop using CELUM's home-brew reflection utility
© brix IT Solutions