Skip to content

Commit

Permalink
Update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hel-platta-automation authored and github-actions[bot] committed May 20, 2024
1 parent df19ed9 commit 263b6ff
Show file tree
Hide file tree
Showing 36 changed files with 143 additions and 376 deletions.
213 changes: 69 additions & 144 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ uuid: b95230b8-fb95-4373-b877-6117cf4d0f46
langcode: en
status: true
dependencies:
config:
- field.field.helfi_news_groups.helfi_news_groups.field_frontpage_term_id
module:
- external_entities
_core:
Expand All @@ -13,14 +11,6 @@ targetEntityType: helfi_news_groups
bundle: helfi_news_groups
mode: default
content:
field_frontpage_term_id:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
title:
type: string_textfield
weight: -5
Expand All @@ -29,4 +19,5 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
hidden:
tid: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ uuid: d13089ef-9704-4770-90a9-fd9fedc50405
langcode: en
status: true
dependencies:
config:
- field.field.helfi_news_neighbourhoods.helfi_news_neighbourhoods.field_frontpage_term_id
module:
- external_entities
_core:
Expand All @@ -13,14 +11,6 @@ targetEntityType: helfi_news_neighbourhoods
bundle: helfi_news_neighbourhoods
mode: default
content:
field_frontpage_term_id:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
title:
type: string_textfield
weight: -5
Expand All @@ -29,4 +19,5 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
hidden:
tid: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ uuid: 972acdae-8e71-4d12-a335-bc91828f4851
langcode: en
status: true
dependencies:
config:
- field.field.helfi_news_tags.helfi_news_tags.field_frontpage_term_id
module:
- external_entities
_core:
Expand All @@ -13,14 +11,6 @@ targetEntityType: helfi_news_tags
bundle: helfi_news_tags
mode: default
content:
field_frontpage_term_id:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
title:
type: string_textfield
weight: -5
Expand All @@ -29,4 +19,5 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
hidden:
tid: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ uuid: 045f335b-7059-4d6a-9240-43909f3c1704
langcode: en
status: true
dependencies:
config:
- field.field.helfi_news_groups.helfi_news_groups.field_frontpage_term_id
module:
- external_entities
_core:
Expand All @@ -22,5 +20,5 @@ content:
weight: 0
region: content
hidden:
field_frontpage_term_id: true
search_api_excerpt: true
tid: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ uuid: f8d0f0da-4aff-436c-a4b8-4df8c6ee82f8
langcode: en
status: true
dependencies:
config:
- field.field.helfi_news_neighbourhoods.helfi_news_neighbourhoods.field_frontpage_term_id
module:
- external_entities
_core:
Expand All @@ -22,5 +20,5 @@ content:
weight: 0
region: content
hidden:
field_frontpage_term_id: true
search_api_excerpt: true
tid: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ uuid: 7060dc64-5f95-4fa5-8046-bf0ad5e265c4
langcode: en
status: true
dependencies:
config:
- field.field.helfi_news_tags.helfi_news_tags.field_frontpage_term_id
module:
- external_entities
_core:
Expand All @@ -22,5 +20,5 @@ content:
weight: 0
region: content
hidden:
field_frontpage_term_id: true
search_api_excerpt: true
tid: true
31 changes: 17 additions & 14 deletions conf/cmi/external_entities.external_entity_type.helfi_news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,40 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 3cezkDpNnpY89NCorCj-4mBIeItsVAEG803y-phaZTM
default_config_hash: daIUGTR2nijXztOFPGoKZP9hdqNwUXU1g1Iksa29Rxo
id: helfi_news
label: 'Helfi: News'
label_plural: 'Helfi: News'
description: ''
generate_aliases: false
read_only: true
generate_aliases: null
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
id:
value: $.id
value: '$._source.uuid_langcode[0]'
uuid:
value: $.id
value: '$._source.uuid[0]'
title:
value: "$.attributes['title']"
main_image:
uri: "$.relationships['main_image']['data']['relationships']['media_image']['data']['attributes']['uri']['url']"
title: "$.relationships['main_image']['data']['relationships']['media_image']['data']['meta']['alt']"
value: '$._source.title[0]'
tags_uuid:
value: '$._source.news_tags_uuid[*]'
tags:
value: "$.relationships['tags']['data'][*]['attributes']['name']"
value: '$._source.field_news_item_tags[*]'
groups:
value: "$.relationships['groups']['data'][*]['attributes']['name']"
value: '$._source.field_news_groups[*]'
groups_uuid:
value: '$._source.news_groups_uuid[*]'
neighbourhoods:
value: "$.relationships['neighbourhoods']['data'][*]['attributes']['name']"
value: '$._source.field_news_neighbourhoods[*]'
neighbourhoods_uuid:
value: '$._source.neighbourhoods_uuid[*]'
node_url:
value: "$.attributes['path']['alias']"
value: '$._source.url[0]'
published_at:
value: "$.attributes['published_at']"
value: '$._source.published_at[0]'
short_title:
value: "$.attributes['short_title']"
value: '$._source.short_title[0]'
storage_client_id: helfi_news
storage_client_config: { }
persistent_cache_max_age: 1800
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: U7yZGEsFvk5UxcRUripTm4JXrM9_gU_UV1aMQ8986a4
default_config_hash: 1KCEz52lFemwPMfVitwlGcbzmkcAJPGSSe6loUbVJc8
id: helfi_news_groups
label: 'Helfi: News groups'
label_plural: 'Helfi: News groups'
description: 'Retrieves news groups taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
id:
value: $.id
value: '$._source.uuid_langcode[0]'
uuid:
value: $.id
value: '$._source.uuid[0]'
title:
value: '$.attributes["name"]'
field_frontpage_term_id:
value: '$.attributes["drupal_internal__tid"]'
value: '$._source.name[0]'
tid:
value: '$._source.tid[0]'
storage_client_id: helfi_news_groups
storage_client_config: { }
persistent_cache_max_age: 86400
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: tM9Z1SfXjTcoCvjFIESPPl2sya7IyIQ9kZ-zQFFNppU
default_config_hash: 5s8g-adBsUuIIMte5BCEwSFlQjxwFJ_Gq2Do7EEwq2E
id: helfi_news_neighbourhoods
label: 'Helfi: News neighbourhoods'
label_plural: 'Helfi: News neighbourhoods'
description: 'Retrieves news neighbourhoods taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
id:
value: $.id
value: '$._source.uuid_langcode[0]'
uuid:
value: $.id
value: '$._source.uuid[0]'
title:
value: '$.attributes["name"]'
field_frontpage_term_id:
value: '$.attributes["drupal_internal__tid"]'
value: '$._source.name[0]'
tid:
value: '$._source.tid[0]'
storage_client_id: helfi_news_neighbourhoods
storage_client_config: { }
persistent_cache_max_age: 86400
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: LOL9fkfvgT6MB8SjNXI0WXRQqedWBH2oV7g4gfQjkuc
default_config_hash: vs16WpCdsWseKb-U81zRJbzykB25mE69iOEXv4ZhxCM
id: helfi_news_tags
label: 'Helfi: News tags'
label_plural: 'Helfi: News tags'
description: 'Retrieves news tags taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
id:
value: $.id
value: '$._source.uuid_langcode[0]'
uuid:
value: $.id
value: '$._source.uuid[0]'
title:
value: '$.attributes["name"]'
field_frontpage_term_id:
value: '$.attributes["drupal_internal__tid"]'
value: '$._source.name[0]'
tid:
value: '$._source.tid[0]'
storage_client_id: helfi_news_tags
storage_client_config: { }
persistent_cache_max_age: 86400
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- field.storage.paragraph.field_helfi_news_groups
- paragraphs.paragraphs_type.news_list
_core:
default_config_hash: nmozVFbkBc-ubKtpWG_OgdeT4yNxsLcsbBYaGDHRnUQ
default_config_hash: r2rQghOD9sgt6njK6kYTkRi6vHRKoshKBhS6eXAj2_0
id: paragraph.news_list.field_helfi_news_groups
field_name: field_helfi_news_groups
entity_type: paragraph
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- field.storage.paragraph.field_helfi_news_neighbourhoods
- paragraphs.paragraphs_type.news_list
_core:
default_config_hash: If5nJKeaunQ7ITUWZ4daCyykb7mslZDLTVrLX7Gd1Qw
default_config_hash: ZyD4oFSt-0k-wITi8xejPiJQM_pMGPGBgtyMkd4yzYI
id: paragraph.news_list.field_helfi_news_neighbourhoods
field_name: field_helfi_news_neighbourhoods
entity_type: paragraph
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- field.storage.paragraph.field_helfi_news_tags
- paragraphs.paragraphs_type.news_list
_core:
default_config_hash: imhJdbO9eLYZPslj0VosAANrRZBizg4wyPgIYQ3SOXc
default_config_hash: tfWJCTuuqYCedZj4qD0LfgjK99kSKhDbEuW8ziVcwnM
id: paragraph.news_list.field_helfi_news_tags
field_name: field_helfi_news_tags
entity_type: paragraph
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/field.field.paragraph.news_list.field_limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- field.storage.paragraph.field_limit
- paragraphs.paragraphs_type.news_list
_core:
default_config_hash: U69lOLLSGh16cOtXvhZr3E_x2lmlZOfxD0CmQeIMb6U
default_config_hash: 4kAYV9U8y3qkYQKOzN40EOym0oqgr0IqaNJeaLgTwSs
id: paragraph.news_list.field_limit
field_name: field_limit
entity_type: paragraph
Expand Down
Loading

0 comments on commit 263b6ff

Please sign in to comment.