From 004d376daf658e2d03dcc75802c3d257ba5a7025 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 26 Oct 2023 09:40:36 +0200 Subject: [PATCH] Stop and Finish TaskSchedules --- backend/.idea/workspace.xml | 31 ++++++-- .../api/controller/ScheduleController.java | 38 ++++++--- .../taskSchedule/ScheduleInfo.java | 4 + .../TaskScheduleStopResponse.java | 18 +++++ .../timemanager/BasicTaskSchedule.java | 4 + .../java/core/services/ServiceExitCode.java | 3 +- .../core/services/TaskScheduleService.java | 38 ++++++++- frontend/src/api/.openapi-generator/FILES | 1 + frontend/src/api/api/schedule.service.ts | 77 +++++++++++++++++-- frontend/src/api/model/models.ts | 1 + .../active-schedule/StopActiveScheduleInfo.ts | 6 ++ .../active-schedule.component.html | 4 +- .../active-schedule.component.ts | 31 +++++++- .../app/dashboard/dashboard.component.html | 4 +- .../src/app/dashboard/dashboard.component.ts | 11 ++- openapi.yaml | 73 +++++++++++++++++- 16 files changed, 307 insertions(+), 37 deletions(-) create mode 100644 backend/src/main/java/core/api/models/timemanager/taskSchedule/TaskScheduleStopResponse.java create mode 100644 frontend/src/app/dashboard/active-schedule/StopActiveScheduleInfo.ts diff --git a/backend/.idea/workspace.xml b/backend/.idea/workspace.xml index 90e4b44..1d75187 100644 --- a/backend/.idea/workspace.xml +++ b/backend/.idea/workspace.xml @@ -5,12 +5,22 @@ - + + - + + + + + + + + + +