File tree Expand file tree Collapse file tree
ranking/Codebreaker.Ranking Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ internal static class ApplicationServices
99 public static void AddApplicationServices ( this IHostApplicationBuilder builder )
1010 {
1111
12- builder . AddAzureQueueClient ( "botqueue" ) ;
12+ builder . AddAzureQueueServiceClient ( "botqueue" ) ;
1313 builder . Services . AddScoped < BotQueueClient > ( ) ;
1414
1515 var botConfig = builder . Configuration . GetSection ( "Bot" ) ;
Original file line number Diff line number Diff line change 2020 . AddDatabase ( "CodebreakerSql" ) ;
2121
2222 var cosmos = builder . AddAzureCosmosDB ( "codebreakercosmos" )
23- . AddDatabase ( "codebreaker" ) ;
23+ . AddCosmosDatabase ( "codebreaker" ) ;
2424
2525 var gameAPIs = builder . AddProject < Projects . Codebreaker_GameAPIs > ( "gameapis" )
2626 . WithExternalHttpEndpoints ( )
6262 var blob = storage . AddBlobs ( "checkpoints" ) ;
6363
6464 var eventHub = builder . AddAzureEventHubs ( "codebreakerevents" )
65- . AddEventHub ( "games" ) ;
65+ . AddHub ( "games" ) ;
6666
6767 var cosmos = builder . AddAzureCosmosDB ( "codebreakercosmos" )
68- . AddDatabase ( "codebreaker" ) ;
68+ . AddCosmosDatabase ( "codebreaker" ) ;
6969
7070 var gatewayKeyvault = builder . AddAzureKeyVault ( "gateway-keyvault" ) ;
7171 var userServiceKeyvault = builder . AddAzureKeyVault ( "users-keyvault" ) ;
Original file line number Diff line number Diff line change 33 <TargetFramework >net9.0</TargetFramework >
44 <Nullable >enable</Nullable >
55 <ImplicitUsings >enable</ImplicitUsings >
6- <IncludeOpenAPIAnalyzers >true</IncludeOpenAPIAnalyzers >
76 <UserSecretsId >38af0a0f-4021-416f-bc92-73f548a0a26c</UserSecretsId >
87 </PropertyGroup >
98 <ItemGroup >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public static void AddApplicationServices(this IHostApplicationBuilder builder)
2222 }
2323 else
2424 {
25- builder . AddKeyedAzureBlobClient ( "checkpoints" ) ;
25+ builder . AddKeyedAzureBlobServiceClient ( "checkpoints" ) ;
2626
2727 builder . AddAzureEventProcessorClient ( "codebreakerevents" , settings =>
2828 {
You can’t perform that action at this time.
0 commit comments