Browse Source

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
pull/756/head
dannylamb 8 years ago committed by Jonathan Green
parent
commit
a75489c26d
  1. 2
      config/install/rules.reaction.broadcast_create_event.yml
  2. 2
      config/install/rules.reaction.broadcast_delete_event.yml
  3. 2
      config/install/rules.reaction.broadcast_update_event.yml
  4. 1
      islandora.info.yml
  5. 1
      tests/src/Kernel/IslandoraKernelTestBase.php

2
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

2
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

2
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

1
islandora.info.yml

@ -17,3 +17,4 @@ dependencies:
- search_api
- jwt
- media_entity_image
- rest

1
tests/src/Kernel/IslandoraKernelTestBase.php

@ -25,6 +25,7 @@ abstract class IslandoraKernelTestBase extends KernelTestBase {
'inline_entity_form',
'serialization',
'rest',
'hal',
'rdf',
'typed_data',
'rules',

Loading…
Cancel
Save