File tree Expand file tree Collapse file tree
ECommerce.Modules.Orders.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 <IsPackable >false</IsPackable >
99 <IsTestProject >true</IsTestProject >
1010 </PropertyGroup >
11-
1211 <ItemGroup >
13- <PackageReference Include =" coverlet.collector" Version =" 6.0.2" >
14- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
15- <PrivateAssets >all</PrivateAssets >
12+ <PackageReference Include =" coverlet.collector" Version =" 6.0.2" >
13+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
14+ <PrivateAssets >all</PrivateAssets >
1615 </PackageReference >
16+ <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 8.0.16" />
1717 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.8.0" />
1818 <PackageReference Include =" Moq" Version =" 4.20.72" />
1919 <PackageReference Include =" xunit" Version =" 2.5.3" />
2424 <Using Include =" Xunit" />
2525 </ItemGroup >
2626
27- <ItemGroup >
28- <ProjectReference Include =" ..\ECommerce.Modules.Orders\ECommerce.Modules.Orders.csproj" />
29- <ProjectReference Include =" ..\ECommerce.Contracts\ECommerce.Contracts.csproj" />
30- <ProjectReference Include =" ..\ECommerce.Common\ECommerce.Common.csproj" />
27+ <ItemGroup >
28+ <ProjectReference Include =" ..\ECommerce.Modules.Orders\ECommerce.Modules.Orders.csproj" />
29+ <ProjectReference Include =" ..\ECommerce.Contracts\ECommerce.Contracts.csproj" />
30+ <ProjectReference Include =" ..\ECommerce.Common\ECommerce.Common.csproj" />
3131 </ItemGroup >
3232
3333</Project >
Original file line number Diff line number Diff line change 1+ {
2+ "folders" : [
3+ {
4+ "path" : " ../.."
5+ }
6+ ],
7+ "settings" : {}
8+ }
Original file line number Diff line number Diff line change 1- using ECommerce . Modules . Orders . Services ;
21using ECommerce . Modules . Orders . Domain ;
3- using Moq ;
4- using Microsoft . Extensions . Logging ;
2+ using ECommerce . Modules . Orders . Services ;
3+ using ECommerce . Modules . Orders . Persistence ;
54using ECommerce . Contracts . Interfaces ;
65using ECommerce . Contracts . DTOs ;
7- using ECommerce . Modules . Orders . Persistence ;
86using Microsoft . EntityFrameworkCore ;
7+ using Microsoft . Extensions . Logging ;
8+ using Moq ;
99
1010namespace ECommerce . Modules . Orders . Tests . Services ;
1111
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public partial class Program
2121 public static async Task Main ( string [ ] args )
2222 {
2323 var builder = WebApplication . CreateBuilder ( args ) ;
24-
24+ // test
2525 builder . Logging . ClearProviders ( ) ;
2626 builder . Logging . AddConsole ( ) ;
2727 builder . Services . AddEndpointsApiExplorer ( ) ;
Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ docker_build(
77 dockerfile = 'ECommerceApp/Dockerfile'
88)
99
10- docker_build (
11- 'admin-ui' ,
12- '.' ,
13- dockerfile = 'ECommerce.AdminUI/Dockerfile'
14- )
10+ # TEMPORARILY DISABLED: admin-ui building
11+ # docker_build(
12+ # 'admin-ui',
13+ # '.',
14+ # dockerfile='ECommerce.AdminUI/Dockerfile'
15+ # )
1516
1617# Adding database migrator with correct image name to match migrate-job.yaml
1718docker_build (
@@ -44,7 +45,9 @@ k8s_resource(
4445k8s_resource (
4546 'dev-admin-ui' , # Updated to match the namePrefix in kustomize
4647 port_forwards = ['8081:8080' ],
47- labels = ["app" ]
48+ labels = ["app" ],
49+ # TEMPORARILY DISABLED: Turn off auto-updates for admin-ui
50+ trigger_mode = TRIGGER_MODE_MANUAL
4851)
4952
5053k8s_resource (
@@ -60,7 +63,8 @@ watch_file('ECommerce.BusinessEvents/**')
6063watch_file ('ECommerce.Modules.Customers/**' )
6164watch_file ('ECommerce.Modules.Orders/**' )
6265watch_file ('ECommerce.Modules.Products/**' )
63- watch_file ('ECommerce.AdminUI/**' )
66+ # TEMPORARILY DISABLED: Watch for AdminUI changes
67+ # watch_file('ECommerce.AdminUI/**')
6468watch_file ('ECommerce.DatabaseMigrator/**' )
6569
6670# Specify where to find logs
You can’t perform that action at this time.
0 commit comments