VSN-2264 : Adding feature of fetching establishment simple representation based on uuid.
Merge Request Description
Overview
This merge request introduces the feature of fetching an establishment’s simple representation based on its UUID. The commits progressively add the endpoint, service signature, implementation, exception handling, feature exposition, and documentation updates. Together, they ensure the feature is fully functional, traceable, and well-documented.
Adding Endpoint
Description
This commit adds a new endpoint to retrieve the simple representation of an establishment using its UUID. It provides the entry point for external consumers to access this functionality.
Adding Service Signature
Description
This commit defines the service signature for retrieving the simple representation of an establishment by UUID. It establishes a clear contract for the service layer, ensuring consistency and traceability.
Implementing Service Method
Description
This commit implements the service method responsible for retrieving the simple representation of an establishment by UUID. It translates the defined signature into functional logic, enabling the feature to operate as intended.
Using Adequate Exception Codes
Description
This commit refactors the implementation to use appropriate exception codes. It ensures that error handling is precise, meaningful, and aligned with system standards, improving maintainability and clarity.
Feature Exposition
Description
This commit exposes the feature through the controller. It makes the functionality accessible to external consumers, bridging the service layer with the API layer.
Changelog Update
Description
This commit updates the changelog to document the newly introduced feature. It ensures transparency and provides a clear record of changes for future reference.
Closes VSN-2264