Added feeds config for data migration

This commit is contained in:
naomi 2021-11-10 17:03:17 +00:00
parent 47fd5c1f45
commit 12bbb4fe27
15 changed files with 1201 additions and 0 deletions

View File

@ -0,0 +1,12 @@
uuid: cdfdb2b5-968b-4aaa-a8ca-4524230213dc
langcode: en
status: false
dependencies:
module:
- feeds
_core:
default_config_hash: 8I9Vm3L0dLCdctKfCjpw5vLwMetyaJzxbWNMzb2V7-I
id: feeds_feed.full
label: 'Full feed'
targetEntityType: feeds_feed
cache: true

View File

@ -0,0 +1,103 @@
uuid: 4eb11220-0e79-4e7f-a0d8-2300fb7b365b
langcode: en
status: true
dependencies:
config:
- field.field.oc_organisation.client.field_client_subtype
- field.field.oc_organisation.client.field_client_type
- field.field.oc_organisation.client.field_tags
- field.field.oc_organisation.client.field_umbrella_client
- opencase_entities.oc_organisation_type.client
module:
- opencase_entities
id: csv_clients
label: 'CSV Clients'
description: ''
help: ''
import_period: -1
fetcher: upload
fetcher_configuration:
allowed_extensions: 'txt csv tsv xml opml'
directory: 'public://feeds'
parser: csv
parser_configuration:
delimiter: ','
no_headers: false
line_limit: 100
processor: 'entity:oc_organisation'
processor_configuration:
langcode: en
update_existing: 0
update_non_existent: _delete
expire: -1
owner_feed_author: true
owner_id: 0
authorize: true
skip_hash_check: false
values:
type: client
custom_sources:
tags:
label: Tags
value: Tags
machine_name: tags
name:
label: Name
value: Name
machine_name: name
umbrella_client:
label: 'Umbrella Client'
value: 'Umbrella Client'
machine_name: umbrella_client
client_type:
label: 'Client type'
value: 'Client type'
machine_name: client_type
client_subtype:
label: 'Client subtype'
value: 'Client subtype'
machine_name: client_subtype
umbrella_client_2:
label: 'Umbrella client'
value: 'Umbrella client'
machine_name: umbrella_client_2
mappings:
-
target: field_tags
map:
target_id: tags
settings:
language: ''
reference_by: name
autocreate: '1'
-
target: name
map:
value: name
unique: { }
settings: { }
-
target: field_umbrella_client
map:
target_id: umbrella_client_2
settings:
language: ''
reference_by: id
feeds_item: guid
autocreate: 0
-
target: field_client_type
map:
target_id: client_type
settings:
language: ''
reference_by: name
autocreate: '1'
-
target: field_client_subtype
map:
target_id: client_subtype
settings:
language: ''
reference_by: name
autocreate: '1'

View File

@ -0,0 +1,82 @@
uuid: 3dae378c-f563-4542-abd6-b98eb2fd0813
langcode: en
status: true
dependencies:
config:
- field.field.oc_case.training.field_date_of_training
- field.field.oc_case.training.field_trainer
- field.field.paragraph.trainer.field_trainer_role
- opencase_cases.oc_case_type.training
module:
- feeds_para_mapper
- opencase_cases
id: csv_trainings
label: 'CSV Trainings'
description: ''
help: ''
import_period: -1
fetcher: upload
fetcher_configuration:
allowed_extensions: 'txt csv tsv xml opml'
directory: 'public://feeds'
parser: csv
parser_configuration:
delimiter: ','
no_headers: false
line_limit: 100
processor: 'entity:oc_case'
processor_configuration:
langcode: en
update_existing: 1
update_non_existent: _delete
expire: -1
owner_feed_author: true
owner_id: 0
authorize: true
skip_hash_check: false
values:
type: training
custom_sources:
client_name:
label: 'Client Name'
value: 'Client Name'
machine_name: client_name
trainer_name:
label: 'Trainer Name'
value: 'Trainer Name'
machine_name: trainer_name
date_and_time:
label: 'Date and time'
value: 'Date and time'
machine_name: date_and_time
trainer_role:
label: 'Trainer role'
value: 'Trainer role'
machine_name: trainer_role
client_name2:
label: 'Client name'
value: 'Client name'
machine_name: client_name2
mappings:
-
target: client
map:
target_id: client_name2
settings:
language: ''
reference_by: name
feeds_item: guid
autocreate: '1'
-
target: field_date_of_training
map:
value: date_and_time
settings:
language: null
timezone: UTC
-
target: trainer_field_trainer_role
map:
value: trainer_role
settings:
language: null

View File

@ -0,0 +1,36 @@
uuid: 17ebbce1-9756-400f-a58a-65b765f00813
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_organisation_type.umbrella_client
module:
- opencase_entities
id: csv_umbrella_client
label: 'CSV Umbrella Clients'
description: ''
help: ''
import_period: 3600
fetcher: upload
fetcher_configuration:
allowed_extensions: 'txt csv tsv xml opml'
directory: 'public://feeds'
parser: csv
parser_configuration:
delimiter: ','
no_headers: false
line_limit: 100
processor: 'entity:oc_organisation'
processor_configuration:
langcode: en
update_existing: 1
update_non_existent: _delete
expire: -1
owner_feed_author: true
owner_id: 0
authorize: true
skip_hash_check: false
values:
type: umbrella_client
custom_sources: { }
mappings: { }

View File

@ -0,0 +1,39 @@
uuid: ad3e47c2-2f4b-46d5-9107-86192040fead
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.trainer
module:
- opencase_entities
id: trainers
label: 'CSV Trainers'
description: ''
help: ''
import_period: 3600
fetcher: http
fetcher_configuration:
auto_detect_feeds: false
use_pubsubhubbub: false
always_download: false
fallback_hub: ''
request_timeout: 30
parser: csv
parser_configuration:
delimiter: ','
no_headers: false
line_limit: 100
processor: 'entity:oc_actor'
processor_configuration:
langcode: en
update_existing: 0
update_non_existent: _keep
expire: -1
owner_feed_author: false
owner_id: 0
authorize: true
skip_hash_check: false
values:
type: trainer
custom_sources: { }
mappings: { }

View File

@ -0,0 +1,23 @@
uuid: 48212965-7239-40e6-b653-cb162c079816
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.feeds_item
- opencase_entities.oc_actor_type.trainer
module:
- feeds
id: oc_actor.trainer.feeds_item
field_name: feeds_item
entity_type: oc_actor
bundle: trainer
label: 'Feeds item'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:feeds_feed'
handler_settings: { }
field_type: feeds_item

View File

@ -0,0 +1,23 @@
uuid: 6694b320-f562-47fe-b9e3-22cca016d0c8
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case.feeds_item
- opencase_cases.oc_case_type.project
module:
- feeds
id: oc_case.project.feeds_item
field_name: feeds_item
entity_type: oc_case
bundle: project
label: 'Feeds item'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:feeds_feed'
handler_settings: { }
field_type: feeds_item

View File

@ -0,0 +1,23 @@
uuid: 6b9153b9-d8a3-47e1-ba34-face3f744ac0
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case.feeds_item
- opencase_cases.oc_case_type.training
module:
- feeds
id: oc_case.training.feeds_item
field_name: feeds_item
entity_type: oc_case
bundle: training
label: 'Feeds item'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:feeds_feed'
handler_settings: { }
field_type: feeds_item

View File

@ -0,0 +1,23 @@
uuid: e8cd1296-438d-41df-afd6-328f1cf83741
langcode: en
status: true
dependencies:
config:
- field.storage.oc_organisation.feeds_item
- opencase_entities.oc_organisation_type.client
module:
- feeds
id: oc_organisation.client.feeds_item
field_name: feeds_item
entity_type: oc_organisation
bundle: client
label: 'Feeds item'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:feeds_feed'
handler_settings: { }
field_type: feeds_item

View File

@ -0,0 +1,23 @@
uuid: 17d8780f-7a4c-450f-ab68-e1620725f319
langcode: en
status: true
dependencies:
config:
- field.storage.oc_organisation.feeds_item
- opencase_entities.oc_organisation_type.umbrella_client
module:
- feeds
id: oc_organisation.umbrella_client.feeds_item
field_name: feeds_item
entity_type: oc_organisation
bundle: umbrella_client
label: 'Feeds item'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:feeds_feed'
handler_settings: { }
field_type: feeds_item

View File

@ -0,0 +1,20 @@
uuid: fbac65af-99cb-46cc-911c-04a831121ecf
langcode: en
status: true
dependencies:
module:
- feeds
- opencase_entities
id: oc_actor.feeds_item
field_name: feeds_item
entity_type: oc_actor
type: feeds_item
settings:
target_type: feeds_feed
module: feeds
locked: false
cardinality: 1
translatable: false
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,20 @@
uuid: c1326650-f421-4ede-81f3-250840ccf1b9
langcode: en
status: true
dependencies:
module:
- feeds
- opencase_cases
id: oc_case.feeds_item
field_name: feeds_item
entity_type: oc_case
type: feeds_item
settings:
target_type: feeds_feed
module: feeds
locked: false
cardinality: 1
translatable: false
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,20 @@
uuid: 68bb9674-ea4e-48ef-87b6-da010fa674ec
langcode: en
status: true
dependencies:
module:
- feeds
- opencase_entities
id: oc_organisation.feeds_item
field_name: feeds_item
entity_type: oc_organisation
type: feeds_item
settings:
target_type: feeds_feed
module: feeds
locked: false
cardinality: 1
translatable: false
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,13 @@
uuid: e1de8102-418b-4b0d-961f-f52a1f4a2045
langcode: en
status: true
dependencies:
module:
- feeds
_core:
default_config_hash: yZW4ELH2L51kf2mGKd7f62uozGH-jFuWz1k9abACq1U
id: feeds_feed_delete_action
label: 'Delete selected feeds'
type: feeds_feed
plugin: feeds_feed_delete_action
configuration: { }

View File

@ -0,0 +1,741 @@
uuid: 6b047e2d-1057-4786-9ad8-179a87ed80be
langcode: en
status: true
dependencies:
config:
- system.menu.admin
module:
- feeds
- user
_core:
default_config_hash: qEFCGJZmfPO8q5G05QiqwLQcMxrQ7PaLQMmF3nt3iMY
id: feeds_feed
label: Feeds
module: views
description: ''
tag: ''
base_table: feeds_feed
base_field: fid
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: perm
options:
perm: 'access feed overview'
cache:
type: none
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: full
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
tags:
previous: ' previous'
next: 'next '
first: '« first'
last: 'last »'
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
quantity: 9
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
feeds_feed_bulk_form: feeds_feed_bulk_form
title: title
type: type
name: name
changed: changed
imported: imported
operations: operations
info:
feeds_feed_bulk_form:
align: ''
separator: ''
empty_column: false
responsive: ''
title:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
type:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
name:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
changed:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
imported:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
operations:
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: true
row:
type: fields
fields:
feeds_feed_bulk_form:
id: feeds_feed_bulk_form
table: feeds_feed
field: feeds_feed_bulk_form
relationship: none
group_type: group
admin_label: ''
label: 'Bulk update'
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
action_title: 'With selection'
include_exclude: exclude
selected_actions: { }
entity_type: feeds_feed
plugin_id: bulk_form
title:
id: title
table: feeds_feed
field: title
relationship: none
group_type: group
admin_label: ''
label: Title
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: title
plugin_id: field
type:
id: type
table: feeds_feed
field: type
relationship: none
group_type: group
admin_label: ''
label: Type
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: feeds_feed
entity_field: type
plugin_id: field
name:
id: name
table: users_field_data
field: name
relationship: uid
group_type: group
admin_label: ''
label: Author
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: user_name
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: user
entity_field: name
plugin_id: field
changed:
id: changed
table: feeds_feed
field: changed
relationship: none
group_type: group
admin_label: ''
label: Updated
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: timestamp
settings:
date_format: short
custom_date_format: ''
timezone: ''
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: feeds_feed
entity_field: changed
plugin_id: field
imported:
id: imported
table: feeds_feed
field: imported
relationship: none
group_type: group
admin_label: ''
label: Imported
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: timestamp
settings:
date_format: short
custom_date_format: ''
timezone: ''
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: feeds_feed
entity_field: imported
plugin_id: field
operations:
id: operations
table: feeds_feed
field: operations
relationship: none
group_type: group
admin_label: ''
label: Operations
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
destination: true
entity_type: feeds_feed
plugin_id: entity_operations
filters:
title:
id: title
table: feeds_feed
field: title
relationship: none
group_type: group
admin_label: ''
operator: contains
value: ''
group: 1
exposed: true
expose:
operator_id: title_op
label: Title
description: ''
use_operator: false
operator: title_op
identifier: title
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
operator_limit_selection: false
operator_list: { }
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: feeds_feed
entity_field: title
plugin_id: string
type:
id: type
table: feeds_feed
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: type_op
label: Type
description: ''
use_operator: false
operator: type_op
identifier: type
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
reduce: false
operator_limit_selection: false
operator_list: { }
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: feeds_feed
entity_field: type
plugin_id: bundle
sorts:
changed:
id: changed
table: feeds_feed
field: changed
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
entity_type: feeds_feed
entity_field: changed
plugin_id: date
title: Feeds
header: { }
footer: { }
empty:
result:
id: result
table: views
field: result
relationship: none
group_type: group
admin_label: ''
empty: true
content: 'There are no feeds yet.'
plugin_id: result
relationships:
uid:
id: uid
table: feeds_feed
field: uid
relationship: none
group_type: group
admin_label: Author
required: false
entity_type: feeds_feed
entity_field: uid
plugin_id: standard
arguments: { }
display_extenders: { }
filter_groups:
operator: AND
groups:
1: AND
cache_metadata:
max-age: 0
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.permissions
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: admin/content/feed
menu:
type: normal
title: Feeds
description: ''
expanded: false
parent: system.admin_content
weight: 0
context: '0'
menu_name: admin
cache_metadata:
max-age: 0
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.permissions
tags: { }