Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f715c50306 | |||
| fcd8c2ede7 | |||
| 9ae11b9b03 | |||
| 56f967c6e4 | |||
| 58312d489b | |||
| 5ace2129e1 | |||
| 2bf2d79739 | |||
| 664bbd858b | |||
| c36ff28a84 | |||
| 0c24613dd3 | |||
| 8bcd0f60c3 | |||
| 186c4b1e85 | |||
| 98f46b5e13 | |||
| 9d9cb3761a |
@@ -83,8 +83,6 @@ steps:
|
||||
- mkdir -p $HOME/.kube
|
||||
- echo "$KUBE_CONFIG" > $HOME/.kube/config
|
||||
- kubectl apply -f litecharms-shop-uat.yml
|
||||
- sleep 10
|
||||
- kubectl rollout restart deployment/litecharms-shop -n litecharms-shop-uat
|
||||
|
||||
depends_on:
|
||||
- package
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using LiteCharms.Features.Email.Events;
|
||||
using LiteCharms.Features.Email.Models;
|
||||
using LiteCharms.Features.ServiceBus.Abstractions;
|
||||
using static LiteCharms.Features.ServiceBus.Constants;
|
||||
using LiteCharms.Abstractions;
|
||||
using LiteCharms.Features.Email.Events;
|
||||
using LiteCharms.Models;
|
||||
using static LiteCharms.Abstractions.Constants;
|
||||
|
||||
namespace Shop.Components.Pages;
|
||||
|
||||
|
||||
+4
-13
@@ -1,7 +1,6 @@
|
||||
using LiteCharms.Features.Extensions;
|
||||
using LiteCharms.Features.Mediator;
|
||||
using LiteCharms.Extensions;
|
||||
using Shop.Components;
|
||||
using static LiteCharms.Features.Email.Extensions.Constants;
|
||||
using static LiteCharms.Abstractions.Constants;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@@ -15,19 +14,11 @@ builder.Services.AddBlazoredToast();
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
|
||||
builder.Services.AddMediator();
|
||||
|
||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>));
|
||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineBehavior<,>));
|
||||
|
||||
builder.Services.AddSalesServiceBus();
|
||||
builder.Services.AddGeneralServiceBus();
|
||||
builder.Services.AddQuartzSchedulerClient(ShopSchedulerName, builder.Configuration);
|
||||
|
||||
builder.Services.AddEmailServices(builder.Configuration);
|
||||
builder.Services.AddEmailServiceBus();
|
||||
|
||||
builder.Services.AddShopServices();
|
||||
builder.Services.AddGeneralServiceBus();
|
||||
builder.Services.AddShopDatabase(builder.Configuration);
|
||||
builder.Services.AddQuartzSchedulerClient(ShopSchedulerName, builder.Configuration);
|
||||
|
||||
builder.Services.AddPostgresHealtchCheck();
|
||||
builder.Services.AddQuartzHealtchCheck();
|
||||
|
||||
+3
-1
@@ -17,7 +17,9 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="LiteCharms.Features" Version="1.32.0" />
|
||||
<PackageReference Include="LiteCharms.Extensions" Version="1.20.0" />
|
||||
<PackageReference Include="LiteCharms.Features" Version="1.20.0" />
|
||||
<PackageReference Include="LiteCharms.Models" Version="1.20.0" />
|
||||
<PackageReference Include="Polly" Version="8.6.6" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.EntityFrameworkCore": "Error"
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
|
||||
@@ -44,7 +44,7 @@ metadata:
|
||||
name: litecharms-shop
|
||||
namespace: litecharms-shop-uat
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: shop
|
||||
|
||||
Reference in New Issue
Block a user