Closed magwas closed 4 years ago
grab
ungrabbing due to inactivity
grab
grab
- You can have only one task without a pull request
- We have made you an established coder, I'll invite you to our TaskMarket Project.
I have one task with PR raised Most of the Task Market tasks seem to be implemented in ongoing PRs.
Downloaded xml_docklet repository and switched over to java11. Also installed lombok. Thereby Environment issues resolved. Proceeding further.
Behaviour: AcceptOfferController/Logging
Annotations for the test cases:
The production code is at com.kodekonveyor.work_request.offer.AcceptOfferController.java The testcase base should be at com.kodekonveyor.work_request.offer.AcceptOfferControllerTestBase.java The testcase should probably be at com.kodekonveyor.work_request.offer.AcceptOfferControllerLoggingTest.java
All activities should be logged with level INFO before anything else is done with the user initiating the activity (if known), and the name of the controller.
The result of all successful activities should be logged with level FINE the name of the controller, id(s) of the result(s) (if there is an id), or the value, using the string SUCCESS
The result of all failures should be logged with level WARNING, with the name of the controller, the string "FAILURE", and the reason of the failure.
The logging is implemented by LoggerService. All other controllers and services should call that.
If the user is not knowns, the "user" parameter must be null.
See https://www.vogella.com/tutorials/Logging/article.html for how to log.
The service:
AcceptOfferController
DTOs and Entities:
WorkRequestEntity
WorkRequestDTO
OfferEntity
If you have questions, see the FAQ, or ask on the development slack channel or ask your mentor.