Drupal modules for browsing and managing Fedora-based digital repositories.
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.
 
 
 
 

51 lines
1.4 KiB

uuid: b8d1db0c-be8f-47a7-889f-ac710db2e18a
langcode: en
status: true
dependencies:
enforced:
module:
- islandora
id: broadcast_content_create_event
label: 'Broadcast Content Create Event'
events:
-
event_name: 'rules_entity_insert:node'
description: 'Broadcasts an AS2 event to a message broker when Content is created.'
tags:
- ''
config_version: '3'
expression:
id: rules_rule
uuid: 40cabb74-fcc7-4498-90f9-3a4ec71b3710
conditions:
id: rules_and
uuid: 8e0d7b29-15f4-448d-b79a-d85ef97d274e
conditions: { }
actions:
id: rules_action_set
uuid: 0f832259-2aa1-45a4-83df-d9e0ff4c7edd
actions:
-
id: rules_action
uuid: 922264b9-3db1-42eb-9e01-e781a58a3695
context_values: { }
context_mapping:
entity: node
user: '@user.current_user_context:current_user'
context_processors: { }
provides_mapping: { }
action_id: islandora_create_event_generator
-
id: rules_action
uuid: 0e953790-c751-4de8-99b3-c729ba1e09e3
context_values:
recipients:
- "activemq:queue:islandora-indexing-fcrepo-create\r"
- 'activemq:queue:islandora-indexing-triplestore'
context_mapping:
message: event_message
context_processors:
recipients:
rules_tokens: { }
provides_mapping: { }
action_id: islandora_broadcast