You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
uuid: d35441d4-62d6-4e0d-bf6f-23ff32eab457 |
|
langcode: en |
|
status: true |
|
dependencies: |
|
enforced: |
|
module: |
|
- islandora |
|
id: broadcast_file_delete_event |
|
label: 'Broadcast File Delete Event' |
|
events: |
|
- |
|
event_name: 'rules_entity_delete:file' |
|
description: 'Broadcasts an AS2 event to a message broker when a File is deleted.' |
|
tags: |
|
- '' |
|
config_version: '3' |
|
expression: |
|
id: rules_rule |
|
uuid: 69e8870c-9d20-4cc3-9a17-de940d4c9932 |
|
conditions: |
|
id: rules_and |
|
uuid: f465ad23-88a2-4026-a7ca-dbfc2d3aa031 |
|
conditions: { } |
|
actions: |
|
id: rules_action_set |
|
uuid: 65ce1b3b-7986-4cf2-ab03-b950212f505e |
|
actions: |
|
- |
|
id: rules_action |
|
uuid: 2d6b2435-e986-4e53-8831-e4328aa63af3 |
|
context_values: { } |
|
context_mapping: |
|
entity: file |
|
user: '@user.current_user_context:current_user' |
|
context_processors: { } |
|
provides_mapping: { } |
|
action_id: islandora_delete_event_generator |
|
- |
|
id: rules_action |
|
uuid: f1a6a455-5486-4a4a-a3c9-4e9b3867cf64 |
|
context_values: |
|
recipients: |
|
- 'activemq:queue:islandora-indexing-fcrepo-delete' |
|
context_mapping: |
|
message: event_message |
|
context_processors: |
|
recipients: |
|
rules_tokens: { } |
|
provides_mapping: { } |
|
action_id: islandora_broadcast
|
|
|