Commit Graph

14 Commits

Author SHA1 Message Date
BXY0414
a7d3929855 feat(product): implement category/group APIs and inventory snowflake IDs 2026-07-13 15:01:08 +08:00
BXY0414
ae940225c4 feat(product): return product time fields as millisecond timestamp strings 2026-07-13 14:12:05 +08:00
BXY0414
d0f0aea15f feat(product): return compact create product result 2026-07-10 17:29:04 +08:00
BXY0414
1c89c4a11f feat(product): switch product IDs to application snowflake generation 2026-07-10 16:31:07 +08:00
BXY0414
42419db604 调整创建商品字段、SKU规格整理和入库逻辑 2026-07-10 13:03:08 +08:00
BXY0414
548ed19954 添加 查询类别接口 2026-07-08 14:41:16 +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
fb6582989d Update README to include detailed API interface specifications for CreateProduct, GetProduct, and ListCategoryProducts, enhancing clarity on request and response structures. 2026-07-07 16:01:58 +08:00
robinj0726
ac7ca612a6 Refactor product service to implement CreateProduct and ListCategoryProducts methods. Remove BatchGetProducts functionality and update documentation for clarity on product management capabilities. 2026-07-07 15:53:29 +08:00
robinj0726
62ec3c43c4 Refactor product model and update CreateProduct logic to use new fields. Enhance SKU handling with inventory management and update README for consistency in product attributes. 2026-07-07 15:39:30 +08:00
robinj0726
54bbf73f56 Update references from product.skus to product.product_items in documentation and codebase, ensuring consistency in CRUD operations and architectural constraints. Enhance clarity in repository and development documents regarding data handling and schema relationships. 2026-07-07 12:44:58 +08:00
robinj0726
2ef7742b6a Implement CreateProduct and ListCategoryProducts functionalities in the product server, enhancing product management capabilities. Update README with new RPC methods and examples. Refactor product repository to support SKU insertion and category-based product listing, ensuring efficient data handling and retrieval. 2026-07-07 11:58:27 +08:00
robinj0726
f7bb383877 Update database schema references from product_schema to product across documentation and codebase, ensuring consistency in environment configurations, repository access, and architectural constraints. Enhance clarity in README and development documents regarding database usage and constraints. 2026-07-05 13:23:42 +08:00
robinj0726
8bb1aad6ea Refactor product repository and enhance server logic to improve handling of product and SKU data. Update environment configuration and documentation for clarity and completeness. 2026-06-26 22:16:37 +08:00