|
|
|
uuid: 9eeb9a6a-d3ba-41b3-9f1f-68bd016fe8b1
|
|
|
|
langcode: en
|
|
|
|
status: true
|
|
|
|
dependencies:
|
|
|
|
enforced:
|
|
|
|
module:
|
|
|
|
- islandora
|
|
|
|
id: broadcast_content_update_event
|
|
|
|
label: 'Broadcast Content Update Event'
|
|
|
|
events:
|
|
|
|
-
|
|
|
|
event_name: 'rules_entity_update:node'
|
|
|
|
description: 'Broadcasts an AS2 event to a message broker when Content is updated.'
|
|
|
|
tags:
|
|
|
|
- ''
|
|
|
|
config_version: '3'
|
|
|
|
expression:
|
|
|
|
id: rules_rule
|
|
|
|
uuid: 55f8a158-3fe4-48bb-92f2-ba53630d56f3
|
|
|
|
conditions:
|
|
|
|
id: rules_and
|
|
|
|
uuid: 8269d20f-cb56-4399-8c87-17eb64bfe5eb
|
|
|
|
conditions: { }
|
|
|
|
actions:
|
|
|
|
id: rules_action_set
|
|
|
|
uuid: 567aca08-456f-449e-a91b-b17a21366bdf
|
|
|
|
actions:
|
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: ee51523e-3bba-43a5-95ce-e998fb3392d3
|
|
|
|
context_values: { }
|
|
|
|
context_mapping:
|
|
|
|
entity: node
|
|
|
|
user: '@user.current_user_context:current_user'
|
|
|
|
context_processors: { }
|
|
|
|
provides_mapping: { }
|
|
|
|
action_id: islandora_update_event_generator
|
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: 7b9cf7be-40e4-4490-ae6f-07a84eb112c4
|
|
|
|
context_values:
|
|
|
|
recipients:
|
|
|
|
- "activemq:queue:islandora-indexing-fcrepo-content\r"
|
|
|
|
- 'activemq:queue:islandora-indexing-triplestore-index'
|
|
|
|
context_mapping:
|
|
|
|
message: event_message
|
|
|
|
context_processors:
|
|
|
|
recipients:
|
|
|
|
rules_tokens: { }
|
|
|
|
provides_mapping: { }
|
|
|
|
action_id: islandora_broadcast
|