Configuration and setup details on registering vehicles in FSM module
Overview
Vehicle Registry is a system that enables ULB employees to create and search vehicle entities, schedule vehicle trips for received requests and track the trips. This document contains the details about new enhancements made to the vehicle service as part of FSM v1.1 release and how to setup the vehicle details, and describe the functionalities provided.
Pre-requisites
Before you proceed with the configuration, make sure the following pre-requisites are met -
Java 8
Kafka server is up and running
egov-persister service is running and has fsm-calculator-persister config path added in it
PSQL server is running and a database is created to store FSM Application data
Following services should be up and running:
egov-perister
egov-mdms
egov-workflow-v2
egov-idgen
Key Functionalities
The DSO or ULB can create multiple vehicle trips based on the number of trips entered while submitting the FSM application.
The FSTPO can decline the vehicle trip with an appropriate reason.
Owner attribute has been added to the vehicle.
The FSTPO vehicle log inbox enhancements to include the Application No search filter so that the FSTPO can view all the vehicle trips associated with the application.
The FSPTO vehicle log API is upgraded to show trip numbers in case of multi-trip applications.
Deployment Details
Deploy the latest version of vehicle
Add vehicle-persister.yml file in config folder in git and add that path in persister . (The file path is to be added in environment yaml file in param called persist-yml-path ) and restart egov-persister-service.
Integrate the following below changes in vehicle-persister.yml
Configuration Details
MDMS Configuration
Add master data in MDMS service with module name as Vehicle and restart egov-mdms-service. Following is some sample master data for:
Integrated with Application through REST API to create, and search vehicles. For any module where vehicle Trip is required, can integrate REST API trip/v1/create, update, search.
Integration Benefits
Vehicle managed 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 Application
FSTP operator can mark the vehicleTrip as DISPOED.
Interaction Diagram
Coming up....
Reference Docs
Doc Links
Title
Link
Workflow Technical Document
User Technical Document
User Service
MDMS Technical Document
NEEDS TO BE UPDATED
IDGen Technical Document
NEEDS TO BE UPDATED
Localization 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
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.