Skip to content

Commit 0aa38b7

Browse files
renovate[bot]Narasimharaj, Suhasini
andauthored
chore(deps): update nuget non-major dependencies (#944)
* chore(deps): update nuget non-major dependencies * Apply patch after tests fail --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Narasimharaj, Suhasini <suhasini.narasimharaj@digdir.no>
1 parent c593a3e commit 0aa38b7

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

src/Events/Altinn.Platform.Events.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<PackageReference Include="Altinn.Common.AccessTokenClient" Version="3.2.0" />
11-
<PackageReference Include="Altinn.Common.PEP" Version="4.2.2" />
11+
<PackageReference Include="Altinn.Common.PEP" Version="4.2.3" />
1212
<PackageReference Include="Altinn.Common.AccessToken" Version="5.1.0" />
1313
<PackageReference Include="Altinn.Platform.Models" Version="1.6.1" />
1414
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="9.0.0" />
@@ -25,8 +25,8 @@
2525
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
2626
<PackageReference Include="JWTCookieAuthentication" Version="4.0.4" />
2727
<PackageReference Include="Scrutor" Version="7.0.0" />
28-
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.2" />
29-
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="10.1.2" />
28+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.3" />
29+
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="10.1.3" />
3030
<PackageReference Include="Yuniql.AspNetCore" Version="1.2.25" />
3131
<PackageReference Include="Yuniql.PostgreSql" Version="1.3.15" />
3232
</ItemGroup>

test/Altinn.Platform.Events.Functions.Tests/Altinn.Platform.Events.Functions.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.2" />
11+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.3" />
1212
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1313
<PackageReference Include="Moq" Version="4.20.72" />
1414
<PackageReference Include="xunit" Version="2.9.3" />

test/Altinn.Platform.Events.Tests/Altinn.Platform.Events.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.2" />
9+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.3" />
1010
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1111
<PackageReference Include="Moq" Version="4.20.72" />
1212
<PackageReference Include="xunit" Version="2.9.3" />

test/Altinn.Platform.Events.Tests/Mocks/PepWithPDPAuthorizationMockSI.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.IO;
44
using System.Linq;
55
using System.Security.Claims;
6+
using System.Threading;
67
using System.Threading.Tasks;
78
using System.Xml;
89

@@ -41,6 +42,11 @@ public async Task<XacmlJsonResponse> GetDecisionForRequest(XacmlJsonRequestRoot
4142
return await Authorize(xacmlJsonRequest.Request);
4243
}
4344

45+
public Task<XacmlJsonResponse> GetDecisionForRequest(XacmlJsonRequestRoot xacmlJsonRequest, CancellationToken cancellationToken)
46+
{
47+
throw new NotImplementedException();
48+
}
49+
4450
private async Task<XacmlJsonResponse> Authorize(XacmlJsonRequest decisionRequest)
4551
{
4652
if (decisionRequest.MultiRequests == null || decisionRequest.MultiRequests.RequestReference == null
@@ -129,6 +135,11 @@ public async Task<bool> GetDecisionForUnvalidateRequest(XacmlJsonRequestRoot xac
129135
return DecisionHelper.ValidatePdpDecision(response.Response, user);
130136
}
131137

138+
public Task<bool> GetDecisionForUnvalidateRequest(XacmlJsonRequestRoot xacmlJsonRequest, ClaimsPrincipal user, CancellationToken cancellationToken)
139+
{
140+
throw new NotImplementedException();
141+
}
142+
132143
public async Task<XacmlContextRequest> Enrich(XacmlContextRequest request)
133144
{
134145
await EnrichResourceAttributes(request);
@@ -304,6 +315,6 @@ private static string GetAltinnAppsPolicyPath(string org, string app)
304315
{
305316
string unitTestFolder = Path.GetDirectoryName(new Uri(typeof(PepWithPDPAuthorizationMockSI).Assembly.Location).LocalPath);
306317
return Path.Combine(unitTestFolder, "..", "..", "..", "Data", "apps", org, app, "config", "authorization");
307-
}
318+
}
308319
}
309320
}

0 commit comments

Comments
 (0)