Please enable JavaScript.
Coggle requires JavaScript to display documents.
eBay SFTP service (BeanStalk (process checkpoints (sftp_tracking_delta…
eBay SFTP service
-
Workers
- put create tracking job into sftp_create_tracking
job_body
-
-
-
payload
-
tracking_number
-
- should start with "TBA" and length = 15
-
-
-
-
tracking_upload_date
- if CSV has tracking_upload_date, use it
- if not use the CSV file name
- reserved from Beanstalk sftp_read_csv
- fetch eBay CSV, process the tracking numbers
-
-
- generate *.ok or *.bad file
- if 1.2.2 has wrong file name, generate *.bad file, and store it to S3 for backup
-
- if no summary file, release beanstalk job 60s delay
- if summary file found, process the first one
- validate trackings using the summary file
-
- move processed file to /home/archive
-
- Create tracking worker
(sftp_createtracking[1-4])
- reserved from Beanstalk sftp_create_tracking
- create tracking using api.aftership.com
mapping field
slug
-
-
-
-
correos => correosexpress,spain-correos-es,correos-de-costa-rica,correos-de-mexico,correos-chile
-
chronoexpres => chronopost-france,chronopost-portugal
if not mapped slug, auto-detect this courier with required_fields and tracking_number
if auto detect error, the status field in csv file for eBay should be ERROR.
- put error delta to sftp_tracking_delta_global_q[1-4]
- process the checkpoint result sftp_tracking_delta_worker [1-4]
- reserve all the jobs from sftp_tracking_delta_global_q(n)
-
- reserve jobs from sftp_tracking_delta_global_q(n)
-
-
- the process time should be exact 1min after worker.crawler put the output in into the according queue.
- put reserved jobs into a CSV file and load the file to SFTP and S3(for backup)
-
-
-
-
-
eBay CSV
Tracking number file
Columns
- UserProvidedCarrierName(eBay's Courier name)
-
- DestinationContryCode(ISO3)
-
- TrackingUploadDate(YYYYMMDD)
-
-
worker.crawler
process checkpoints
-
-
-
- put formatted output into Beanstalk sftp_tracking_delta_global_q[1-4]
-
-
-