|
|
|
uuid: 3bfa9b33-b0a7-437e-a949-e50178a702fe
|
|
|
|
langcode: en
|
|
|
|
status: true
|
|
|
|
dependencies:
|
|
|
|
module:
|
|
|
|
- islandora
|
|
|
|
- rules
|
|
|
|
enforced:
|
|
|
|
module:
|
|
|
|
- islandora
|
|
|
|
_core:
|
|
|
|
default_config_hash: XX87LaQzcIVbzZTzUR4HBgeZKCzKOMJzVCTJYgmg47k
|
|
|
|
id: broadcast_update_event
|
|
|
|
label: 'Broadcast Update Event'
|
|
|
|
events:
|
|
|
|
-
|
|
|
|
event_name: 'rules_entity_update:fedora_resource'
|
|
|
|
description: 'Broadcasts a ''Update'' event when a user updates a FedoraResource.'
|
|
|
|
tags:
|
|
|
|
- ''
|
|
|
|
config_version: '3'
|
|
|
|
expression:
|
|
|
|
id: rules_rule
|
|
|
|
uuid: 55563628-5ea2-4459-989e-0ce573f50aaa
|
|
|
|
conditions:
|
|
|
|
id: rules_and
|
|
|
|
uuid: 8113ab9f-7af6-4315-8701-60812bb86190
|
|
|
|
conditions: { }
|
|
|
|
actions:
|
|
|
|
id: rules_action_set
|
|
|
|
uuid: 78330180-141b-404e-8bf3-b7c9d8dcc748
|
|
|
|
actions:
|
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: 86a6f157-8d0c-4b3c-bd8e-d4c3ce4794a7
|
|
|
|
context_values: { }
|
|
|
|
context_mapping:
|
|
|
|
entity: fedora_resource
|
|
|
|
user: '@user.current_user_context:current_user'
|
|
|
|
context_processors: { }
|
|
|
|
provides_mapping: { }
|
|
|
|
action_id: islandora_update_event_generator
|
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: 40aa4a03-ad36-45bf-9584-ede3b9b3e5c9
|
|
|
|
context_values:
|
|
|
|
recipients:
|
|
|
|
- "activemq:queue:islandora-indexing-fcrepo\r"
|
|
|
|
- 'activemq:queue:islandora-indexing-triplestore'
|
|
|
|
context_mapping:
|
|
|
|
message: event_message
|
|
|
|
context_processors:
|
|
|
|
recipients:
|
|
|
|
rules_tokens: { }
|
|
|
|
provides_mapping: { }
|
|
|
|
action_id: islandora_broadcast
|
|
|
|
|