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:
Create sync job.
Send sync job event to sync job middleware
Find connection data
Push connection details to Flipkart service
Find unavailable products on that channel and update the total count in sync job
Make a batch of 20 and push it to PubSub
Loop over each product and call mark available API
Maintain a count for success, unavailable, draft, and failed products
If totalCount = success+unavailable+draft+failed, then update sync job status to completed else update the respective counts in DB