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.

57 lines
1.5 KiB

uuid: 3ef878c1-3187-4141-aba1-2aac5acc9366
langcode: en
status: true
dependencies:
module:
- islandora
- rules
enforced:
module:
- islandora
_core:
default_config_hash: EKVRKXObBdrm-lGcG3RPpF8sg0tZSZbZx00lkzm42_E
id: broadcast_create_event
label: 'Broadcast Create Event'
events:
-
event_name: 'rules_entity_insert:fedora_resource'
description: 'Broadcasts a ''Create'' event when a user creates a new FedoraResource.'
tags:
- ''
config_version: '3'
expression:
id: rules_rule
uuid: d25688b0-eef1-46b0-acf4-98a6d1ccd76a
conditions:
id: rules_and
uuid: 6648629a-0b52-4352-bb85-df2cbafb7db2
conditions: { }
actions:
id: rules_action_set
uuid: 957db51c-d055-4350-8caa-4ad773172e87
actions:
-
id: rules_action
uuid: d483f5bc-fd36-4d7c-baa4-66234b438d1a
context_values: { }
context_mapping:
entity: fedora_resource
user: '@user.current_user_context:current_user'
context_processors: { }
provides_mapping: { }
action_id: islandora_create_event_generator
-
id: rules_action
uuid: 2afa7216-91bb-49a3-a567-e504ba8f95e1
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