From f96bad8e4e06130b553c23555e7d52817c6f80b6 Mon Sep 17 00:00:00 2001 From: Jonathan Idland Olsnes <73334350+Jonathanio123@users.noreply.github.com> Date: Thu, 29 Aug 2024 12:10:19 +0200 Subject: [PATCH 1/3] Update local.settings.template.json and update common function lib --- .../Fusion.Resources.Functions.Common.csproj | 2 +- src/Fusion.Summary.Functions/Fusion.Summary.Functions.csproj | 1 - src/Fusion.Summary.Functions/local.settings.template.json | 1 + .../Fusion.Resources.Functions.csproj | 1 - .../Fusion.Resources.Functions/local.settings.template.json | 1 + 5 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj b/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj index 49ab0d6b1..0bb4cabac 100644 --- a/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj +++ b/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Fusion.Summary.Functions/Fusion.Summary.Functions.csproj b/src/Fusion.Summary.Functions/Fusion.Summary.Functions.csproj index 5a337f571..0327e7019 100644 --- a/src/Fusion.Summary.Functions/Fusion.Summary.Functions.csproj +++ b/src/Fusion.Summary.Functions/Fusion.Summary.Functions.csproj @@ -7,7 +7,6 @@ - diff --git a/src/Fusion.Summary.Functions/local.settings.template.json b/src/Fusion.Summary.Functions/local.settings.template.json index d49fbe185..6cd33546a 100644 --- a/src/Fusion.Summary.Functions/local.settings.template.json +++ b/src/Fusion.Summary.Functions/local.settings.template.json @@ -3,6 +3,7 @@ "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", "FUNCTIONS_WORKER_RUNTIME": "dotnet", + "FUNCTIONS_INPROC_NET8_ENABLED": "1", "AzureAd_TenantId": "3aa4a235-b6e2-48d5-9195-7fcf05b459b0", "AzureAd_ClientId": "5a842df8-3238-415d-b168-9f16a6a6031b", "AzureAd_Secret": "[REPLACE WITH SECRET]", diff --git a/src/backend/function/Fusion.Resources.Functions/Fusion.Resources.Functions.csproj b/src/backend/function/Fusion.Resources.Functions/Fusion.Resources.Functions.csproj index 884d12565..fe1b20455 100644 --- a/src/backend/function/Fusion.Resources.Functions/Fusion.Resources.Functions.csproj +++ b/src/backend/function/Fusion.Resources.Functions/Fusion.Resources.Functions.csproj @@ -8,7 +8,6 @@ - diff --git a/src/backend/function/Fusion.Resources.Functions/local.settings.template.json b/src/backend/function/Fusion.Resources.Functions/local.settings.template.json index 338ee798e..57a3d282f 100644 --- a/src/backend/function/Fusion.Resources.Functions/local.settings.template.json +++ b/src/backend/function/Fusion.Resources.Functions/local.settings.template.json @@ -3,6 +3,7 @@ "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", "FUNCTIONS_WORKER_RUNTIME": "dotnet", + "FUNCTIONS_INPROC_NET8_ENABLED": "1", "provision_position_queue": "provision-position-[REPLACE WITH DEV QUEUE]", "scheduled_notification_report_queue": "scheduled-notification-[REPLACE WITH DEV QUEUE]", "department_summary_weekly_queue": "department-summary-weekly-queue-[REPLACE WITH DEV QUEUE]", From ce7c14de1bc608c6e4cc8ea6b62554c4a829c01b Mon Sep 17 00:00:00 2001 From: Jonathan Idland Olsnes <73334350+Jonathanio123@users.noreply.github.com> Date: Thu, 29 Aug 2024 12:20:11 +0200 Subject: [PATCH 2/3] Remove Microsoft.Extensions.Configuration --- .../Fusion.Resources.Functions.Common.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj b/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj index 0bb4cabac..71725c21b 100644 --- a/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj +++ b/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj @@ -14,7 +14,6 @@ - From ca607a27079cc1c3e5e75554079c899728715ee0 Mon Sep 17 00:00:00 2001 From: Jonathan Idland Olsnes <73334350+Jonathanio123@users.noreply.github.com> Date: Thu, 29 Aug 2024 12:29:48 +0200 Subject: [PATCH 3/3] Test fix --- .../Fusion.Resources.Functions.Common.csproj | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj b/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj index 71725c21b..41df60aea 100644 --- a/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj +++ b/src/Fusion.Resources.Functions.Common/Fusion.Resources.Functions.Common.csproj @@ -14,6 +14,11 @@ + + + + +