Browse Source
* 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 mappingpull/756/head
dannylamb
7 years ago
committed by
Jared Whiklo
21 changed files with 572 additions and 144 deletions
@ -1,27 +0,0 @@
|
||||
uuid: bf3d7c56-77d9-4154-a7b8-bb77c7188569 |
||||
langcode: en |
||||
status: true |
||||
dependencies: |
||||
module: |
||||
- basic_auth |
||||
- hal |
||||
- jsonld |
||||
- jwt |
||||
- media_entity |
||||
- user |
||||
enforced: |
||||
module: |
||||
- islandora |
||||
id: entity.media |
||||
plugin_id: 'entity:media' |
||||
granularity: resource |
||||
configuration: |
||||
methods: |
||||
- GET |
||||
formats: |
||||
- hal_json |
||||
- jsonld |
||||
authentication: |
||||
- basic_auth |
||||
- jwt_auth |
||||
- cookie |
@ -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 |
@ -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 |
@ -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 |
@ -0,0 +1,213 @@
|
||||
uuid: cd3f8b61-8032-4c3d-9de3-624b298c9bca |
||||
langcode: en |
||||
status: true |
||||
dependencies: |
||||
module: |
||||
- basic_auth |
||||
- file |
||||
- jwt |
||||
- rest |
||||
- serialization |
||||
- user |
||||
_core: |
||||
default_config_hash: e7XqQa-N16XDqeDTA7Ohgx6iLb6mIQ1RUs0krFFIbAw |
||||
id: file_checksum |
||||
label: 'File Checksum' |
||||
module: views |
||||
description: 'Exposes a REST endpoint for getting the checksum of a File' |
||||
tag: '' |
||||
base_table: file_managed |
||||
base_field: fid |
||||
core: 8.x |
||||
display: |
||||
default: |
||||
display_plugin: default |
||||
id: default |
||||
display_title: Master |
||||
position: 0 |
||||
display_options: |
||||
access: |
||||
type: none |
||||
options: { } |
||||
cache: |
||||
type: tag |
||||
options: { } |
||||
query: |
||||
type: views_query |
||||
options: |
||||
disable_sql_rewrite: false |
||||
distinct: false |
||||
replica: false |
||||
query_comment: '' |
||||
query_tags: { } |
||||
exposed_form: |
||||
type: basic |
||||
options: |
||||
submit_button: Apply |
||||
reset_button: false |
||||
reset_button_label: Reset |
||||
exposed_sorts_label: 'Sort by' |
||||
expose_sort_order: true |
||||
sort_asc_label: Asc |
||||
sort_desc_label: Desc |
||||
pager: |
||||
type: mini |
||||
options: |
||||
items_per_page: 10 |
||||
offset: 0 |
||||
id: 0 |
||||
total_pages: null |
||||
expose: |
||||
items_per_page: false |
||||
items_per_page_label: 'Items per page' |
||||
items_per_page_options: '5, 10, 25, 50' |
||||
items_per_page_options_all: false |
||||
items_per_page_options_all_label: '- All -' |
||||
offset: false |
||||
offset_label: Offset |
||||
tags: |
||||
previous: ‹‹ |
||||
next: ›› |
||||
style: |
||||
type: serializer |
||||
row: |
||||
type: 'entity:file' |
||||
options: |
||||
relationship: none |
||||
view_mode: default |
||||
fields: |
||||
sha1: |
||||
id: sha1 |
||||
table: filehash |
||||
field: sha1 |
||||
relationship: none |
||||
group_type: group |
||||
admin_label: '' |
||||
label: '' |
||||
exclude: false |
||||
alter: |
||||
alter_text: false |
||||
text: '' |
||||
make_link: false |
||||
path: '' |
||||
absolute: false |
||||
external: false |
||||
replace_spaces: false |
||||
path_case: none |
||||
trim_whitespace: false |
||||
alt: '' |
||||
rel: '' |
||||
link_class: '' |
||||
prefix: '' |
||||
suffix: '' |
||||
target: '' |
||||
nl2br: false |
||||
max_length: 0 |
||||
word_boundary: true |
||||
ellipsis: true |
||||
more_link: false |
||||
more_link_text: '' |
||||
more_link_path: '' |
||||
strip_tags: false |
||||
trim: false |
||||
preserve_tags: '' |
||||
html: false |
||||
element_type: '' |
||||
element_class: '' |
||||
element_label_type: '' |
||||
element_label_class: '' |
||||
element_label_colon: false |
||||
element_wrapper_type: '' |
||||
element_wrapper_class: '' |
||||
element_default_classes: true |
||||
empty: '' |
||||
hide_empty: false |
||||
empty_zero: false |
||||
hide_alter_empty: true |
||||
plugin_id: standard |
||||
filters: { } |
||||
sorts: { } |
||||
header: { } |
||||
footer: { } |
||||
empty: { } |
||||
relationships: { } |
||||
arguments: |
||||
fid: |
||||
id: fid |
||||
table: file_managed |
||||
field: fid |
||||
relationship: none |
||||
group_type: group |
||||
admin_label: '' |
||||
default_action: 'not found' |
||||
exception: |
||||
value: all |
||||
title_enable: false |
||||
title: All |
||||
title_enable: false |
||||
title: '' |
||||
default_argument_type: fixed |
||||
default_argument_options: |
||||
argument: '' |
||||
default_argument_skip_url: false |
||||
summary_options: |
||||
base_path: '' |
||||
count: true |
||||
items_per_page: 25 |
||||
override: false |
||||
summary: |
||||
sort_order: asc |
||||
number_of_records: 0 |
||||
format: default_summary |
||||
specify_validation: false |
||||
validate: |
||||
type: none |
||||
fail: 'not found' |
||||
validate_options: { } |
||||
break_phrase: false |
||||
not: false |
||||
entity_type: file |
||||
entity_field: fid |
||||
plugin_id: file_fid |
||||
display_extenders: { } |
||||
cache_metadata: |
||||
max-age: -1 |
||||
contexts: |
||||
- 'languages:language_interface' |
||||
- request_format |
||||
- url |
||||
- url.query_args |
||||
tags: { } |
||||
rest_export_1: |
||||
display_plugin: rest_export |
||||
id: rest_export_1 |
||||
display_title: 'REST export' |
||||
position: 1 |
||||
display_options: |
||||
display_extenders: { } |
||||
path: checksum/%file |
||||
pager: |
||||
type: some |
||||
options: |
||||
items_per_page: 10 |
||||
offset: 0 |
||||
style: |
||||
type: serializer |
||||
options: |
||||
formats: |
||||
json: json |
||||
row: |
||||
type: data_field |
||||
options: |
||||
field_options: { } |
||||
auth: |
||||
- basic_auth |
||||
- jwt_auth |
||||
- cookie |
||||
cache_metadata: |
||||
max-age: -1 |
||||
contexts: |
||||
- 'languages:language_interface' |
||||
- request_format |
||||
- url |
||||
tags: { } |
@ -0,0 +1,4 @@
|
||||
|
||||
view checksums: |
||||
title: 'View Checksums' |
||||
description: 'Allows access to viewing file checksums' |
Loading…
Reference in new issue