Basic end to end playwright tests for the store-admin were added.
A wasm rules engine was added to the product service. By default it is disabled.
The product service was refactored for extensibility and maintainability.
The product service has additional unit tests and integration tests.
Error conditions in the product service (get by id and the AI proxy) are handled and return appropriate HTTP errors rather than crashing the service.
Additional documentation on using/extending the wasm rules engine will be in a future PR.
...
Does this introduce a breaking change?
[ ] Yes
[X] No
Pull Request Type
What kind of change does this Pull Request introduce?
[X] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[X] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
Purpose
Basic end to end playwright tests for the store-admin were added. A wasm rules engine was added to the product service. By default it is disabled. The product service was refactored for extensibility and maintainability. The product service has additional unit tests and integration tests. Error conditions in the product service (get by id and the AI proxy) are handled and return appropriate HTTP errors rather than crashing the service.
Additional documentation on using/extending the wasm rules engine will be in a future PR.
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid
Other Information