nashtech-garage / yas

YAS: Yet Another Shop, a sample microservices project in Java
MIT License
1.61k stars 419 forks source link

Update product sync #1241

Closed toannguyenk closed 4 weeks ago

toannguyenk commented 4 weeks ago

Currently, we are not handling delete product messages correctly. Since the product supports soft delete, a delete event comes as an update.

Therefore, we need to update Elasticsearch accordingly to handle these soft delete events.

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed for 'search'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 4 weeks ago

Search Coverage Report

Overall Project 93.45% :green_apple:
Files changed 100% :green_apple:


File Coverage
ProductSyncDataService.java 100% :green_apple:
ProductService.java 99.54% :green_apple:
ProductField.java 0% :green_apple: