VSN-1999 : Adding uuid version of lot name & contract name retrievals.
Merge Request Description
This merge request introduces several commits that enhance the passenger-related logic by referencing UUIDs for contract and lot entities, while also exposing new endpoints and refining exception handling. Below is a semantic description of each commit.
Feature Exposition via Controller
This commit exposes the new functionality through the controller layer, making the feature accessible to external calls and ensuring proper integration with the service interface.
Implementation of Lot Name Retrieval by UUID
This commit provides the concrete implementation for retrieving lot names based on their UUIDs. It ensures that the system can resolve lot identifiers consistently and accurately.
Method Signature for Lot Name Retrieval
This commit defines the method signature required for lot name retrieval by UUID. It establishes the contract for how the service will be invoked and clarifies the expected input and output.
Endpoint for Lot Name Retrieval
This commit introduces a dedicated endpoint to handle requests for lot name retrieval by UUID. It enables external systems and clients to query lot information in a standardized way.
Feature Exposition for Contract Retrieval
This commit exposes contract-related functionality via the controller. It ensures that contract retrieval operations are available through the service interface.
Exception Code Definition and Usage
This commit defines a new exception code to handle cases where a contract cannot be found. It also integrates this code into the service layer, improving error handling and clarity in failure scenarios.
Implementation of Contract Title Retrieval
This commit adds the logic for retrieving contract titles by name. It ensures that contract information can be resolved based on textual identifiers.
Action Method for Contract Name Retrieval by UUID
This commit defines the method signature for retrieving contract names using UUIDs. It establishes the technical contract for this functionality within the service.
Endpoint for Contract Name Retrieval
This commit introduces a new endpoint dedicated to contract name retrieval by UUID. It allows external systems to query contract information in a consistent and reliable manner.
Summary
Together, these commits strengthen the passenger CRUD operations by integrating UUID-based retrievals for both lot and contract entities. They provide clear method signatures, robust implementations, and accessible endpoints, while also improving error handling through defined exception codes. This ensures greater consistency, reliability, and maintainability across the system.
Closes VSN-1999