From f3af2fe08eb4ea5b18ce473b4b02d167146c3fcc Mon Sep 17 00:00:00 2001 From: Phil Schneider Date: Wed, 25 Sep 2024 14:07:21 +0200 Subject: [PATCH] feat: adjust seeding for initial wallet Refs: #1003 --- .../Seeder/Data/application_checklists.json | 66 +++++++++++++++++++ .../Seeder/Data/company_applications.json | 13 ++++ .../Seeder/Data/process_steps.json | 47 +++++++++++++ .../Seeder/Data/processes.json | 8 +++ 4 files changed, 134 insertions(+) create mode 100644 src/portalbackend/PortalBackend.Migrations/Seeder/Data/application_checklists.json create mode 100644 src/portalbackend/PortalBackend.Migrations/Seeder/Data/company_applications.json create mode 100644 src/portalbackend/PortalBackend.Migrations/Seeder/Data/process_steps.json create mode 100644 src/portalbackend/PortalBackend.Migrations/Seeder/Data/processes.json diff --git a/src/portalbackend/PortalBackend.Migrations/Seeder/Data/application_checklists.json b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/application_checklists.json new file mode 100644 index 0000000000..642138ae11 --- /dev/null +++ b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/application_checklists.json @@ -0,0 +1,66 @@ +[ + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 1, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 3, + "comment": null + }, + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 2, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 3, + "comment": null + }, + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 3, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 2, + "comment": null + }, + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 4, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 1, + "comment": null + }, + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 5, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 1, + "comment": null + }, + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 6, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 1, + "comment": null + }, + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 7, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 1, + "comment": null + }, + { + "application_id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "application_checklist_entry_type_id": 8, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_checklist_entry_status_id": 1, + "comment": null + } +] \ No newline at end of file diff --git a/src/portalbackend/PortalBackend.Migrations/Seeder/Data/company_applications.json b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/company_applications.json new file mode 100644 index 0000000000..15bcada16e --- /dev/null +++ b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/company_applications.json @@ -0,0 +1,13 @@ +[ + { + "id": "31322991-f6fd-4a40-a529-566c9b04d6a4", + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "application_status_id": 7, + "company_id": "2dc4249f-b5ca-4d42-bef1-7a7a950a4f87", + "last_editor_id": null, + "checklist_process_id": "9782562f-5ba1-467f-b4da-a8d50d727145", + "company_application_type_id": 1, + "onboarding_service_provider_id": null + } +] \ No newline at end of file diff --git a/src/portalbackend/PortalBackend.Migrations/Seeder/Data/process_steps.json b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/process_steps.json new file mode 100644 index 0000000000..80b3c26ea0 --- /dev/null +++ b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/process_steps.json @@ -0,0 +1,47 @@ +[ + { + "id": "e014e270-7582-4340-9e81-8aedcf83c4f0", + "process_step_type_id": 1, + "process_step_status_id": 2, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "process_id": "9782562f-5ba1-467f-b4da-a8d50d727145", + "message": null + }, + { + "id": "e014e270-7582-4340-9e81-8aedcf83c4f1", + "process_step_type_id": 2, + "process_step_status_id": 2, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "process_id": "9782562f-5ba1-467f-b4da-a8d50d727145", + "message": null + }, + { + "id": "e014e270-7582-4340-9e81-8aedcf83c4f2", + "process_step_type_id": 3, + "process_step_status_id": 3, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "process_id": "9782562f-5ba1-467f-b4da-a8d50d727145", + "message": null + }, + { + "id": "e014e270-7582-4340-9e81-8aedcf83c4f3", + "process_step_type_id": 20, + "process_step_status_id": 2, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "process_id": "9782562f-5ba1-467f-b4da-a8d50d727145", + "message": null + }, + { + "id": "e014e270-7582-4340-9e81-8aedcf83c4f4", + "process_step_type_id": 21, + "process_step_status_id": 1, + "date_created": "2024-09-25 12:00:00.000000 +00:00", + "date_last_changed": null, + "process_id": "9782562f-5ba1-467f-b4da-a8d50d727145", + "message": null + } +] \ No newline at end of file diff --git a/src/portalbackend/PortalBackend.Migrations/Seeder/Data/processes.json b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/processes.json new file mode 100644 index 0000000000..7f8850e022 --- /dev/null +++ b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/processes.json @@ -0,0 +1,8 @@ +[ + { + "id": "9782562f-5ba1-467f-b4da-a8d50d727145", + "process_type_id": 1, + "lock_expiry_date": null, + "version": "9782562f-5ba1-467f-b4da-a8d50d727145" + } +] \ No newline at end of file