Skip to content

Commit

Permalink
feat: add cache introspection
Browse files Browse the repository at this point in the history
  • Loading branch information
rikdepeuter authored and ArneD committed Jan 2, 2025
1 parent b71a92e commit ed95cb7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ nuget xunit.DependencyInjection.Logging 9.0.0
nuget xunit.runner.visualstudio 2.5.7

// VBR STUFF
nuget Be.Vlaanderen.Basisregisters.Auth.AcmIdm 3.0.1
nuget Be.Vlaanderen.Basisregisters.Auth.AcmIdm 3.3.0
nuget Be.Vlaanderen.Basisregisters.AggregateSource 9.0.1
nuget Be.Vlaanderen.Basisregisters.AggregateSource.ExplicitRouting 9.0.1
nuget Be.Vlaanderen.Basisregisters.AggregateSource.SqlStreamStore.Autofac 9.0.1
Expand Down
6 changes: 3 additions & 3 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ NUGET
NSwag.CodeGeneration.CSharp (>= 14.0.3)
NSwag.CodeGeneration.TypeScript (>= 14.0.3)
Swashbuckle.AspNetCore (6.2.3)
Be.Vlaanderen.Basisregisters.Auth.AcmIdm (3.0.1)
Be.Vlaanderen.Basisregisters.NisCodeService.Abstractions (>= 3.0)
Be.Vlaanderen.Basisregisters.Auth.AcmIdm (3.3)
Be.Vlaanderen.Basisregisters.NisCodeService.Abstractions (>= 5.0)
IdentityModel.AspNetCore.OAuth2Introspection (>= 6.2)
Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.3)
Microsoft.Extensions.DependencyInjection (>= 8.0)
Expand Down Expand Up @@ -363,7 +363,7 @@ NUGET
Confluent.Kafka (>= 2.3)
Microsoft.Extensions.Logging (>= 8.0)
Be.Vlaanderen.Basisregisters.Middleware.AddProblemJsonHeader (3.0)
Be.Vlaanderen.Basisregisters.NisCodeService.Abstractions (3.0)
Be.Vlaanderen.Basisregisters.NisCodeService.Abstractions (5.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
Be.Vlaanderen.Basisregisters.ProblemDetails (9.0)
Expand Down
2 changes: 1 addition & 1 deletion src/RoadRegistry.BackOffice.Api/Infrastructure/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public void ConfigureServices(IServiceCollection services)

return new AmazonS3JobUploadUrlPresigner(sp.GetRequiredService<IAmazonS3Extended>(), sp.GetRequiredService<IOptions<JobsBucketOptions>>());
})

.AddDistributedMemoryCache()
.AddAcmIdmAuthentication(oAuth2IntrospectionOptions, openIdConnectOptions)
.AddApiKeyAuth()
.AddMvc(options =>
Expand Down
3 changes: 2 additions & 1 deletion src/RoadRegistry.BackOffice.Api/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"ClientId": null,
"ClientSecret": null,
"Authority": null,
"IntrospectionEndpoint": null
"IntrospectionEndpoint": null,
"EnableCaching": true
},

"Serilog": {
Expand Down

0 comments on commit ed95cb7

Please sign in to comment.