Commit Graph

11 Commits

Author SHA1 Message Date
BXY
087d42fb6e feat: add presale configuration and delivery limits to product model and migrations 2026-10-19 12:05:22 +08:00
BXY
e2e14ae337 feat: remove S3 public endpoint configuration and related logic from the project 2026-10-09 16:46:27 +08:00
BXY
e86d4084f9 feat: add S3 public endpoint configuration and complete detail HTML image URLs 2026-10-08 10:51:14 +08:00
robinj0726
f28df52a12 feat: implement freight template management and scheduled sales promotion 2026-10-02 00:59:46 +08:00
BXY
c258915f5b feat: introduce product category management
- Added SQL scripts to recreate product category and catalog tables, including necessary indexes and comments.
- Implemented repository for product category management, including CRUD operations and binding/unbinding products to categories.
- Developed gRPC server methods for creating, retrieving, listing, updating, and deleting product categories.
- Added error handling for various scenarios, including version conflicts and category constraints.
- Implemented helper functions for converting between internal representations and gRPC messages.
2026-09-24 18:28:18 +08:00
robinj0726
6b55143fc7 feat(logging): implement custom logger with ISO8601 timestamp encoding 2026-08-03 10:49:32 +08:00
BXY0414
1c89c4a11f feat(product): switch product IDs to application snowflake generation 2026-07-10 16:31:07 +08:00
robinj0726
517f629d76 feat: integrate Snowflake ID generation for product and SKU creation
- Added a new ID generator using the Snowflake algorithm to create unique identifiers for products and SKUs.
- Updated the product server to utilize the ID generator for assigning IDs during product and SKU creation.
- Refactored the product repository to accommodate the new ID handling logic.
- Introduced unit tests for the ID generator to ensure correct functionality and error handling.
2026-07-10 15:56:42 +08:00
robinj0726
2e5cf31b67 feat: add observability and metrics support
- Introduced Prometheus metrics for gRPC requests and product creation.
- Integrated OpenTelemetry for distributed tracing.
- Updated Docker Compose configuration to expose metrics endpoint.
- Enhanced architecture and development documentation with new environment variables.
- Refactored configuration loading to include metrics and tracing settings.
- Implemented observability package to handle tracing and metrics.
- Updated product server to utilize observability features for logging and tracing.
2026-07-07 17:29:54 +08:00
robinj0726
8595f4f9c8 Refactor logging to use zap logger in main and product server, enhancing error handling and consistency. 2026-07-01 18:15:16 +08:00
robinj0726
6a4c4fcb2f Initialize ids-svc-product microservice with core structure, including environment configuration, PostgreSQL setup, and gRPC server implementation. Added .env.example for environment variables, .gitignore to exclude sensitive files, and foundational documents for architecture and development guidelines. Implemented product repository and server logic for handling product and SKU data. 2026-06-26 22:10:15 +08:00