Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic update #410

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,28 @@ services:
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-varnish.tls=true"
- "traefik.http.services.${COMPOSE_PROJECT_NAME}-varnish.loadbalancer.server.port=6081"
- "traefik.docker.network=stonehenge-network"
elastic-proxy:
container_name: "${COMPOSE_PROJECT_NAME}-elastic-proxy"
image: nginxinc/nginx-unprivileged:alpine-perl
environment:
ELASTICSEARCH_URL: "http://elastic:9200"
volumes:
- ./docker/elastic-proxy/nginx.conf:/etc/nginx/nginx.conf
- ./docker/elastic-proxy/elastic.conf:/etc/nginx/templates/default.conf.template
networks:
- stonehenge-network
- internal
labels:
- "traefik.enable=true"
- "traefik.http.routers.nginx.entrypoints=https"
- "traefik.http.routers.nginx.rule=Host(`elastic-proxy-${DRUPAL_HOSTNAME}`)"
- "traefik.http.services.nginx.loadbalancer.server.port=8080"
- "traefik.http.routers.nginx.tls=true"
- "traefik.docker.network=stonehenge-network"
depends_on:
- elastic
profiles:
- search
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.4.0
container_name: "${COMPOSE_PROJECT_NAME}-elastic"
Expand Down
330 changes: 132 additions & 198 deletions composer.lock

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions conf/cmi/block.block.claro_help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: ca80da23-bd3c-41c6-b298-d043ba79f1bc
langcode: en
status: true
dependencies:
module:
- help
theme:
- claro
_core:
default_config_hash: jccFSSVqV0WCDb6NtML1VWAWTtDbZ-zn5YgTRMgMrIM
id: claro_help
theme: claro
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
label_display: '0'
provider: help
visibility: { }
22 changes: 22 additions & 0 deletions conf/cmi/block.block.gin_help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 3eba0e57-d8ab-45be-a884-05713fa5e92f
langcode: en
status: true
dependencies:
module:
- help
theme:
- gin
_core:
default_config_hash: 8nOAry2oKqJOr0zbrlJ3sZHDFJLIO6j-0vT0K_TYca4
id: gin_help
theme: gin
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
label_display: '0'
provider: help
visibility: { }
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
1 change: 1 addition & 0 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ module:
helfi_tpr_config: 0
helfi_tunnistamo: 0
helfi_user_roles: 0
help: 0
image: 0
image_style_quality: 0
imagecache_external: 0
Expand Down
3 changes: 0 additions & 3 deletions conf/cmi/editoria11y.configuration.yml

This file was deleted.

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
Loading