VSN-2037/ Add prepared circuits controller with external API integration and advanced filtering
Add prepared circuits controller with external API integration and advanced filtering
This Merge Request introduces a new backend flow to retrieve and expose prepared circuits stored in the prepared_circuit table. It also integrates multiple external APIs to enrich circuit data and provides flexible filtering based on different parameters.
⚙ ️ Technical Changes
-
Added a new REST Controller to expose prepared circuits endpoints
-
Implemented Service layer to handle business logic and orchestration
-
Created DTOs to map and aggregate data retrieved from multiple external APIs
-
Integrated calls to external services/APIs to enrich prepared circuit information
-
Implemented dynamic filtering based on multiple request parameters
-
Ensured clean separation between controller, service, and DTO layers
🔍 Filtering Capabilities
The controller supports filtering prepared circuits by:
-
Multiple query parameters (e.g. id, circuitCode, titled, etc.)
-
Combination of filters to refine results dynamically