ProyectoIntermodular/sync-service
luklpz 60dba82f32 fix: use PS as source of truth in product sync; fix active default
ProductSyncService now queries PS by reference before deciding
create vs update, preventing stale local mappings from causing
silent no-ops when PS products are deleted externally.

Also fix active field default: tosell=null now maps to active=1
instead of active=0, so products without an explicit sell flag
are created as visible in PrestaShop.

Add server.forward-headers-strategy=framework so Spring reads
X-Forwarded-Proto from Railway's reverse proxy; fixes Swagger UI
generating http:// URLs instead of https://.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 17:37:00 +02:00
..
.mvn/wrapper feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
src fix: use PS as source of truth in product sync; fix active default 2026-05-17 17:37:00 +02:00
.gitattributes feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
.gitignore feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
mvnw feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
mvnw.cmd feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
pom.xml feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00