Cursor Agent
d586563c60
fix(services): add JWT Bearer auth middleware and OIDC discovery to 6 microservices
...
- Added UseAuthentication() + UseAuthorization() middleware after UseRouting()
- Added AddAuthentication().AddJwtBearer() with OIDC authority discovery
- Added Microsoft.AspNetCore.Authentication.JwtBearer NuGet package
- Affected: Merchant, Catalog, Order, Inventory, FnB Engine, Booking services
- Tokens validated via IAM IdentityServer OIDC discovery endpoint
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-26 19:32:58 +00:00
Cursor Agent
d406540215
fix: switch JWT Bearer auth from symmetric key to OIDC discovery in 5 microservices
...
Replace manual SymmetricSecurityKey validation with Authority-based OIDC
discovery so tokens are validated against RSA keys published by the IAM
IdentityServer's discovery endpoint.
Services updated:
- CatalogService.API
- OrderService.API
- InventoryService.API
- FnbEngine.API
- BookingService.API
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-26 19:31:22 +00:00
Cursor Agent
0727a5c41e
Add JWT Bearer authentication registration to 5 microservice Program.cs files
...
Add AddAuthentication(JwtBearerDefaults.AuthenticationScheme) and
AddJwtBearer() service registration before CORS configuration in:
- CatalogService.API
- OrderService.API
- InventoryService.API
- FnbEngine.API
- BookingService.API
Also add Microsoft.AspNetCore.Authentication.JwtBearer v10.0.1 NuGet
package reference to each service's .csproj file.
This fixes the runtime error caused by UseAuthentication() being called
without a registered authentication scheme.
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-26 19:26:51 +00:00
Cursor Agent
aed16d4059
Add UseAuthentication and UseAuthorization middleware after UseRouting in 5 microservices
...
Added app.UseAuthentication() and app.UseAuthorization() after
app.UseRouting() in the middleware pipeline for:
- CatalogService.API
- OrderService.API
- InventoryService.API
- FnbEngine.API
- BookingService.API
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-26 19:21:36 +00:00
Cursor Agent
8f557bd106
test: replace booking sample suites with appointment coverage
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 13:04:13 +00:00
Cursor Agent
0adcaadae3
test: replace sample suites in mkt and commerce services
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 13:02:38 +00:00
Cursor Agent
d1cfef93cf
test: replace mission and commerce sample functional suites
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:56:57 +00:00
Cursor Agent
d288320cf3
test: replace ads sample functional tests with endpoint coverage
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:53:11 +00:00
Cursor Agent
0d35f144ab
test: replace whatsapp sample suites with account and webhook coverage
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:51:17 +00:00
Cursor Agent
0f828dafb0
test: replace sample tests with service-specific order and ads suites
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:47:21 +00:00
Cursor Agent
9e5b1018b4
feat: implement admin order stats export and mining overview
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:42:55 +00:00
Cursor Agent
d68a47f93a
feat: complete ads billing command and credit workflows
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:38:59 +00:00
Cursor Agent
1e131adbf3
feat: implement ads serving statistics and event pipeline
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:35:08 +00:00
Cursor Agent
6baca17249
feat: secure whatsapp token handling and keyword trigger parsing
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 12:27:39 +00:00
Cursor Agent
22dcc97ba9
feat: implement Aliyun multipart storage operations
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 11:50:40 +00:00
Cursor Agent
f4f5d9d576
fix: enforce booking admin auth and clean membership TODO
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 11:46:23 +00:00
Cursor Agent
a414d7d528
feat: implement IAM OTP dispatch abstractions
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 11:43:30 +00:00
Cursor Agent
7c616d412d
fix: stabilize web workspace quality gates
...
Co-authored-by: Velik <hongochai10@users.noreply.github.com >
2026-02-23 11:25:27 +00:00
Ho Ngoc Hai
8e0cbbd346
feat: Implement command handlers and validators for Conversation, Twitter Account, Contact, Template, and Campaign management.
2026-01-19 01:28:00 +07:00
Ho Ngoc Hai
8ace5025d9
feat: Introduce MktXService with API controllers for campaigns, contacts, conversations, templates, and webhooks, and add chatbot rule deletion and status toggling to MktZaloService.
2026-01-19 01:24:57 +07:00
Ho Ngoc Hai
37db21fbc0
feat: Implement Zalo and MktX services with API controllers, add web client pages for Auth and Products, and update client navigation and styling.
2026-01-19 01:23:09 +07:00
Ho Ngoc Hai
d285f1f9eb
feat: Add new WebClientBase Blazor application and MktZaloService API, and update WhatsAppService and MktXService infrastructure.
2026-01-19 01:19:00 +07:00
Ho Ngoc Hai
2d731dbdb6
feat: Remove sample-related code from Facebook and Zalo services while introducing new AI, chatbot, and conversation management features across Facebook, WhatsApp, and X services.
2026-01-19 01:14:46 +07:00
Ho Ngoc Hai
7d7355cb57
feat: Implement core domain models, events, exceptions, and infrastructure for Facebook, X, WhatsApp, and Zalo services, while removing Zalo sample entities.
2026-01-19 00:56:37 +07:00
Ho Ngoc Hai
86d7dbbbc1
feat: Add new logging behavior, command handlers, queries, and a Dockerfile across multiple marketing services.
2026-01-19 00:36:20 +07:00
Ho Ngoc Hai
5aa48eb29c
docs: Add service-level READMEs, update Wallet Service documentation with multi-currency and admin APIs, refine Chat Service architecture, and remove a test Mermaid file.
2026-01-18 23:51:39 +07:00
Ho Ngoc Hai
86c9e7303c
docs: Add new services, update existing service documentation, and enhance IAM and Storage service features.
2026-01-18 23:44:03 +07:00
Ho Ngoc Hai
de013ce183
refactor: Rename Vietnamese architecture and Twitter setup documentation files and update all relevant links.
2026-01-18 23:22:44 +07:00
Ho Ngoc Hai
f6c485c9b0
docs: Introduce dedicated Vietnamese documentation and update READMEs to link to localized content for marketing services.
2026-01-18 23:05:58 +07:00
Ho Ngoc Hai
2d0b6f3bce
feat: Introduce detailed technical documentation for MKT Zalo and Facebook services, covering database, domain models, APIs, and setup in English and Vietnamese.
2026-01-18 22:38:18 +07:00
Ho Ngoc Hai
b5f1b3f155
docs: Restructure documentation into language-specific en/ and vi/ subdirectories, and introduce a comprehensive AI Chatbot guide.
2026-01-18 17:31:14 +07:00
Ho Ngoc Hai
7578ece520
refactor: Restructure documentation by moving files into language-specific directories and consolidating others.
2026-01-18 17:31:06 +07:00
Ho Ngoc Hai
471e26ad62
docs: Add initial documentation for Zalo, WhatsApp, X, and Facebook marketing services.
2026-01-18 17:27:05 +07:00
Ho Ngoc Hai
cf89bbeafc
build: Remove --no-restore flag from dotnet build and publish commands in Dockerfile.
2026-01-18 02:59:58 +07:00
Ho Ngoc Hai
593457a9e3
feat: Implement kitchen ticket and session management in FnbEngine, add booking-related controllers and a generic API response in BookingService, and update Dockerfiles.
2026-01-18 02:56:43 +07:00
Ho Ngoc Hai
83a8db2942
feat: Implement new API endpoints, application logic, and domain repositories across FnbEngine, BookingService, and OrderService, alongside minor infrastructure updates.
2026-01-18 02:51:10 +07:00
Ho Ngoc Hai
3cb8b7c6b5
feat: register IUnitOfWork with AdsManagerServiceContext
2026-01-18 02:29:09 +07:00
Ho Ngoc Hai
933eac0a31
build: Configure dotnet restore with --disable-parallel and --verbosity minimal in the Dockerfile.
2026-01-18 02:14:41 +07:00
Ho Ngoc Hai
8fa5e05d2c
build: Remove --no-restore flag from dotnet build and publish commands in Dockerfile.
2026-01-18 02:10:34 +07:00
Ho Ngoc Hai
23c8514ca4
feat: Introduce ads-tracking-service-net with Docker Compose setup, admin API documentation, and a migration script, adjusting existing service ports.
2026-01-18 02:02:27 +07:00
Ho Ngoc Hai
23d716f660
feat: Implement initial API controllers, command, and query handlers for ads tracking and ads management services, including admin functionalities.
2026-01-18 01:45:16 +07:00
Ho Ngoc Hai
73086b2186
feat: add Ads Billing Service to docker-compose and implement Admin Campaigns Controller in Ads Manager Service.
2026-01-18 01:42:43 +07:00
Ho Ngoc Hai
175c7b45b0
feat: Implement Ads Tracking service with new commands, queries, and repositories, and add new ad and ad set query capabilities to Ads Manager service.
2026-01-18 01:38:14 +07:00
Ho Ngoc Hai
48c757282a
feat: introduce comprehensive billing, analytics, manager, and tracking features with new controllers, commands, queries, DTOs, and infrastructure configurations.
2026-01-18 01:26:29 +07:00
Ho Ngoc Hai
4c9e12e99c
feat: Implement a new Inventory Service API, add admin budget and frequency controllers to Ads Serving, and introduce product and category controllers to Catalog Service.
2026-01-18 01:21:09 +07:00
Ho Ngoc Hai
b1931be440
feat: Implement initial entity configurations for ads billing, analytics, and serving, add catalog product and category commands/queries, and refine booking service infrastructure.
2026-01-18 01:15:51 +07:00
Ho Ngoc Hai
4abd842c0d
feat: replace Sample aggregate with Appointment aggregate in BookingService.
2026-01-18 01:05:51 +07:00
Ho Ngoc Hai
2285013e2d
chore: Remove sample aggregate domain entities, events, exceptions, and repository interface.
2026-01-18 01:04:03 +07:00
Ho Ngoc Hai
5b0b72cbac
refactor: remove the Sample entity, its API controller, commands, queries, validations, and associated handlers and tests.
2026-01-18 01:03:49 +07:00
Ho Ngoc Hai
dc55dda87a
feat: Remove Sample aggregate, refactor database context to FnbContext, and introduce Table aggregate with its configurations, alongside adding an inventory repository interface.
2026-01-18 01:03:36 +07:00