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
|
- mkdir -p $HOME/.kube
|
||||||
- echo "$KUBE_CONFIG" > $HOME/.kube/config
|
- echo "$KUBE_CONFIG" > $HOME/.kube/config
|
||||||
- kubectl apply -f litecharms-shop-uat.yml
|
- kubectl apply -f litecharms-shop-uat.yml
|
||||||
- sleep 10
|
|
||||||
- kubectl rollout restart deployment/litecharms-shop -n litecharms-shop-uat
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- package
|
- package
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using LiteCharms.Features.Email.Events;
|
using LiteCharms.Abstractions;
|
||||||
using LiteCharms.Features.Email.Models;
|
using LiteCharms.Features.Email.Events;
|
||||||
using LiteCharms.Features.ServiceBus.Abstractions;
|
using LiteCharms.Models;
|
||||||
using static LiteCharms.Features.ServiceBus.Constants;
|
using static LiteCharms.Abstractions.Constants;
|
||||||
|
|
||||||
namespace Shop.Components.Pages;
|
namespace Shop.Components.Pages;
|
||||||
|
|
||||||
|
|||||||
+4
-13
@@ -1,7 +1,6 @@
|
|||||||
using LiteCharms.Features.Extensions;
|
using LiteCharms.Extensions;
|
||||||
using LiteCharms.Features.Mediator;
|
|
||||||
using Shop.Components;
|
using Shop.Components;
|
||||||
using static LiteCharms.Features.Email.Extensions.Constants;
|
using static LiteCharms.Abstractions.Constants;
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
@@ -15,19 +14,11 @@ builder.Services.AddBlazoredToast();
|
|||||||
builder.Services.AddEndpointsApiExplorer();
|
builder.Services.AddEndpointsApiExplorer();
|
||||||
|
|
||||||
builder.Services.AddMediator();
|
builder.Services.AddMediator();
|
||||||
|
|
||||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>));
|
|
||||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineBehavior<,>));
|
|
||||||
|
|
||||||
builder.Services.AddSalesServiceBus();
|
builder.Services.AddSalesServiceBus();
|
||||||
builder.Services.AddGeneralServiceBus();
|
|
||||||
builder.Services.AddQuartzSchedulerClient(ShopSchedulerName, builder.Configuration);
|
|
||||||
|
|
||||||
builder.Services.AddEmailServices(builder.Configuration);
|
|
||||||
builder.Services.AddEmailServiceBus();
|
builder.Services.AddEmailServiceBus();
|
||||||
|
builder.Services.AddGeneralServiceBus();
|
||||||
builder.Services.AddShopServices();
|
|
||||||
builder.Services.AddShopDatabase(builder.Configuration);
|
builder.Services.AddShopDatabase(builder.Configuration);
|
||||||
|
builder.Services.AddQuartzSchedulerClient(ShopSchedulerName, builder.Configuration);
|
||||||
|
|
||||||
builder.Services.AddPostgresHealtchCheck();
|
builder.Services.AddPostgresHealtchCheck();
|
||||||
builder.Services.AddQuartzHealtchCheck();
|
builder.Services.AddQuartzHealtchCheck();
|
||||||
|
|||||||
+3
-1
@@ -17,7 +17,9 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<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" />
|
<PackageReference Include="Polly" Version="8.6.6" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Microsoft.AspNetCore": "Warning",
|
"Microsoft.AspNetCore": "Warning"
|
||||||
"Microsoft.EntityFrameworkCore": "Error"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"AllowedHosts": "*"
|
"AllowedHosts": "*"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ metadata:
|
|||||||
name: litecharms-shop
|
name: litecharms-shop
|
||||||
namespace: litecharms-shop-uat
|
namespace: litecharms-shop-uat
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: shop
|
app: shop
|
||||||
|
|||||||
Reference in New Issue
Block a user