File tree 10 files changed +18
-20
lines changed
10 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 4
4
"tools" : {
5
5
"aspirate" : {
6
6
"version" : " 8.0.7" ,
7
- "commands" : [
8
- " aspirate"
9
- ],
7
+ "commands" : [" aspirate" ],
10
8
"rollForward" : false
11
9
},
12
10
"dotnet-reportgenerator-globaltool" : {
13
- "version" : " 5.3.8" ,
14
- "commands" : [
15
- " reportgenerator"
16
- ],
11
+ "version" : " 5.3.9" ,
12
+ "commands" : [" reportgenerator" ],
17
13
"rollForward" : false
18
14
},
19
15
"husky" : {
20
16
"version" : " 0.7.1" ,
21
- "commands" : [
22
- " husky"
23
- ],
17
+ "commands" : [" husky" ],
24
18
"rollForward" : false
25
19
}
26
20
}
27
- }
21
+ }
Original file line number Diff line number Diff line change 29
29
<PackageVersion Include =" Aspire.StackExchange.Redis.OutputCaching" Version =" $(AspireVersion)" />
30
30
<PackageVersion Include =" Microsoft.Extensions.Http.Resilience" Version =" $(MicrosoftExtensionsVersion)" />
31
31
<PackageVersion Include =" Microsoft.Extensions.ServiceDiscovery" Version =" $(AspireVersion)" />
32
+ <PackageVersion Include =" Microsoft.Extensions.ServiceDiscovery.Yarp" Version =" $(AspireVersion)" />
32
33
<!-- Aspirant -->
33
34
<PackageVersion Include =" Aspirant.Hosting" Version =" $(AspirantVersion)" />
34
35
<PackageVersion Include =" Aspirant.Hosting.Testing" Version =" $(AspirantVersion)" />
52
53
<PackageVersion Include =" EntityFrameworkCore.Exceptions.Common" Version =" 8.1.3" />
53
54
<PackageVersion Include =" EntityFrameworkCore.Exceptions.PostgreSQL" Version =" 8.1.3" />
54
55
<!-- Semantic Kernel -->
55
- <PackageVersion Include =" Microsoft.SemanticKernel" Version =" 1.19 .0" />
56
+ <PackageVersion Include =" Microsoft.SemanticKernel" Version =" 1.20 .0" />
56
57
<!-- Polly -->
57
58
<PackageVersion Include =" Polly" Version =" $(PollyVersion)" />
58
59
<PackageVersion Include =" Polly.Extensions" Version =" $(PollyVersion)" />
95
96
<!-- Miscellaneous -->
96
97
<PackageVersion Include =" Scrutor" Version =" 4.2.2" />
97
98
<PackageVersion Include =" MediatR" Version =" 12.4.1" />
98
- <PackageVersion Include =" MongoDB.Bson" Version =" 2.28 .0" />
99
- <PackageVersion Include =" Marten.AspNetCore" Version =" 7.27 .0" />
99
+ <PackageVersion Include =" MongoDB.Bson" Version =" 2.29 .0" />
100
+ <PackageVersion Include =" Marten.AspNetCore" Version =" 7.28 .0" />
100
101
<PackageVersion Include =" FluentEmail.Mailtrap" Version =" 2.7.0" />
101
102
<PackageVersion Include =" Swashbuckle.AspNetCore" Version =" 6.7.3" />
102
103
<PackageVersion Include =" Swashbuckle.AspNetCore.ReDoc" Version =" 6.7.3" />
Original file line number Diff line number Diff line change 71
71
. WithEnvironment ( "AiOptions__OpenAi__EmbeddingName" , "text-embedding-3-small" ) ;
72
72
73
73
var orderingApi = builder . AddProject < BookWorm_Ordering > ( "ordering-api" )
74
+ . WithReference ( redis )
74
75
. WithReference ( rabbitMq )
75
76
. WithReference ( orderingDb )
76
77
. WaitFor ( rabbitMq )
77
78
. WaitFor ( orderingDb )
79
+ . WaitFor ( redis )
78
80
. WithEnvironment ( "Identity__Url" , identityEndpoint ) ;
79
81
80
82
var ratingApi = builder . AddProject < BookWorm_Rating > ( "rating-api" )
Original file line number Diff line number Diff line change 32
32
global using Azure ;
33
33
global using Azure . Storage . Blobs ;
34
34
global using Azure . Storage . Blobs . Models ;
35
+ global using BookWorm . Catalog . Extensions ;
35
36
global using BookWorm . Constants ;
36
37
global using Polly ;
37
38
global using Polly . Registry ;
Original file line number Diff line number Diff line change 1
- using BookWorm . Catalog . Extensions ;
2
- using GrpcBookServer = BookWorm . Catalog . Grpc . BookService ;
1
+ using GrpcBookServer = BookWorm . Catalog . Grpc . BookService ;
3
2
4
3
var builder = WebApplication . CreateBuilder ( args ) ;
5
4
Original file line number Diff line number Diff line change 2
2
3
3
<ItemGroup >
4
4
<PackageReference Include =" Duende.BFF.Yarp" />
5
+ <PackageReference Include =" Microsoft.Extensions.ServiceDiscovery.Yarp" />
5
6
</ItemGroup >
6
7
7
8
<ItemGroup >
Original file line number Diff line number Diff line change 10
10
11
11
builder . Services . AddReverseProxy ( )
12
12
. LoadFromConfig ( builder . Configuration . GetSection ( "ReverseProxy" ) )
13
+ . AddServiceDiscoveryDestinationResolver ( )
13
14
. AddBffExtensions ( ) ;
14
15
15
16
Configuration config = new ( ) ;
Original file line number Diff line number Diff line change 2
2
global using Ardalis . GuardClauses ;
3
3
global using BookWorm . Constants ;
4
4
global using BookWorm . Core . SeedWork ;
5
+ global using BookWorm . Notification . Extensions ;
5
6
global using BookWorm . Notification . Infrastructure ;
6
7
global using BookWorm . Notification . Models ;
7
8
global using BookWorm . Notification . OpenTelemetry ;
Original file line number Diff line number Diff line change 1
- using BookWorm . Notification . Extensions ;
2
-
3
- var builder = WebApplication . CreateBuilder ( args ) ;
1
+ var builder = WebApplication . CreateBuilder ( args ) ;
4
2
5
3
builder . AddApplicationServices ( ) ;
6
4
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public static WebApplication UseOpenApi(this WebApplication app)
46
46
options . EnableUntrustedSpec ( ) ;
47
47
} ) ;
48
48
49
- if ( ! app . Environment . IsDevelopment ( ) )
49
+ if ( app . Environment . IsDevelopment ( ) )
50
50
{
51
51
app . UseSwaggerUI ( options =>
52
52
{
You can’t perform that action at this time.
0 commit comments