feat: Implement feature to list all employees from a project (SCRUM-46) (!36)
Co-authored-by: Phan Huy Tran <p.tran@neusta.de> Reviewed-on: #36
This commit is contained in:
parent
76b0201cf2
commit
202805e3dd
22 changed files with 263 additions and 28 deletions
|
@ -3,10 +3,13 @@ Authorization: Bearer {{auth_token}}
|
|||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"firstName": "Jan",
|
||||
"lastName": "Klattenhoff",
|
||||
"street": "Pirolweg 17",
|
||||
"firstName": "Jan1",
|
||||
"lastName": "Klattenhoff1",
|
||||
"street": "Pirolweg 171",
|
||||
"postcode": "27777",
|
||||
"city": "Gandakersee",
|
||||
"phone": "017684984816"
|
||||
"city": "Gandakersee1",
|
||||
"phone": "0176849848161",
|
||||
"skillSet": [
|
||||
"1"
|
||||
]
|
||||
}
|
|
@ -1,2 +1,2 @@
|
|||
GET https://employee.szut.dev/employees/312
|
||||
GET https://employee.szut.dev/employees/315
|
||||
Authorization: Bearer {{auth_token}}
|
|
@ -6,7 +6,7 @@ Content-Type: application/json
|
|||
{
|
||||
"name": "name",
|
||||
"leading_employee": 1,
|
||||
"employees": [2, 3],
|
||||
"employees": [315, 312],
|
||||
"contractor": 4,
|
||||
"contractor_name": "Peter File",
|
||||
"comment": "goal of project",
|
||||
|
|
2
requests/project/getEmployeesFromProject.http
Normal file
2
requests/project/getEmployeesFromProject.http
Normal file
|
@ -0,0 +1,2 @@
|
|||
GET http://localhost:8080/projects/2/employees
|
||||
Authorization: Bearer {{auth_token}}
|
Reference in a new issue