Revize ebfa1cc3
Přidáno uživatelem Václav Hrabík před více než 1 rok
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/v2/controller/management/IterationAndPhasesController.java | ||
---|---|---|
1 |
package cz.zcu.fav.kiv.antipatterndetectionapp.v2.controller.management; |
|
2 |
|
|
3 |
|
|
4 |
import com.fasterxml.jackson.databind.ObjectMapper; |
|
5 |
import cz.zcu.fav.kiv.antipatterndetectionapp.model.Project; |
|
6 |
import cz.zcu.fav.kiv.antipatterndetectionapp.model.management.Person; |
|
7 |
import cz.zcu.fav.kiv.antipatterndetectionapp.service.ProjectService; |
|
8 |
import cz.zcu.fav.kiv.antipatterndetectionapp.service.managment.PersonService; |
|
9 |
import cz.zcu.fav.kiv.antipatterndetectionapp.v2.model.PersonDto; |
|
10 |
import cz.zcu.fav.kiv.antipatterndetectionapp.v2.model.PersonMergeRequest; |
|
11 |
import cz.zcu.fav.kiv.antipatterndetectionapp.v2.utils.converters.PersonToDto; |
|
12 |
import org.springframework.beans.factory.annotation.Autowired; |
|
13 |
import org.springframework.http.HttpStatus; |
|
14 |
import org.springframework.http.ResponseEntity; |
|
15 |
import org.springframework.stereotype.Controller; |
|
16 |
import org.springframework.web.bind.annotation.PostMapping; |
|
17 |
import org.springframework.web.bind.annotation.RequestBody; |
|
18 |
import org.springframework.web.bind.annotation.RequestMapping; |
|
19 |
|
|
20 |
import java.util.Collections; |
|
21 |
import java.util.Comparator; |
|
22 |
import java.util.List; |
|
23 |
import java.util.Map; |
|
24 |
|
|
25 |
/** |
|
26 |
* This class contains all endpoints of management/persons |
|
27 |
*/ |
|
28 |
@Controller |
|
29 |
@RequestMapping("v2/management") |
|
30 |
public class IterationAndPhasesController { |
|
31 |
|
|
32 |
@Autowired |
|
33 |
private ProjectService projectService; |
|
34 |
|
|
35 |
} |
Také k dispozici: Unified diff
https://kivprogrammers.atlassian.net/browse/TSP2-50 první commit