Skip to content

Commit

Permalink
Merge branch 'master' into chore/summary/function-app-service-buss
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathanio123 authored Aug 29, 2024
2 parents 2d4b5eb + d959e0c commit 09e66a7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"netFrameworkVersion": {
"type": "string",
"defaultValue": "v6.0"
"defaultValue": "v8.0"
}
},
"variables": {
Expand Down Expand Up @@ -97,6 +97,10 @@
"name": "FUNCTIONS_EXTENSION_VERSION",
"value": "~4"
},
{
"name": "FUNCTIONS_INPROC_NET8_ENABLED",
"value": "1"
},
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.ServiceBus" Version="5.16.4"/>
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.4.1"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0"/>
</ItemGroup>
<ItemGroup>
<None Update="host.json">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"netFrameworkVersion": {
"type": "string",
"defaultValue": "v6.0"
"defaultValue": "v8.0"
}
},
"variables": {
Expand Down Expand Up @@ -98,6 +98,10 @@
"name": "FUNCTIONS_EXTENSION_VERSION",
"value": "~4"
},
{
"name": "FUNCTIONS_INPROC_NET8_ENABLED",
"value": "1"
},
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.4.1"/>
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.ServiceBus" Version="5.16.4"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Fusion.Resources.Functions.Common\Fusion.Resources.Functions.Common.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/backend/function/Fusion.Resources.Functions/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public override void Configure(IFunctionsHostBuilder builder)
opts.Secret = cfg.GetValue<string>("AzureAd_Secret");
opts.TenantId = cfg.GetValue<string>("AzureAd_TenantId");
});

builder.Services.AddConfigServiceResolver();
builder.Services.AddHttpClients();
}
Expand Down

0 comments on commit 09e66a7

Please sign in to comment.