Skip to content

VSN-1994 : Improving the prepared passengers refetching mechanism after mass importation action from hardcoded waiting time to data radiness status listening.

yassine.elazami a demandé de fusionner VSN-1994 vers develop

Merge Request Description

Overview

This merge request introduces updates to environment configuration, endpoint paths, dynamic importation status handling, and client-side integration for retrieving import status. It refines the importation logic to remove hardcoded delays and replaces them with real data readiness checks.


Changes Summary

1. feat(paths+env) : New path defined + gateway

  • Added a new path used to test whether an importation is currently ongoing.
  • Updated the gateway context path to the local environment configuration.

2. feat(store) : Call method

  • Implemented the logic that invokes the backend method responsible for retrieving the status of the latest import operation.

3. refactor(importation) : Importation integration

  • Removed the previous hardcoded waiting time used during importation.
  • Replaced it with a dynamic mechanism that relies on actual data readiness status changes.
  • Ensured that the importation flow now reacts to real-time updates instead of fixed delays.

4. refactor(env) : Gateway

  • Updated the gateway context path again to match the remote environment configuration.

Technical Impact

  • Introduces dynamic, data-driven validation of import readiness.
  • Reduces waiting time inconsistencies by eliminating fixed artificial delays.
  • Improves development and production environment alignment through updated gateway paths.
  • Enhances client-side logic by making the import status request functional.

Testing

  • Tested the new endpoint path resolution.
  • Verified the dynamic importation flow under different readiness states.
  • Confirmed correct gateway routing in both local and remote environments.

Closes VSN-1994

Modification effectuée par yassine.elazami

Rapports de requête de fusion