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


Comments

Popular posts from this blog

Portlet Edit Mode (Portlet preference) to replace Portlet configuration

GoGo Shell & What can be deleted in Liferay Instance