From 263b6ff4f5fb0540b90d7d0929078fe11a88f294 Mon Sep 17 00:00:00 2001 From: hel-platta-automation <95360595+hel-platta-automation@users.noreply.github.com> Date: Mon, 20 May 2024 09:48:18 +0000 Subject: [PATCH] Update configuration --- composer.lock | 213 ++++++------------ ..._news_groups.helfi_news_groups.default.yml | 13 +- ...oods.helfi_news_neighbourhoods.default.yml | 13 +- ...elfi_news_tags.helfi_news_tags.default.yml | 13 +- ..._news_groups.helfi_news_groups.default.yml | 4 +- ...oods.helfi_news_neighbourhoods.default.yml | 4 +- ...elfi_news_tags.helfi_news_tags.default.yml | 4 +- ...tities.external_entity_type.helfi_news.yml | 31 +-- ...external_entity_type.helfi_news_groups.yml | 14 +- ..._entity_type.helfi_news_neighbourhoods.yml | 14 +- ...s.external_entity_type.helfi_news_tags.yml | 14 +- ...fi_news_groups.field_frontpage_term_id.yml | 22 -- ...neighbourhoods.field_frontpage_term_id.yml | 22 -- ...elfi_news_tags.field_frontpage_term_id.yml | 22 -- ...raph.news_list.field_helfi_news_groups.yml | 2 +- ...s_list.field_helfi_news_neighbourhoods.yml | 2 +- ...agraph.news_list.field_helfi_news_tags.yml | 2 +- ....field.paragraph.news_list.field_limit.yml | 2 +- ....news_list.field_news_list_description.yml | 2 +- ...agraph.news_list.field_news_list_title.yml | 2 +- ...fi_news_groups.field_frontpage_term_id.yml | 23 -- ...neighbourhoods.field_frontpage_term_id.yml | 23 -- ...elfi_news_tags.field_frontpage_term_id.yml | 23 -- ...rage.paragraph.field_helfi_news_groups.yml | 2 +- ...agraph.field_helfi_news_neighbourhoods.yml | 2 +- ...torage.paragraph.field_helfi_news_tags.yml | 2 +- .../field.storage.paragraph.field_limit.yml | 2 +- ....paragraph.field_news_list_description.yml | 2 +- ...torage.paragraph.field_news_list_title.yml | 2 +- ...external_entity_type.helfi_news_groups.yml | 2 + ..._entity_type.helfi_news_neighbourhoods.yml | 2 + ...s.external_entity_type.helfi_news_tags.yml | 2 + .../language/fi/views.view.locked_content.yml | 2 - .../language/sv/views.view.locked_content.yml | 2 - .../paragraphs.paragraphs_type.news_list.yml | 2 +- docker/openshift/entrypoints/20-deploy.sh | 11 +- 36 files changed, 143 insertions(+), 376 deletions(-) delete mode 100644 conf/cmi/field.field.helfi_news_groups.helfi_news_groups.field_frontpage_term_id.yml delete mode 100644 conf/cmi/field.field.helfi_news_neighbourhoods.helfi_news_neighbourhoods.field_frontpage_term_id.yml delete mode 100644 conf/cmi/field.field.helfi_news_tags.helfi_news_tags.field_frontpage_term_id.yml delete mode 100644 conf/cmi/field.storage.helfi_news_groups.field_frontpage_term_id.yml delete mode 100644 conf/cmi/field.storage.helfi_news_neighbourhoods.field_frontpage_term_id.yml delete mode 100644 conf/cmi/field.storage.helfi_news_tags.field_frontpage_term_id.yml create mode 100644 conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_groups.yml create mode 100644 conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml create mode 100644 conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_tags.yml diff --git a/composer.lock b/composer.lock index 75b9058c..01fc5316 100644 --- a/composer.lock +++ b/composer.lock @@ -1818,75 +1818,6 @@ "source": "https://git.drupalcode.org/project/ckeditor5_paste_filter" } }, - { - "name": "drupal/config_filter", - "version": "2.6.0", - "source": { - "type": "git", - "url": "https://git.drupalcode.org/project/config_filter.git", - "reference": "8.x-2.6" - }, - "dist": { - "type": "zip", - "url": "https://ftp.drupal.org/files/projects/config_filter-8.x-2.6.zip", - "reference": "8.x-2.6", - "shasum": "fd1a057a402436fc906c63bf0a74722f73b9b155" - }, - "require": { - "drupal/core": "^8.8 || ^9 || ^10" - }, - "conflict": { - "drush/drush": "<10" - }, - "suggest": { - "drupal/config_split": "Split site configuration for different environments." - }, - "type": "drupal-module", - "extra": { - "drupal": { - "version": "8.x-2.6", - "datestamp": "1698308577", - "security-coverage": { - "status": "covered", - "message": "Covered by Drupal's security advisory policy" - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "Fabian Bircher", - "homepage": "https://www.drupal.org/u/bircher", - "email": "opensource@fabianbircher.com", - "role": "Maintainer" - }, - { - "name": "Nuvole Web", - "homepage": "http://nuvole.org", - "email": "info@nuvole.org", - "role": "Maintainer" - }, - { - "name": "pescetti", - "homepage": "https://www.drupal.org/user/436244" - } - ], - "description": "Config Filter allows other modules to interact with a ConfigStorage through filter plugins.", - "homepage": "https://www.drupal.org/project/config_filter", - "keywords": [ - "Drupal", - "configuration", - "configuration management" - ], - "support": { - "source": "https://git.drupalcode.org/project/config_filter", - "issues": "https://www.drupal.org/project/issues/config_filter", - "slack": "https://drupal.slack.com/archives/C45342CDD" - } - }, { "name": "drupal/config_ignore", "version": "3.3.0", @@ -2008,17 +1939,17 @@ }, { "name": "drupal/content_lock", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/content_lock.git", - "reference": "8.x-2.3" + "reference": "8.x-2.4" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/content_lock-8.x-2.3.zip", - "reference": "8.x-2.3", - "shasum": "0e8343f82330899baef65aa85d9994154e29506f" + "url": "https://ftp.drupal.org/files/projects/content_lock-8.x-2.4.zip", + "reference": "8.x-2.4", + "shasum": "99d149e530555aae12b44292efe5887d373e862e" }, "require": { "drupal/core": "^9.0 || ^10.0" @@ -2026,8 +1957,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.3", - "datestamp": "1668427342", + "version": "8.x-2.4", + "datestamp": "1715783058", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2710,17 +2641,17 @@ }, { "name": "drupal/editoria11y", - "version": "2.1.16", + "version": "2.1.17", "source": { "type": "git", "url": "https://git.drupalcode.org/project/editoria11y.git", - "reference": "2.1.16" + "reference": "2.1.17" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/editoria11y-2.1.16.zip", - "reference": "2.1.16", - "shasum": "660ae0feeade810aac9d67cb8d00b14f5a5403ad" + "url": "https://ftp.drupal.org/files/projects/editoria11y-2.1.17.zip", + "reference": "2.1.17", + "shasum": "7c9af73ebfe342d988abf2a89e41d324bfc31766" }, "require": { "drupal/core": "^9 || ^10 || ^11" @@ -2731,8 +2662,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "2.1.16", - "datestamp": "1715359756", + "version": "2.1.17", + "datestamp": "1715783435", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -3947,16 +3878,16 @@ }, { "name": "drupal/hdbt", - "version": "6.5.10", + "version": "6.5.11", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "a1158717f670b8ff61243af8cefb51f557722edf" + "reference": "1bceace4bc51d2a6ebfc368434485cbea20c1d52" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/a1158717f670b8ff61243af8cefb51f557722edf", - "reference": "a1158717f670b8ff61243af8cefb51f557722edf", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/1bceace4bc51d2a6ebfc368434485cbea20c1d52", + "reference": "1bceace4bc51d2a6ebfc368434485cbea20c1d52", "shasum": "" }, "require": { @@ -3974,23 +3905,23 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/6.5.10", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/6.5.11", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2024-05-07T08:17:22+00:00" + "time": "2024-05-20T09:37:47+00:00" }, { "name": "drupal/hdbt_admin", - "version": "3.1.6", + "version": "3.1.7", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt-admin.git", - "reference": "96f29332a57540bda695cd53e5b288bc96960076" + "reference": "33a217058068330c90b049e539e91b19d24d933d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt-admin/zipball/96f29332a57540bda695cd53e5b288bc96960076", - "reference": "96f29332a57540bda695cd53e5b288bc96960076", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt-admin/zipball/33a217058068330c90b049e539e91b19d24d933d", + "reference": "33a217058068330c90b049e539e91b19d24d933d", "shasum": "" }, "require": { @@ -4009,10 +3940,10 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt-admin/tree/3.1.6", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt-admin/tree/3.1.7", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt-admin/issues" }, - "time": "2024-04-11T13:46:53+00:00" + "time": "2024-05-20T09:40:02+00:00" }, { "name": "drupal/health_check", @@ -4271,16 +4202,16 @@ }, { "name": "drupal/helfi_platform_config", - "version": "4.3.53", + "version": "4.3.55", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config.git", - "reference": "e8b115ed3bbb806d65056e66f30da3393bb9dfce" + "reference": "20d94f8c39b204768df18d4af0e521aa9efb0b37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/e8b115ed3bbb806d65056e66f30da3393bb9dfce", - "reference": "e8b115ed3bbb806d65056e66f30da3393bb9dfce", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/20d94f8c39b204768df18d4af0e521aa9efb0b37", + "reference": "20d94f8c39b204768df18d4af0e521aa9efb0b37", "shasum": "" }, "require": { @@ -4288,7 +4219,6 @@ "drupal/allowed_formats": "^2.0", "drupal/ckeditor": "^1.0", "drupal/ckeditor5_paste_filter": "^1.0", - "drupal/config_filter": "^2.6", "drupal/config_ignore": "^3.0", "drupal/config_rewrite": "^1.4", "drupal/content_lock": "^2.2", @@ -4355,8 +4285,7 @@ "extra": { "patches": { "drupal/content_lock": { - "[#UHF-4553] Fix unlock content button redirect": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/82081691e4a6d05b3716052d5fff46a04027bdc3/patches/content-lock-uhf-4553.patch", - "https://www.drupal.org/project/content_lock/issues/3343964": "https://www.drupal.org/files/issues/2023-05-22/3343964-5.patch" + "[#UHF-4553] Fix unlock content button redirect": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/82081691e4a6d05b3716052d5fff46a04027bdc3/patches/content-lock-uhf-4553.patch" }, "drupal/core": { "[#UHF-181] Hide untranslated menu links (https://www.drupal.org/project/drupal/issues/3091246)": "https://www.drupal.org/files/issues/2023-12-18/3091246--allow-menu-tree-manipulators-alter--24.patch", @@ -4383,10 +4312,6 @@ "https://www.drupal.org/project/paragraphs/issues/2904705#comment-13836790": "https://www.drupal.org/files/issues/2020-09-25/2904705-115.patch", "[#UHF-2059] Enhancements for the Admin UI": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/fdccb32397cc6fa19b4d0077b21a2b18aa6be297/patches/helfi_customizations_for_paragraphs_widget_8.x-1.12.patch" }, - "drupal/publication_date": { - "[#UHF-7721] Fixed node preview when publication date is not set. (https://www.drupal.org/i/3074373)": "https://www.drupal.org/files/issues/2022-12-20/publication_date_is_required_for_completing_the_form-3074373-11.patch", - "[#UHF-9113] Fix PHP 8.2 deprecation issue with PublishedAtOrNowComputed class. (https://www.drupal.org/i/3328575)": "https://www.drupal.org/files/issues/2023-05-31/3328575-5-fix-bux-publicate-date.patch" - }, "drupal/view_unpublished": { "[#UHF-9256] Fix missing dynamic permission dependencies.": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/cbb944ae79643ba7ed895db3fac7f3b3d90ac850/patches/view_unpublished_permissions_missing_dependencies.patch" } @@ -4397,10 +4322,10 @@ ], "description": "HELfi platform config", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/4.3.53", + "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/4.3.55", "issues": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/issues" }, - "time": "2024-05-15T06:17:07+00:00" + "time": "2024-05-20T09:41:13+00:00" }, { "name": "drupal/helfi_proxy", @@ -5785,17 +5710,17 @@ }, { "name": "drupal/publication_date", - "version": "2.0.0-beta7", + "version": "2.0.0-beta8", "source": { "type": "git", "url": "https://git.drupalcode.org/project/publication_date.git", - "reference": "8.x-2.0-beta7" + "reference": "8.x-2.0-beta8" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/publication_date-8.x-2.0-beta7.zip", - "reference": "8.x-2.0-beta7", - "shasum": "699232945890528f97b83f49a31ea7c7831c3ca8" + "url": "https://ftp.drupal.org/files/projects/publication_date-8.x-2.0-beta8.zip", + "reference": "8.x-2.0-beta8", + "shasum": "1e40fc97a4582c364a8971e16448775c30441fe7" }, "require": { "drupal/core": "^9.1 || ^10" @@ -5803,8 +5728,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.0-beta7", - "datestamp": "1669679282", + "version": "8.x-2.0-beta8", + "datestamp": "1715850299", "security-coverage": { "status": "not-covered", "message": "Beta releases are not covered by Drupal security advisories." @@ -5909,17 +5834,17 @@ }, { "name": "drupal/raven", - "version": "5.0.12", + "version": "5.0.13", "source": { "type": "git", "url": "https://git.drupalcode.org/project/raven.git", - "reference": "5.0.12" + "reference": "5.0.13" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/raven-5.0.12.zip", - "reference": "5.0.12", - "shasum": "926b7da3e38b0ac378075d1b0538dc36dfea8b0a" + "url": "https://ftp.drupal.org/files/projects/raven-5.0.13.zip", + "reference": "5.0.13", + "shasum": "12bcb8daeaaee35e28982e8d225011e866d535e9" }, "require": { "drupal/core": "^10.1", @@ -5929,13 +5854,13 @@ "drupal/csp": "^1.17", "drupal/monitoring": "^1.13", "drupal/seckit": "^2.0", - "drush/drush": "^11.0 || ^12.0" + "drush/drush": "^11.0 || ^12.0 || ^13.0" }, "type": "drupal-module", "extra": { "drupal": { - "version": "5.0.12", - "datestamp": "1715284635", + "version": "5.0.13", + "datestamp": "1715818744", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -7939,16 +7864,16 @@ }, { "name": "fileeye/mimemap", - "version": "2.1.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/FileEye/MimeMap.git", - "reference": "4ea9ac8d7fc599fffe7108f8821a7b324b5d0af4" + "reference": "7992d33502de8a82065fd9fe2d2e2b1f7f33d1ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FileEye/MimeMap/zipball/4ea9ac8d7fc599fffe7108f8821a7b324b5d0af4", - "reference": "4ea9ac8d7fc599fffe7108f8821a7b324b5d0af4", + "url": "https://api.github.com/repos/FileEye/MimeMap/zipball/7992d33502de8a82065fd9fe2d2e2b1f7f33d1ce", + "reference": "7992d33502de8a82065fd9fe2d2e2b1f7f33d1ce", "shasum": "" }, "require": { @@ -7991,9 +7916,9 @@ ], "support": { "issues": "https://github.com/FileEye/MimeMap/issues", - "source": "https://github.com/FileEye/MimeMap/tree/2.1.0" + "source": "https://github.com/FileEye/MimeMap/tree/2.1.1" }, - "time": "2024-04-06T13:00:52+00:00" + "time": "2024-05-17T19:22:06+00:00" }, { "name": "fileeye/pel", @@ -8058,26 +7983,26 @@ }, { "name": "firebase/php-jwt", - "version": "v6.10.0", + "version": "v6.10.1", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "a49db6f0a5033aef5143295342f1c95521b075ff" + "reference": "500501c2ce893c824c801da135d02661199f60c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff", - "reference": "a49db6f0a5033aef5143295342f1c95521b075ff", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5", + "reference": "500501c2ce893c824c801da135d02661199f60c5", "shasum": "" }, "require": { - "php": "^7.4||^8.0" + "php": "^8.0" }, "require-dev": { - "guzzlehttp/guzzle": "^6.5||^7.4", + "guzzlehttp/guzzle": "^7.4", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "psr/cache": "^1.0||^2.0", + "psr/cache": "^2.0||^3.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0" }, @@ -8115,9 +8040,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.10.0" + "source": "https://github.com/firebase/php-jwt/tree/v6.10.1" }, - "time": "2023-12-01T16:26:39+00:00" + "time": "2024-05-18T18:05:11+00:00" }, { "name": "galbar/jsonpath", @@ -14014,16 +13939,16 @@ }, { "name": "twig/twig", - "version": "v3.10.2", + "version": "v3.10.3", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "7aaed0b8311a557cc8c4047a71fd03153a00e755" + "reference": "67f29781ffafa520b0bbfbd8384674b42db04572" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/7aaed0b8311a557cc8c4047a71fd03153a00e755", - "reference": "7aaed0b8311a557cc8c4047a71fd03153a00e755", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/67f29781ffafa520b0bbfbd8384674b42db04572", + "reference": "67f29781ffafa520b0bbfbd8384674b42db04572", "shasum": "" }, "require": { @@ -14077,7 +14002,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.10.2" + "source": "https://github.com/twigphp/Twig/tree/v3.10.3" }, "funding": [ { @@ -14089,7 +14014,7 @@ "type": "tidelift" } ], - "time": "2024-05-14T06:04:16+00:00" + "time": "2024-05-16T10:04:27+00:00" }, { "name": "twistor/flysystem-stream-wrapper", diff --git a/conf/cmi/core.entity_form_display.helfi_news_groups.helfi_news_groups.default.yml b/conf/cmi/core.entity_form_display.helfi_news_groups.helfi_news_groups.default.yml index 5e5aec15..054e98a1 100644 --- a/conf/cmi/core.entity_form_display.helfi_news_groups.helfi_news_groups.default.yml +++ b/conf/cmi/core.entity_form_display.helfi_news_groups.helfi_news_groups.default.yml @@ -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: @@ -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 @@ -29,4 +19,5 @@ content: size: 60 placeholder: '' third_party_settings: { } -hidden: { } +hidden: + tid: true diff --git a/conf/cmi/core.entity_form_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml b/conf/cmi/core.entity_form_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml index fb3d0442..87f00b83 100644 --- a/conf/cmi/core.entity_form_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml +++ b/conf/cmi/core.entity_form_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml @@ -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: @@ -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 @@ -29,4 +19,5 @@ content: size: 60 placeholder: '' third_party_settings: { } -hidden: { } +hidden: + tid: true diff --git a/conf/cmi/core.entity_form_display.helfi_news_tags.helfi_news_tags.default.yml b/conf/cmi/core.entity_form_display.helfi_news_tags.helfi_news_tags.default.yml index b958c404..eed8c213 100644 --- a/conf/cmi/core.entity_form_display.helfi_news_tags.helfi_news_tags.default.yml +++ b/conf/cmi/core.entity_form_display.helfi_news_tags.helfi_news_tags.default.yml @@ -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: @@ -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 @@ -29,4 +19,5 @@ content: size: 60 placeholder: '' third_party_settings: { } -hidden: { } +hidden: + tid: true diff --git a/conf/cmi/core.entity_view_display.helfi_news_groups.helfi_news_groups.default.yml b/conf/cmi/core.entity_view_display.helfi_news_groups.helfi_news_groups.default.yml index 7c71202d..bf9771d0 100644 --- a/conf/cmi/core.entity_view_display.helfi_news_groups.helfi_news_groups.default.yml +++ b/conf/cmi/core.entity_view_display.helfi_news_groups.helfi_news_groups.default.yml @@ -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: @@ -22,5 +20,5 @@ content: weight: 0 region: content hidden: - field_frontpage_term_id: true search_api_excerpt: true + tid: true diff --git a/conf/cmi/core.entity_view_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml b/conf/cmi/core.entity_view_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml index 91cbb10b..911deca1 100644 --- a/conf/cmi/core.entity_view_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml +++ b/conf/cmi/core.entity_view_display.helfi_news_neighbourhoods.helfi_news_neighbourhoods.default.yml @@ -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: @@ -22,5 +20,5 @@ content: weight: 0 region: content hidden: - field_frontpage_term_id: true search_api_excerpt: true + tid: true diff --git a/conf/cmi/core.entity_view_display.helfi_news_tags.helfi_news_tags.default.yml b/conf/cmi/core.entity_view_display.helfi_news_tags.helfi_news_tags.default.yml index 9fc40811..af9d45f2 100644 --- a/conf/cmi/core.entity_view_display.helfi_news_tags.helfi_news_tags.default.yml +++ b/conf/cmi/core.entity_view_display.helfi_news_tags.helfi_news_tags.default.yml @@ -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: @@ -22,5 +20,5 @@ content: weight: 0 region: content hidden: - field_frontpage_term_id: true search_api_excerpt: true + tid: true diff --git a/conf/cmi/external_entities.external_entity_type.helfi_news.yml b/conf/cmi/external_entities.external_entity_type.helfi_news.yml index 078b81e6..40628c11 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_news.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_news.yml @@ -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 diff --git a/conf/cmi/external_entities.external_entity_type.helfi_news_groups.yml b/conf/cmi/external_entities.external_entity_type.helfi_news_groups.yml index 3d164724..6dd9064e 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_news_groups.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_news_groups.yml @@ -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 diff --git a/conf/cmi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml b/conf/cmi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml index a8558241..99926dd9 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml @@ -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 diff --git a/conf/cmi/external_entities.external_entity_type.helfi_news_tags.yml b/conf/cmi/external_entities.external_entity_type.helfi_news_tags.yml index 57168a57..bba0a9d0 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_news_tags.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_news_tags.yml @@ -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 diff --git a/conf/cmi/field.field.helfi_news_groups.helfi_news_groups.field_frontpage_term_id.yml b/conf/cmi/field.field.helfi_news_groups.helfi_news_groups.field_frontpage_term_id.yml deleted file mode 100644 index a51e18ab..00000000 --- a/conf/cmi/field.field.helfi_news_groups.helfi_news_groups.field_frontpage_term_id.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: 42a81125-44b7-45d8-b676-46a27a7dbc07 -langcode: en -status: true -dependencies: - config: - - field.storage.helfi_news_groups.field_frontpage_term_id - module: - - external_entities -_core: - default_config_hash: HB3lPK7ZdS9DZrpuk_0u_uxhvGdVwBQufeLISCVeyG4 -id: helfi_news_groups.helfi_news_groups.field_frontpage_term_id -field_name: field_frontpage_term_id -entity_type: helfi_news_groups -bundle: helfi_news_groups -label: 'Frontpage term id' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/conf/cmi/field.field.helfi_news_neighbourhoods.helfi_news_neighbourhoods.field_frontpage_term_id.yml b/conf/cmi/field.field.helfi_news_neighbourhoods.helfi_news_neighbourhoods.field_frontpage_term_id.yml deleted file mode 100644 index a91a4319..00000000 --- a/conf/cmi/field.field.helfi_news_neighbourhoods.helfi_news_neighbourhoods.field_frontpage_term_id.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: eff4aa71-c0d3-470c-aa37-86ff0b3ef5b7 -langcode: en -status: true -dependencies: - config: - - field.storage.helfi_news_neighbourhoods.field_frontpage_term_id - module: - - external_entities -_core: - default_config_hash: M1Kwl-JPBcmBgWPZoM0n3LL-U4tsgeRVigror_ggJ6k -id: helfi_news_neighbourhoods.helfi_news_neighbourhoods.field_frontpage_term_id -field_name: field_frontpage_term_id -entity_type: helfi_news_neighbourhoods -bundle: helfi_news_neighbourhoods -label: 'Frontpage term id' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/conf/cmi/field.field.helfi_news_tags.helfi_news_tags.field_frontpage_term_id.yml b/conf/cmi/field.field.helfi_news_tags.helfi_news_tags.field_frontpage_term_id.yml deleted file mode 100644 index 219199f8..00000000 --- a/conf/cmi/field.field.helfi_news_tags.helfi_news_tags.field_frontpage_term_id.yml +++ /dev/null @@ -1,22 +0,0 @@ -uuid: f6923133-8d94-49ec-a95c-48fadc1391ab -langcode: en -status: true -dependencies: - config: - - field.storage.helfi_news_tags.field_frontpage_term_id - module: - - external_entities -_core: - default_config_hash: yL10FWYxH4QZnzsm1DGdoh0-TQTErUeZukz_M_S1Gz4 -id: helfi_news_tags.helfi_news_tags.field_frontpage_term_id -field_name: field_frontpage_term_id -entity_type: helfi_news_tags -bundle: helfi_news_tags -label: 'Frontpage term id' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/conf/cmi/field.field.paragraph.news_list.field_helfi_news_groups.yml b/conf/cmi/field.field.paragraph.news_list.field_helfi_news_groups.yml index 3963b32c..7fb418ef 100644 --- a/conf/cmi/field.field.paragraph.news_list.field_helfi_news_groups.yml +++ b/conf/cmi/field.field.paragraph.news_list.field_helfi_news_groups.yml @@ -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 diff --git a/conf/cmi/field.field.paragraph.news_list.field_helfi_news_neighbourhoods.yml b/conf/cmi/field.field.paragraph.news_list.field_helfi_news_neighbourhoods.yml index 857f8cf7..8a21ecba 100644 --- a/conf/cmi/field.field.paragraph.news_list.field_helfi_news_neighbourhoods.yml +++ b/conf/cmi/field.field.paragraph.news_list.field_helfi_news_neighbourhoods.yml @@ -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 diff --git a/conf/cmi/field.field.paragraph.news_list.field_helfi_news_tags.yml b/conf/cmi/field.field.paragraph.news_list.field_helfi_news_tags.yml index cdcf7bf2..ad1c3b19 100644 --- a/conf/cmi/field.field.paragraph.news_list.field_helfi_news_tags.yml +++ b/conf/cmi/field.field.paragraph.news_list.field_helfi_news_tags.yml @@ -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 diff --git a/conf/cmi/field.field.paragraph.news_list.field_limit.yml b/conf/cmi/field.field.paragraph.news_list.field_limit.yml index 585ee79c..7522b9ab 100644 --- a/conf/cmi/field.field.paragraph.news_list.field_limit.yml +++ b/conf/cmi/field.field.paragraph.news_list.field_limit.yml @@ -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 diff --git a/conf/cmi/field.field.paragraph.news_list.field_news_list_description.yml b/conf/cmi/field.field.paragraph.news_list.field_news_list_description.yml index ec427d6d..6bb1ce03 100644 --- a/conf/cmi/field.field.paragraph.news_list.field_news_list_description.yml +++ b/conf/cmi/field.field.paragraph.news_list.field_news_list_description.yml @@ -13,7 +13,7 @@ third_party_settings: allowed_formats: - minimal _core: - default_config_hash: 7yDWmbqqH_qTaQ4iyJ6QTLaEcqUnL0oVp-t1huDnK_g + default_config_hash: Ba7omOgoQ1RguPjBSpjtpx8YqwE5BXBoNRVs_eQzNRQ id: paragraph.news_list.field_news_list_description field_name: field_news_list_description entity_type: paragraph diff --git a/conf/cmi/field.field.paragraph.news_list.field_news_list_title.yml b/conf/cmi/field.field.paragraph.news_list.field_news_list_title.yml index 73fe1478..073fc0f6 100644 --- a/conf/cmi/field.field.paragraph.news_list.field_news_list_title.yml +++ b/conf/cmi/field.field.paragraph.news_list.field_news_list_title.yml @@ -6,7 +6,7 @@ dependencies: - field.storage.paragraph.field_news_list_title - paragraphs.paragraphs_type.news_list _core: - default_config_hash: BVbXiEVCf8X8ZJUYKyiiyevct1RogayM-YXEWiSnuDw + default_config_hash: RDGC7tc3EzJDFQyJSUHpJc8vP__9Q6BJ27icD5o4APY id: paragraph.news_list.field_news_list_title field_name: field_news_list_title entity_type: paragraph diff --git a/conf/cmi/field.storage.helfi_news_groups.field_frontpage_term_id.yml b/conf/cmi/field.storage.helfi_news_groups.field_frontpage_term_id.yml deleted file mode 100644 index c5bc8c1c..00000000 --- a/conf/cmi/field.storage.helfi_news_groups.field_frontpage_term_id.yml +++ /dev/null @@ -1,23 +0,0 @@ -uuid: c62ebe15-2cb6-4553-b00d-3c21a0c1033b -langcode: en -status: true -dependencies: - module: - - external_entities -_core: - default_config_hash: b992_ctKi8x2uXo88S2tFAxA93ZE0BXLdaTCeEictWk -id: helfi_news_groups.field_frontpage_term_id -field_name: field_frontpage_term_id -entity_type: helfi_news_groups -type: string -settings: - max_length: 255 - case_sensitive: false - is_ascii: false -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/conf/cmi/field.storage.helfi_news_neighbourhoods.field_frontpage_term_id.yml b/conf/cmi/field.storage.helfi_news_neighbourhoods.field_frontpage_term_id.yml deleted file mode 100644 index 1561ccda..00000000 --- a/conf/cmi/field.storage.helfi_news_neighbourhoods.field_frontpage_term_id.yml +++ /dev/null @@ -1,23 +0,0 @@ -uuid: aee9a7c0-c5e1-40eb-a2a6-f89250953161 -langcode: en -status: true -dependencies: - module: - - external_entities -_core: - default_config_hash: X6qvfKybqnwfeHyr_f5PzxdXg9ihP8D-ryRes0_wh7Q -id: helfi_news_neighbourhoods.field_frontpage_term_id -field_name: field_frontpage_term_id -entity_type: helfi_news_neighbourhoods -type: string -settings: - max_length: 255 - case_sensitive: false - is_ascii: false -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/conf/cmi/field.storage.helfi_news_tags.field_frontpage_term_id.yml b/conf/cmi/field.storage.helfi_news_tags.field_frontpage_term_id.yml deleted file mode 100644 index f8cfad43..00000000 --- a/conf/cmi/field.storage.helfi_news_tags.field_frontpage_term_id.yml +++ /dev/null @@ -1,23 +0,0 @@ -uuid: 636d25cf-d069-4660-bce2-10059bb6c5fe -langcode: en -status: true -dependencies: - module: - - external_entities -_core: - default_config_hash: PkhrfcRaL2lqTDnoXDNoge-nlPEfXT6WGBZyKIFahqs -id: helfi_news_tags.field_frontpage_term_id -field_name: field_frontpage_term_id -entity_type: helfi_news_tags -type: string -settings: - max_length: 255 - case_sensitive: false - is_ascii: false -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/conf/cmi/field.storage.paragraph.field_helfi_news_groups.yml b/conf/cmi/field.storage.paragraph.field_helfi_news_groups.yml index edfcb11f..95e72c65 100644 --- a/conf/cmi/field.storage.paragraph.field_helfi_news_groups.yml +++ b/conf/cmi/field.storage.paragraph.field_helfi_news_groups.yml @@ -6,7 +6,7 @@ dependencies: - external_entities - paragraphs _core: - default_config_hash: _fM_KH15dd3VWM1oQkpfJUipPHD3pK-CiqLPcuj5ssQ + default_config_hash: wq65JaPUw7t2ky47ukc-A2jTYVFxzQYWTyIMKvVWqy4 id: paragraph.field_helfi_news_groups field_name: field_helfi_news_groups entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_helfi_news_neighbourhoods.yml b/conf/cmi/field.storage.paragraph.field_helfi_news_neighbourhoods.yml index b691482f..dfe2a2bb 100644 --- a/conf/cmi/field.storage.paragraph.field_helfi_news_neighbourhoods.yml +++ b/conf/cmi/field.storage.paragraph.field_helfi_news_neighbourhoods.yml @@ -6,7 +6,7 @@ dependencies: - external_entities - paragraphs _core: - default_config_hash: VVgm-VdlvDCYm-mIewtHi0RZp_7pCoE94esxuAat4CE + default_config_hash: hy1Tpmlf5WcTYBFp3oNoXSb5W-PJnpZGdxFL3PBi_b8 id: paragraph.field_helfi_news_neighbourhoods field_name: field_helfi_news_neighbourhoods entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_helfi_news_tags.yml b/conf/cmi/field.storage.paragraph.field_helfi_news_tags.yml index 04a00f43..43857350 100644 --- a/conf/cmi/field.storage.paragraph.field_helfi_news_tags.yml +++ b/conf/cmi/field.storage.paragraph.field_helfi_news_tags.yml @@ -6,7 +6,7 @@ dependencies: - external_entities - paragraphs _core: - default_config_hash: nWHDiteOOAcjVLeo90MtcJBVL0ABYuABPztRIvhiv_0 + default_config_hash: V9NNGo5t1lmcXJDwJC4J7KKMQ_xFClm35zZNiIcgjDg id: paragraph.field_helfi_news_tags field_name: field_helfi_news_tags entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_limit.yml b/conf/cmi/field.storage.paragraph.field_limit.yml index 0e61669f..e69a612c 100644 --- a/conf/cmi/field.storage.paragraph.field_limit.yml +++ b/conf/cmi/field.storage.paragraph.field_limit.yml @@ -5,7 +5,7 @@ dependencies: module: - paragraphs _core: - default_config_hash: BN27jqBir0CqxJ0z1RtYc8WNNohSkDdtzv_9l-HRKhk + default_config_hash: UY9Qakkj3TBaF4CVQe9dOaOcUHeggIBAwDWE1nNRROk id: paragraph.field_limit field_name: field_limit entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_news_list_description.yml b/conf/cmi/field.storage.paragraph.field_news_list_description.yml index 592ea791..f8c61b04 100644 --- a/conf/cmi/field.storage.paragraph.field_news_list_description.yml +++ b/conf/cmi/field.storage.paragraph.field_news_list_description.yml @@ -6,7 +6,7 @@ dependencies: - paragraphs - text _core: - default_config_hash: V_erLPi4c9bT-uhAlgcpJJX8LbR02Btsi8yzMVAIpo4 + default_config_hash: BA64kRk5MQLN_q3GY18R5uWkGRpH6NUZuEBGh4WfWdc id: paragraph.field_news_list_description field_name: field_news_list_description entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_news_list_title.yml b/conf/cmi/field.storage.paragraph.field_news_list_title.yml index c16d4059..c5846a74 100644 --- a/conf/cmi/field.storage.paragraph.field_news_list_title.yml +++ b/conf/cmi/field.storage.paragraph.field_news_list_title.yml @@ -5,7 +5,7 @@ dependencies: module: - paragraphs _core: - default_config_hash: xapLq-jZodnhyWktgf76RTu9dEBAgWBq-ay41DJpsXQ + default_config_hash: 9nFZzI_rcVVomJTSrdrbAkvTkwFwTcwMjUpMP0fafMo id: paragraph.field_news_list_title field_name: field_news_list_title entity_type: paragraph diff --git a/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_groups.yml b/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_groups.yml new file mode 100644 index 00000000..c804c15e --- /dev/null +++ b/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_groups.yml @@ -0,0 +1,2 @@ +label: 'Uutisten kohderyhmät' +label_plural: 'Uutisten kohderyhmät' diff --git a/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml b/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml new file mode 100644 index 00000000..13ece827 --- /dev/null +++ b/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml @@ -0,0 +1,2 @@ +label: 'Uutisten kaupunginosat' +label_plural: 'Uutisten kaupunginosat' diff --git a/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_tags.yml b/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_tags.yml new file mode 100644 index 00000000..13ece827 --- /dev/null +++ b/conf/cmi/language/fi/external_entities.external_entity_type.helfi_news_tags.yml @@ -0,0 +1,2 @@ +label: 'Uutisten kaupunginosat' +label_plural: 'Uutisten kaupunginosat' diff --git a/conf/cmi/language/fi/views.view.locked_content.yml b/conf/cmi/language/fi/views.view.locked_content.yml index 32ea437b..c879a926 100644 --- a/conf/cmi/language/fi/views.view.locked_content.yml +++ b/conf/cmi/language/fi/views.view.locked_content.yml @@ -50,8 +50,6 @@ display: group_items: 1: title: Julkaistu - 2: - title: Julkaisematon type: expose: label: Sisältötyyppi diff --git a/conf/cmi/language/sv/views.view.locked_content.yml b/conf/cmi/language/sv/views.view.locked_content.yml index e9f13a08..23eb4003 100644 --- a/conf/cmi/language/sv/views.view.locked_content.yml +++ b/conf/cmi/language/sv/views.view.locked_content.yml @@ -44,8 +44,6 @@ display: group_items: 1: title: Publicerad - 2: - title: 'Ej publicerad' type: expose: label: Innehållstyp diff --git a/conf/cmi/paragraphs.paragraphs_type.news_list.yml b/conf/cmi/paragraphs.paragraphs_type.news_list.yml index f930c447..5049650a 100644 --- a/conf/cmi/paragraphs.paragraphs_type.news_list.yml +++ b/conf/cmi/paragraphs.paragraphs_type.news_list.yml @@ -3,7 +3,7 @@ langcode: en status: true dependencies: { } _core: - default_config_hash: 4NG1c_DFfBfzUCPfnwS5Sneo_G7lU_0YRfarh-p749M + default_config_hash: GqSJkJJNFYj7_Yrzletng06pW-sS9r0nS5BeDi8Q69w id: news_list label: 'News list' icon_uuid: null diff --git a/docker/openshift/entrypoints/20-deploy.sh b/docker/openshift/entrypoints/20-deploy.sh index 6a098241..4c02d6f1 100644 --- a/docker/openshift/entrypoints/20-deploy.sh +++ b/docker/openshift/entrypoints/20-deploy.sh @@ -1,5 +1,11 @@ #!/bin/bash +# Skip deployment script if ENV var is true +if [ "$SKIP_DEPLOY_SCRIPTS" = "true" ]; then + echo "SKIP_DEPLOY_SCRIPTS is true. Skipping the steps." + return +fi + source /init.sh function rollback_deployment { @@ -36,10 +42,9 @@ if [ "$CURRENT_DEPLOY_ID" != "$OPENSHIFT_BUILD_NAME" ]; then # @see https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/blob/main/documentation/deploy-hooks.md drush helfi:pre-deploy || true # Run maintenance tasks (config import, database updates etc) - drush deploy - + OUTPUT=$(sh -c '(drush deploy); exit $?' 2>&1) if [ $? -ne 0 ]; then - rollback_deployment "drush deploy failed with {$?} exit code. See logs for more information." $CURRENT_DEPLOY_ID + rollback_deployment "drush deploy failed with {$?} exit code. ${OUTPUT}" $CURRENT_DEPLOY_ID exit 1 fi # Run post-deploy tasks.