mirror of
https://ids-dev.idsbuybuybuy.com/ids-ecommerce/ids-svc-product.git
synced 2026-11-29 16:57:41 +08:00
- Implemented RegionIndex to manage region codes and their relationships from embedded region.json. - Added ValidateRulesJSON function to validate freight rules against specified criteria, including region code existence and overlap checks. - Created unit tests for rules validation covering various scenarios including valid rules, overlap detection, and error handling for invalid inputs. - Updated freight_template_server to integrate rules validation during freight template creation and updates, ensuring compliance with the new rules structure. |
||
|---|---|---|
| .. | ||
| config | ||
| freight | ||
| idgen | ||
| observability | ||
| repository | ||
| server | ||
| .DS_Store | ||