Skip to main content

Vehicle File Import

Introduction

This will import vehicle file to Cloud SQL for PostgreSQL

Fields

Column PositionDescriptionDatatypeValidationMax lengthMandatoryExample
AVehicle Reg NumberStringA-Z and 0-9 & All Special Char10YABC123
BVehicle IdNumber0-95Y1
CVINStringA-Z and 0-917YABC2D4GHY47524999

Importing a file

Preparation

  1. Upload the file with filename as vehicle_reg.csv into fnp-imports/modulus storage bucket

Validation

  1. Go to Cloud Scheduler
  2. Run Modulus_vehicle_file_validation job (job name could be different on other env)

Importing

  1. Go to Cloud Scheduler
  2. Run Modulus_vehicle_file_import job (job name could be different on other env)

NOTE:

If the import would throw memory error like Memory limit of 512 MiB exceeded with 515 MiB used, increase the memory for the service, run the import and revert back the memory to default(512mb).

Testing

  1. Data will be inserted to Cloud SQL for PostgreSQL under fpn database in table modulus_vehicle.
Status: Accepted
Category: Protected
Authored By: Gladson on Jan 5, 2024
Revisions