feat: Implement feature to list all employees from a project (SCRUM-46) (!36)
All checks were successful
Quality Check / Tests (push) Successful in 1m8s
Quality Check / Checkstyle Main (push) Successful in 37s
Build / Build and analyze (push) Successful in 1m48s
Release / Release (push) Successful in 39s

Co-authored-by: Phan Huy Tran <p.tran@neusta.de>
Reviewed-on: #36
This commit is contained in:
Phan Huy Tran 2024-10-23 10:19:33 +00:00
parent 76b0201cf2
commit 202805e3dd
22 changed files with 263 additions and 28 deletions

View file

@ -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"
]
}

View file

@ -1,2 +1,2 @@
GET https://employee.szut.dev/employees/312
GET https://employee.szut.dev/employees/315
Authorization: Bearer {{auth_token}}

View file

@ -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",

View file

@ -0,0 +1,2 @@
GET http://localhost:8080/projects/2/employees
Authorization: Bearer {{auth_token}}