kode-konveyor / tidy-up

You can find up for grab tasks here:
https://github.com/kode-konveyor/repo-server/issues?q=is%3Aissue+is%3Aopen+label%3A%22up+for+grab%22
0 stars 45 forks source link

AcceptOfferController/Logging #102

Closed magwas closed 4 years ago

magwas commented 4 years ago

Behaviour: AcceptOfferController/Logging

Annotations for the test cases:

@TestedBehaviour("Logging")
@TestedService("AcceptOfferController")

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 AcceptOfferController

DTOs and Entities:

WorkRequestEntity WorkRequestEntity

WorkRequestDTO WorkRequestDTO

OfferEntity OfferEntity

If you have questions, see the FAQ, or ask on the development slack channel or ask your mentor.

anish97IND commented 4 years ago

grab

magwas commented 4 years ago

ungrabbing due to inactivity

vendra131 commented 4 years ago

grab

magwas commented 4 years ago
  1. You can have only one task without a pull request
  2. We have made you an established coder, I'll invite you to our TaskMarket Project.
raghavancgn commented 4 years ago

grab

vendra131 commented 4 years ago
  1. You can have only one task without a pull request
  2. 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.

raghavancgn commented 4 years ago

Downloaded xml_docklet repository and switched over to java11. Also installed lombok. Thereby Environment issues resolved. Proceeding further.