|
|
|
uuid: 752003c1-8d98-4d33-b6d3-2bdde52e77bf
|
|
|
|
langcode: en
|
|
|
|
status: true
|
|
|
|
dependencies:
|
|
|
|
enforced:
|
|
|
|
module:
|
|
|
|
- islandora
|
|
|
|
id: broadcast_content_delete_event
|
|
|
|
label: 'Broadcast Content Delete Event'
|
|
|
|
events:
|
|
|
|
-
|
|
|
|
event_name: 'rules_entity_delete:node'
|
|
|
|
description: 'Broadcasts an AS2 event to a message broker when Content is deleted.'
|
|
|
|
tags:
|
|
|
|
- ''
|
|
|
|
config_version: '3'
|
|
|
|
expression:
|
|
|
|
id: rules_rule
|
|
|
|
uuid: b5ca11c1-f80c-4dce-a9f7-9d5db0fec971
|
|
|
|
conditions:
|
|
|
|
id: rules_and
|
|
|
|
uuid: ede4e2b7-ce4c-4a9d-a5ff-a18a248ccd4c
|
|
|
|
conditions: { }
|
|
|
|
actions:
|
|
|
|
id: rules_action_set
|
|
|
|
uuid: 7c96bc08-7b7e-499d-8535-a2c735f6b98b
|
|
|
|
actions:
|
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: 36647c5b-3355-4d4b-8550-5b0170b98ad1
|
|
|
|
context_values: { }
|
|
|
|
context_mapping:
|
|
|
|
entity: node
|
|
|
|
user: '@user.current_user_context:current_user'
|
|
|
|
context_processors: { }
|
|
|
|
provides_mapping: { }
|
|
|
|
action_id: islandora_delete_event_generator
|
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: 9257b59c-466c-43d7-8690-62dd87a053eb
|
|
|
|
context_values:
|
|
|
|
recipients:
|
|
|
|
- "activemq:queue:islandora-indexing-fcrepo-delete\r"
|
|
|
|
- 'activemq:queue:islandora-indexing-triplestore-delete'
|
|
|
|
context_mapping:
|
|
|
|
message: event_message
|
|
|
|
context_processors:
|
|
|
|
recipients:
|
|
|
|
rules_tokens: { }
|
|
|
|
provides_mapping: { }
|
|
|
|
action_id: islandora_broadcast
|