From a75489c26d52bfe55ff7f074123b001d2a187007 Mon Sep 17 00:00:00 2001 From: dannylamb Date: Tue, 2 May 2017 15:50:20 -0300 Subject: [PATCH] Updating rules to publish events to new routes (#57) * Updating rules to publish events to new routes * Adding rest module as dependency in info.yml * Adding hal_module to the test base --- config/install/rules.reaction.broadcast_create_event.yml | 2 +- config/install/rules.reaction.broadcast_delete_event.yml | 2 +- config/install/rules.reaction.broadcast_update_event.yml | 2 +- islandora.info.yml | 1 + tests/src/Kernel/IslandoraKernelTestBase.php | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/install/rules.reaction.broadcast_create_event.yml b/config/install/rules.reaction.broadcast_create_event.yml index e2a097ce..542641d3 100644 --- a/config/install/rules.reaction.broadcast_create_event.yml +++ b/config/install/rules.reaction.broadcast_create_event.yml @@ -45,7 +45,7 @@ expression: uuid: 2afa7216-91bb-49a3-a567-e504ba8f95e1 context_values: recipients: - - "activemq:queue:islandora-indexing-fcrepo\r" + - "activemq:queue:islandora-indexing-fcrepo-create\r" - 'activemq:queue:islandora-indexing-triplestore' context_mapping: message: event_message diff --git a/config/install/rules.reaction.broadcast_delete_event.yml b/config/install/rules.reaction.broadcast_delete_event.yml index f3a830ef..f021adf4 100644 --- a/config/install/rules.reaction.broadcast_delete_event.yml +++ b/config/install/rules.reaction.broadcast_delete_event.yml @@ -45,7 +45,7 @@ expression: uuid: 53942d65-7567-4b6b-9b43-4d67079651f6 context_values: recipients: - - "activemq:queue:islandora-indexing-fcrepo\r" + - "activemq:queue:islandora-indexing-fcrepo-delete\r" - 'activemq:queue:islandora-indexing-triplestore' context_mapping: message: event_message diff --git a/config/install/rules.reaction.broadcast_update_event.yml b/config/install/rules.reaction.broadcast_update_event.yml index 8db4f929..98458c7d 100644 --- a/config/install/rules.reaction.broadcast_update_event.yml +++ b/config/install/rules.reaction.broadcast_update_event.yml @@ -45,7 +45,7 @@ expression: uuid: 40aa4a03-ad36-45bf-9584-ede3b9b3e5c9 context_values: recipients: - - "activemq:queue:islandora-indexing-fcrepo\r" + - "activemq:queue:islandora-indexing-fcrepo-update\r" - 'activemq:queue:islandora-indexing-triplestore' context_mapping: message: event_message diff --git a/islandora.info.yml b/islandora.info.yml index c7e58a86..25d4cdbd 100644 --- a/islandora.info.yml +++ b/islandora.info.yml @@ -17,3 +17,4 @@ dependencies: - search_api - jwt - media_entity_image + - rest diff --git a/tests/src/Kernel/IslandoraKernelTestBase.php b/tests/src/Kernel/IslandoraKernelTestBase.php index c3da5b44..cc4d901b 100644 --- a/tests/src/Kernel/IslandoraKernelTestBase.php +++ b/tests/src/Kernel/IslandoraKernelTestBase.php @@ -25,6 +25,7 @@ abstract class IslandoraKernelTestBase extends KernelTestBase { 'inline_entity_form', 'serialization', 'rest', + 'hal', 'rdf', 'typed_data', 'rules',