forked from alxp/islandora
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding UUID and URLs to events * Removing attachment from AS2 event since it may be out of date by the time the message is processed. * Adding names to URLs * Changing name from jsonld to metadata * Adding JSON url. Updating URN namespaces for UUIDs * After extensive testing for 640 * Removing hook_install and configuring REST in claw_vagrant * Adding in reaction rule to remove media from triplestore on delete * Updates from install testing * Changes from install testing * Re-exporting view * Adding basic auth as dependency for Travis * Coding standards * Adding basic_auth to test gear * Setting filehash view permission to authenticated users * Removing extra newline * Update rules.reaction.broadcast_content_create_event.yml * Update rules.reaction.broadcast_content_update_event.yml * Update rules.reaction.broadcast_media_create_event.yml * Update rules.reaction.broadcast_media_update_event.yml * Update rules.reaction.broadcast_content_delete_event.yml * Adding install notes about REST configuration * Update rdf.mapping.media.tn.yml Getting rid of iana:describes in metadata mapping
- Loading branch information
Showing
21 changed files
with
572 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
config/install/rules.reaction.broadcast_file_create_event.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
uuid: 5a444d61-ac7f-4cde-a8b7-2693bd825753 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
enforced: | ||
module: | ||
- islandora | ||
id: broadcast_file_create_event | ||
label: 'Broadcast File Create Event' | ||
events: | ||
- | ||
event_name: 'rules_entity_insert:file' | ||
description: 'Broadcasts an AS2 event to a message broker when a File is created.' | ||
tags: | ||
- '' | ||
config_version: '3' | ||
expression: | ||
id: rules_rule | ||
uuid: 54c6585d-453d-4143-8e54-760019f251d5 | ||
conditions: | ||
id: rules_and | ||
uuid: d82f7041-6522-4127-9676-d5534f7c1684 | ||
conditions: { } | ||
actions: | ||
id: rules_action_set | ||
uuid: 0dc80d3b-2a60-4a47-afd6-4026d0fdffe6 | ||
actions: | ||
- | ||
id: rules_action | ||
uuid: 0e42b62d-39ca-4f51-baa5-fdd1b37605fe | ||
context_values: { } | ||
context_mapping: | ||
entity: file | ||
user: '@user.current_user_context:current_user' | ||
context_processors: { } | ||
provides_mapping: { } | ||
action_id: islandora_create_event_generator | ||
- | ||
id: rules_action | ||
uuid: bcbbe914-54a9-4ff2-9d4b-98945682e087 | ||
context_values: | ||
recipients: | ||
- 'activemq:queue:islandora-indexing-fcrepo-file' | ||
context_mapping: | ||
message: event_message | ||
context_processors: | ||
recipients: | ||
rules_tokens: { } | ||
provides_mapping: { } | ||
action_id: islandora_broadcast |
50 changes: 50 additions & 0 deletions
50
config/install/rules.reaction.broadcast_file_delete_event.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
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 |
50 changes: 50 additions & 0 deletions
50
config/install/rules.reaction.broadcast_file_update_event.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
d: 129d52bf-c67f-41fc-81fc-83f126f59a66 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
enforced: | ||
module: | ||
- islandora | ||
id: broadcast_file_update_event | ||
label: 'Broadcast File Update Event' | ||
events: | ||
- | ||
event_name: 'rules_entity_update:file' | ||
description: 'Broadcasts an AS2 event to a message broker when a File is updated.' | ||
tags: | ||
- '' | ||
config_version: '3' | ||
expression: | ||
id: rules_rule | ||
uuid: 5355a324-0af0-48bb-8168-e2810a9ee0a2 | ||
conditions: | ||
id: rules_and | ||
uuid: 0b266024-65ea-4e91-b0e6-ae88b8bfd5ed | ||
conditions: { } | ||
actions: | ||
id: rules_action_set | ||
uuid: 85a784ad-7f03-4ba9-8c01-f87f33f15d5e | ||
actions: | ||
- | ||
id: rules_action | ||
uuid: a7dcf8e2-7e2d-4c9b-b658-e4f3f28898a1 | ||
context_values: { } | ||
context_mapping: | ||
entity: file | ||
user: '@user.current_user_context:current_user' | ||
context_processors: { } | ||
provides_mapping: { } | ||
action_id: islandora_update_event_generator | ||
- | ||
id: rules_action | ||
uuid: 60aa1b60-9ea4-40d1-bfbf-d036a617179a | ||
context_values: | ||
recipients: | ||
- 'activemq:queue:islandora-indexing-fcrepo-file' | ||
context_mapping: | ||
message: event_message | ||
context_processors: | ||
recipients: | ||
rules_tokens: { } | ||
provides_mapping: { } | ||
action_id: islandora_broadcast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.