The Pharmacy POS System Backend is the server-side component of our comprehensive pharmacy management software. It is developed using Spring Boot, Java, Spring Security ,and Microservices Architecture
Apache License 2.0
5
stars
3
forks
source link
Add Item Retrieval by Name and Enhance Item Data Response #94
Pull Request: Add Item Retrieval by Name and Enhance Item Data Response
Title
Enhance Item Retrieval and Response Structure for Items
Description
This pull request introduces enhancements to the item retrieval functionality and updates the response structure for item-related endpoints. Specifically, it adds the capability to retrieve items by name and includes additional fields in the item response structure to provide more comprehensive details about each item.
Changes Made
New Endpoint:
GET/lifepill/v1/item/get-by-name:
Retrieves a list of items by their name.
Example URL: http://localhost:8081/lifepill/v1/item/get-by-name/?itemName=Sampl22
Unit Tests: Ensure that the unit tests cover all new and existing functionality related to item retrieval and response.
Integration Tests: Verify that the new and enhanced endpoints return the correct data in the expected format.
Manual Testing: Manually test the endpoints using tools like Postman to confirm that they return the expected results.
Conclusion
These changes improve the application's item management capabilities, providing more detailed information about items and enhancing the user experience when retrieving item data. Your feedback on these changes is appreciated.
Best regards,
Pramitha Jayasooriya
Backend Developer at LifePill
https://pramithamj.me
Pull Request: Add Item Retrieval by Name and Enhance Item Data Response
Title
Enhance Item Retrieval and Response Structure for Items
Description
This pull request introduces enhancements to the item retrieval functionality and updates the response structure for item-related endpoints. Specifically, it adds the capability to retrieve items by name and includes additional fields in the item response structure to provide more comprehensive details about each item.
Changes Made
New Endpoint:
/lifepill/v1/item/get-by-name
:http://localhost:8081/lifepill/v1/item/get-by-name/?itemName=Sampl22
Enhanced Endpoint:
/lifepill/v1/item/get-all-items
:Test Plan
Conclusion
These changes improve the application's item management capabilities, providing more detailed information about items and enhancing the user experience when retrieving item data. Your feedback on these changes is appreciated.
Best regards, Pramitha Jayasooriya Backend Developer at LifePill https://pramithamj.me