Skip to content

Update Polygons

Keywords: geo-filters, darkspots, filters, geo

Goal of the procedure

Update the file used to define darkspots (points where the van can’t stop or make deliveries).


Main steps

  1. Backup the current file by copying it into the /outdated folder in dev.
  2. Upload the new file to dev and delete the old one.
  3. Test dev env in Postman to guarantee that everything is working.
  4. Upload the new file in prod environment and delete the previous file.
  5. Test prod env in Postman to guarantee that everything is working.

Detailed steps

1. Backup the current file

  • Move the existing file from dingoo-dev-ops/geo-filters to dingoo-dev-ops/outdated/geo-filters.

2. Upload the new file to dev

  • Delete the old file from dingoo-dev-ops/geo-filters.
  • Upload the new file to dingoo-dev-ops/geo-filters.

3. Test dev env

  • Check the files assigned to API calls, especially ctt/preprocessing.
  • Run the DEV collection in Postman.
  • Make sure no errors occur. If there are any, they must be reviewed and fixed.

4. Upload the new file in prod

  • Delete the current file in dingoo-prod-ops/geo-filters.
  • Upload the new file to dingoo-prod-ops/geo-filters.
  • Confirm that the new file has been successfully uploaded.

5. Test prod env

  • Confirm that the file has been correctly updated in API calls.
  • Run the PROD collection in Postman.
  • Ensure there are no errors and that all endpoints work as expected.