From 3660b349f9ea6f8017bdf88e23d014fbea6ccdc3 Mon Sep 17 00:00:00 2001 From: Steve Wirt Date: Thu, 21 Dec 2023 11:38:11 -0500 Subject: [PATCH] VACMS-14238 Add removal of , e xt. specifically. --- .../sync/migrate_plus.migration.va_node_facility_nca.yml | 8 ++++---- .../sync/migrate_plus.migration.va_node_facility_vba.yml | 4 ++-- ...igrate_plus.migration.va_node_facility_vet_centers.yml | 4 ++-- ...te_plus.migration.va_node_facility_vet_centers_mvc.yml | 4 ++-- ...ate_plus.migration.va_node_facility_vet_centers_os.yml | 4 ++-- ..._plus.migration.va_node_health_care_local_facility.yml | 8 ++++---- .../migrate_plus.migration.va_node_facility_nca.yml | 8 ++++---- .../migrate_plus.migration.va_node_facility_vba.yml | 4 ++-- ...igrate_plus.migration.va_node_facility_vet_centers.yml | 4 ++-- ...te_plus.migration.va_node_facility_vet_centers_mvc.yml | 4 ++-- ...ate_plus.migration.va_node_facility_vet_centers_os.yml | 4 ++-- ..._plus.migration.va_node_health_care_local_facility.yml | 8 ++++---- 12 files changed, 32 insertions(+), 32 deletions(-) diff --git a/config/sync/migrate_plus.migration.va_node_facility_nca.yml b/config/sync/migrate_plus.migration.va_node_facility_nca.yml index 60f3331d3a..239edde565 100644 --- a/config/sync/migrate_plus.migration.va_node_facility_nca.yml +++ b/config/sync/migrate_plus.migration.va_node_facility_nca.yml @@ -248,9 +248,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -258,9 +258,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: fax field_phone_number: @@ -271,9 +271,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -281,9 +281,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: phone field_office_hours: diff --git a/config/sync/migrate_plus.migration.va_node_facility_vba.yml b/config/sync/migrate_plus.migration.va_node_facility_vba.yml index 78e8fb4cfc..855584247e 100644 --- a/config/sync/migrate_plus.migration.va_node_facility_vba.yml +++ b/config/sync/migrate_plus.migration.va_node_facility_vba.yml @@ -182,9 +182,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -192,9 +192,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: phone-main status: diff --git a/config/sync/migrate_plus.migration.va_node_facility_vet_centers.yml b/config/sync/migrate_plus.migration.va_node_facility_vet_centers.yml index e6ca07485c..24951be047 100644 --- a/config/sync/migrate_plus.migration.va_node_facility_vet_centers.yml +++ b/config/sync/migrate_plus.migration.va_node_facility_vet_centers.yml @@ -169,9 +169,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -179,9 +179,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: phone-main field_office_hours: diff --git a/config/sync/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml b/config/sync/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml index 90c77d3a7f..b728b7aeb5 100644 --- a/config/sync/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml +++ b/config/sync/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml @@ -166,9 +166,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -176,9 +176,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: phone-main field_office_hours: diff --git a/config/sync/migrate_plus.migration.va_node_facility_vet_centers_os.yml b/config/sync/migrate_plus.migration.va_node_facility_vet_centers_os.yml index ed70fc51fd..bfdee432a3 100644 --- a/config/sync/migrate_plus.migration.va_node_facility_vet_centers_os.yml +++ b/config/sync/migrate_plus.migration.va_node_facility_vet_centers_os.yml @@ -163,9 +163,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -173,9 +173,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: phone-main field_office_hours: diff --git a/config/sync/migrate_plus.migration.va_node_health_care_local_facility.yml b/config/sync/migrate_plus.migration.va_node_health_care_local_facility.yml index 7e8f1518e1..37047c74c8 100644 --- a/config/sync/migrate_plus.migration.va_node_health_care_local_facility.yml +++ b/config/sync/migrate_plus.migration.va_node_health_care_local_facility.yml @@ -187,9 +187,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -197,9 +197,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: phone-mental-health field_phone_number: @@ -210,9 +210,9 @@ process: - X - ' ' - ext + - Ext - . - ',' - - Ext - x replace: - '' @@ -220,9 +220,9 @@ process: - x - '' - x + - x - '' - '' - - x - ', ext. ' source: phone-main field_mobile: diff --git a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_nca.yml b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_nca.yml index 8cbde35870..29ce21a6ca 100644 --- a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_nca.yml +++ b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_nca.yml @@ -256,14 +256,14 @@ process: field_fax_number: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: fax field_phone_number: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: phone field_office_hours: plugin: va_field_office_hours diff --git a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vba.yml b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vba.yml index 8977b6d129..0a87b4ef55 100644 --- a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vba.yml +++ b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vba.yml @@ -189,8 +189,8 @@ process: field_phone_number: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: phone-main # Bring these in as unpublished. status: diff --git a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers.yml b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers.yml index 1acc70102e..d4649573ae 100644 --- a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers.yml +++ b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers.yml @@ -176,8 +176,8 @@ process: field_phone_number: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: phone-main field_office_hours: plugin: va_field_office_hours diff --git a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml index edbf57809e..7404dedaa5 100644 --- a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml +++ b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_mvc.yml @@ -172,8 +172,8 @@ process: field_phone_number: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: phone-main field_office_hours: plugin: va_field_office_hours diff --git a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_os.yml b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_os.yml index 865ea51ab4..09757ea808 100644 --- a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_os.yml +++ b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_facility_vet_centers_os.yml @@ -168,8 +168,8 @@ process: field_phone_number: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: phone-main field_office_hours: plugin: va_field_office_hours diff --git a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_health_care_local_facility.yml b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_health_care_local_facility.yml index 63af93052a..084789f101 100644 --- a/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_health_care_local_facility.yml +++ b/docroot/modules/custom/va_gov_migrate/config/install/migrate_plus.migration.va_node_health_care_local_facility.yml @@ -194,14 +194,14 @@ process: field_mental_health_phone: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: phone-mental-health field_phone_number: # Covert all ext variants to x and then replace it with, ', ext. ' last. plugin: str_replace - search: ['(', ')', 'X', ' ', 'ext', '.', ',', 'Ext', 'x'] - replace: ['', '-', 'x', '', 'x', '', '', 'x', ', ext. '] + search: ['(', ')', 'X', ' ', 'ext', 'Ext', '.', ',', 'x'] + replace: ['', '-', 'x', '', 'x', 'x', '', '', ', ext. '] source: phone-main field_mobile: plugin: convert_boolean