Project

General

Profile

Actions

Task #321

closed

Create Interface, Services, Controllers for DTO

Added by Vít Švanda about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Spring - DATA
Target version:
Start date:
02/27/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

We want use DTOs instead Entities on controller layer.
First step will be create interfaces for DTO, services, controllers.
Second step will be use this DTO "path" in first implementation (RequestRole).
Last step will be replace other implementations in whole application.
Only first two steps will be resolved in this task.

Actions #1

Updated by Vít Švanda about 7 years ago

  • % Done changed from 0 to 20

Implemented convertion to Entity. Used ModelMapper project http://modelmapper.org/.

Actions #2

Updated by Vít Švanda about 7 years ago

  • % Done changed from 20 to 30

Implemented Embedded annotation for mark fields as embedded and relation on DTO class.

Actions #3

Updated by Vít Švanda about 7 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Vít Švanda about 7 years ago

  • % Done changed from 30 to 60
  • Implemented conversion from DTO to Entity.
  • Implemented search via DTO.
    ....
Actions #5

Updated by Vít Švanda about 7 years ago

  • % Done changed from 60 to 80
  • All requirments work fine.
  • Test missing for now.
Actions #6

Updated by Vít Švanda about 7 years ago

Testing for DTO services was implemented within RoleRequest tests.

Actions #7

Updated by Vít Švanda about 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100
Actions #8

Updated by Vít Švanda about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF