2025-09-27 08:46:36 +03:30
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
2025-11-12 20:30:53 +03:30
|
|
|
<TargetFramework>net9.0</TargetFramework>
|
2025-09-27 08:46:36 +03:30
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
|
<Nullable>enable</Nullable>
|
2025-12-12 06:07:23 +03:30
|
|
|
<Version>0.0.148</Version>
|
2025-09-27 08:46:36 +03:30
|
|
|
<DebugType>None</DebugType>
|
|
|
|
|
<DebugSymbols>False</DebugSymbols>
|
|
|
|
|
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
2025-09-27 10:23:45 +03:30
|
|
|
<PackageId>Foursat.CMSMicroservice.Protobuf</PackageId>
|
2025-09-27 08:46:36 +03:30
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="Google.Protobuf" Version="3.23.3" />
|
|
|
|
|
<PackageReference Include="Grpc.Core.Api" Version="2.54.0" />
|
|
|
|
|
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.2.2" />
|
|
|
|
|
<PackageReference Include="Google.Api.CommonProtos" Version="2.10.0" />
|
2025-11-12 02:24:02 +03:30
|
|
|
<PackageReference Include="Grpc.Tools" Version="2.55.1" >
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
</PackageReference>
|
2025-09-27 08:46:36 +03:30
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2025-11-12 02:24:02 +03:30
|
|
|
<Protobuf Include="Protos\public_messages.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-09-27 08:46:36 +03:30
|
|
|
<Protobuf Include="Protos\package.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\userorder.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\role.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\userrole.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-09-27 23:48:41 +03:30
|
|
|
<Protobuf Include="Protos\otptoken.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-11-12 02:24:02 +03:30
|
|
|
<Protobuf Include="Protos\user.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\useraddress.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\userwallet.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\userwalletchangelog.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\usercarts.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
<Protobuf Include="Protos\productgalleries.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-11-12 02:24:02 +03:30
|
|
|
<Protobuf Include="Protos\factordetails.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\products.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\productimages.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\transactions.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-11-16 17:17:17 +03:30
|
|
|
<!-- Added missing proto definitions so validators compile -->
|
|
|
|
|
<Protobuf Include="Protos\contract.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\usercontract.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
<Protobuf Include="Protos\productcategory.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-11-20 00:40:28 +03:30
|
|
|
<Protobuf Include="Protos\category.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-11-18 22:38:50 +03:30
|
|
|
<Protobuf Include="Protos\tag.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
<Protobuf Include="Protos\producttag.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
feat: Add gRPC API Layer - Phase 6 Integration
Added Protobuf definitions and gRPC services for all CQ layers:
Protobuf Files (4):
- configuration.proto: 2 Commands + 3 Queries (5 RPCs)
- clubmembership.proto: 3 Commands + 3 Queries (6 RPCs)
- networkmembership.proto: 3 Commands + 3 Queries (6 RPCs)
- commission.proto: 5 Commands + 4 Queries (9 RPCs)
gRPC Services (4):
- ConfigurationService: SetConfigurationValue, Deactivate, GetByKey, GetAll, GetHistory
- ClubMembershipService: Activate, Deactivate, AssignFeature, Get, GetAll, GetHistory
- NetworkMembershipService: Join, Move, Remove, GetPosition, GetTree, GetHistory
- CommissionService: Calculate+Process+Withdraw (5 commands), Get queries (4)
Features:
- HTTP transcoding enabled via google.api.http annotations
- Auto-registration via ConfigureGrpcEndpoints
- MetaData pagination support
- Request/Response DTOs for all endpoints
- Integration with MediatR CQRS handlers
Total: 4 proto files, 4 service classes, 26 RPC endpoints
Build: ✅ Successful (0 errors)
2025-11-29 04:45:27 +03:30
|
|
|
<!-- Network Club Commission System - Phase 6 -->
|
|
|
|
|
<Protobuf Include="Protos\configuration.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\clubmembership.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\networkmembership.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\commission.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-12-05 17:26:58 +03:30
|
|
|
<!-- Manual Payment System -->
|
|
|
|
|
<Protobuf Include="Protos\manualpayment.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
<!-- Club Discount Shop System - Phase 9 -->
|
|
|
|
|
<Protobuf Include="Protos\discountproduct.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\discountcategory.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\discountshoppingcart.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
|
|
|
|
<Protobuf Include="Protos\discountorder.proto" ProtoRoot="Protos\" GrpcServices="Both" />
|
2025-09-27 08:46:36 +03:30
|
|
|
</ItemGroup>
|
2025-09-27 10:23:45 +03:30
|
|
|
|
|
|
|
|
<Target Name="PushToFoursatNuget" AfterTargets="Pack">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<NugetPackagePath>$(PackageOutputPath)$(PackageId).$(Version).nupkg</NugetPackagePath>
|
2025-12-08 04:10:46 +03:30
|
|
|
<PushCommand>dotnet nuget push **/*.nupkg --source https://git.afrino.co/api/packages/FourSat/nuget/index.json --api-key 061a5cb15517c6da39c16cfce8556c55ae104d0d --skip-duplicate </PushCommand>
|
2025-09-27 10:23:45 +03:30
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<Exec Command="$(PushCommand)" />
|
|
|
|
|
</Target>
|
2025-09-27 08:46:36 +03:30
|
|
|
</Project>
|