Update User Details Resource Method (Start with postman request example)
1. UpdateUser in controller
2. implement service layer
3. test with postman LOGOIN -> PUT just firstname and lastname -> GET
Delete User Resource Method(Start with postman request example)
1. operationStatusModel Response model
2. modify deleteuser in controller
3. RequestOperationName enum in controller pkg
4. RequestOperationStatus enum in response pkg
5. service
6. postman test DELTE - GET
7. getUserByUserId in serviceimpl for exception message
Get List of USers
GET : localhost:8080/users?page=1&limit=50 (passed as url query string, not passed parameter)
1. controller getUSers
2. service
3. repository
4. postman LOGIN -> GET with the above url WITH or WITHOUT limit
1. UpdateUser in controller
2. implement service layer
3. test with postman LOGOIN -> PUT just firstname and lastname -> GET
Delete User Resource Method(Start with postman request example)
1. operationStatusModel Response model
2. modify deleteuser in controller
3. RequestOperationName enum in controller pkg
4. RequestOperationStatus enum in response pkg
5. service
6. postman test DELTE - GET
7. getUserByUserId in serviceimpl for exception message
Get List of USers
GET : localhost:8080/users?page=1&limit=50 (passed as url query string, not passed parameter)
1. controller getUSers
2. service
3. repository
4. postman LOGIN -> GET with the above url WITH or WITHOUT limit
Comments
Post a Comment