FSM Vehicle Registry
Configuration and setup details on registering vehicles in FSM module
Overview
Vehicle registry is a system that enables urban local body (ULB) employees to create and search vehicle entities, schedule vehicle trips for FSM application and track vehicle trips. This document contains the details about the new enhancements made to the vehicle service and how to set up the vehicle and describes the functionalities provided.
Pre-requisites
Before you proceed with the configuration, make sure the following prerequisites are met:
Java 8
Kafka server is up and running.
egov-persister service is running and has vehicle-persister config path added in it.
PSQL server is running and database is created to store FSM Application data.
Following services should be up and running:
- egov-perister
- egov-mdms-service
- egov-workflow-v2
- egov-idgen
Key Functionalities
EXISTING
DSO or ULB can create multiple vehicle trips based on the number of trips entered while submitting the FSM application.
FSTPO can decline the vehicle trip with appropriate reason.
Owner attribute has been added to the vehicle.
FSTPO Vehicle Log Inbox Enhancements to include Application No search filter so that FSTPO can view all the vehicle trips associated with the application.
FSPTO vehicle log API upgraded to show trip numbers in case of multi-trip application.
Introduced Vehicle Tab.
Option to add/remove/update vehicle individually.
Admin can enable or disable the vehicle.
Functionality to add/remove vehicles to vendor.
ENHANCEMENT
Part Search: The Vehicle tab now includes the ability to perform a part search by vehicle number. This means that users can enter a partial vehicle number and retrieve all relevant results that contain that specific portion. For example, if the vehicle number is "AA 77 JJ 3324", users can search for any part of the vehicle number, such as "AA", "77", or "JJ", and retrieve all relevant results that contain that specific portion.
Updating Registry Information: In the Vehicle Tab, the admin has the ability to update certain vehicle information, such as Owner name, Phone Number. Added a new column for gender , Dob and Email address which are updatable.
Data Setup
Create Vehicle
Create a vehicle with one of the vehicle types available in the VehicleMakeModel MDMS.
Sample Curl
Integration
Integration Scope
Integrated with the application through REST API to create, and search vehicles. For any module where the vehicle trip is required, one can integrate REST API trip/v1/create, update, and search.
Integration Benefits
Vehicle management would become easy.
Trip management would become easy.
Steps to Integration
FSM application can vehicle/v1/_search to validate the FSM vehicle assignment.
FSM application call vehicle/trip/v1/_create on assigning vehicle to the spplication.
FSTP operators can mark the vehicleTrip as DISPOSED.
Interaction Diagrams
Reference Docs
Doc Links
Workflow Technical Document | |
User technical document | |
MDMS technical document | NEEDS TO BE UPDATED |
IDGen technical document | NEEDS TO BE UPDATED |
Localisation technical document | NEEDS TO BE UPDATED |
Persister technical document | NEEDS TO BE UPDATED |
SMS notification technical document | NEEDS TO BE UPDATED |
API contract | |
Postman scripts |
API List
Title | Link |
vehicle/v1/_create | |
vehicle/v1/_search | |
/vehicle/v1/_plainsearch | |
/vehicle/trip/v1/_create | |
vehicle/trip/v1/_update | |
vehicle/trip/v1/_search | |
/vehicle/trip/v1/_plainsearch | |
vehicle/v1/_update |
Last updated