From fc00b56b04d228dfbfb78a97649d47b53708f37d Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 23 Oct 2023 23:32:00 +0000 Subject: [PATCH] chore(jobsystem): add module stub for new jobsystem main entry point --- src/Application.hs | 4 ++++ src/JobSystem.hs | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/JobSystem.hs diff --git a/src/Application.hs b/src/Application.hs index 90d344bfd..356dc186f 100644 --- a/src/Application.hs +++ b/src/Application.hs @@ -57,8 +57,12 @@ import qualified Data.UUID.V4 as UUID import System.Directory +-- old job system import Jobs +-- new job system +import JobSystem + import qualified Data.Text.Encoding as Text import Yesod.Auth.Util.PasswordStore diff --git a/src/JobSystem.hs b/src/JobSystem.hs new file mode 100644 index 000000000..c4847e577 --- /dev/null +++ b/src/JobSystem.hs @@ -0,0 +1,14 @@ +-- SPDX-FileCopyrightText: 2023 Sarah Vaupel +-- +-- SPDX-License-Identifier: AGPL-3.0-or-later + +module JobSystem + ( + ) where + +-- TODO: add gitlab.uniworx.de/barth/jobsys as dependency to be able to import JobSchedulerWorld and its function +-- import Jobsys.JobSystem + +-- TODO: define JobSchedulerWorld instance for managing job workers, scheduler, and communation in-between +-- instance JobSchedulerWorld world where +-- ...