Skip to content

Conversation

@phandinhthe
Copy link

@phandinhthe phandinhthe commented Jan 14, 2026

Description

  • feat: Inject ProductMapper in ProductIngestionSaga and BatchProductIngestionSaga.
  • feat: Add custom mapper for validThru in ProductMapper.
  • test: Update tests to support ProductMapper injection.

Checklist

  • I made sure, I read CONTRIBUTING.md to put right branch prefix as per my need.
  • I made sure to update CHANGELOG.md.
  • I made sure to update Stream Wiki(only valid in case of new stream module or architecture changes).
  • My changes are adequately tested.
  • I made sure all the SonarCloud Quality Gate are passed.

- feat: Inject `ProductMapper` in `ProductIngestionSaga` and `BatchProductIngestionSaga`.
- feat: Add custom mapper for `validThru` in `ProductMapper`.
- test: Update tests to support `ProductMapper` injection.
@phandinhthe phandinhthe requested a review from a team as a code owner January 14, 2026 06:00
feat(product-mapper): add `validThru` mapping with custom parser.
- Implement `mapValidThru` method to handle date parsing for `validThru`.
- Update `ProductMapper` to include `validThru` mappings.
- Extend unit tests to cover `validThru` logic.
… enhance ValidThru mappings and add ProductMapper mocks

- Simplify `mapValidThru` logic in `ProductMapper`
- Add `ProductMapper` mocks in `BatchProductIngestionSagaTest` and `ProductIngestionSagaTest`
- Add test for `validThru` null case in `ProductMapperTest`
@sonarqubecloud
Copy link

@phandinhthe phandinhthe merged commit 3525dc8 into support/7.1.x Jan 15, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants