/
Sync Jobs

Sync Jobs

GitLab repo and cloud project

  • Sync Job

    • GitLab repo: Esb-Integration-Engine

    • Cloud project: esb-integration-engine-staging/prod

    • Service: default

  • Sync Job Middleware

    • GitLab repo: esb-integration-engine

    • Cloud project: esb-integration-engine-staging/prod

    • Service: default

  • Flipkart Service

    • GitLab repo: Esb Flipkart Integration Engine

    • Cloud project: flipkart-integration-staging/prod

    • Service: default

Steps:

  1. Create sync job.

  2. Send sync job event to sync job middleware

  3. Find connection data

  4. Push connection details to Flipkart service

  5. Find unavailable products on that channel and update the total count in sync job

  6. Make a batch of 20 and push it to PubSub

  7. Loop over each product and call mark available API

  8. Maintain a count for success, unavailable, draft, and failed products

  9. If totalCount = success+unavailable+draft+failed, then update sync job status to completed else update the respective counts in DB

Related content