Separate out the CRONs service away from the UOP core #1214
Replies: 4 comments
-
|
I think that we should let facilities set up custom jobs dynamically. Ideally, the CRON service would be a generic scheduler that will start jobs at given frequencies. A new job can be plugged in to the service by implementing an abstract job interface, something like this: interface Job { Some jobs can be pre-defined and stored in the core repo while others will be implemented on site and not made public. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is regarding a possible idea, we have currently had two meeting one internally with submission in ICD, and one with ESS (Jekabs.K, Yoganandan.P). Both parties so far are interested in this idea.
Currently we have all CRONs jobs stored in the source code of UOP (user-offfice-project)/UOC (user-office-core). This we believe can be improved, as it is currently residing as a monolith.
There is a archived repo User-office-crons (UOCrons): https://github.com/UserOfficeProject/user-office-cron
We want to abstract this out of UOP/UOC and make it importable and then configurable.
Of which we want to be similar to user-office-factory:
https://github.com/UserOfficeProject/user-office-factory
These jobs may call some backend endpoint, connect directly to the database, we want to be able to spy on the jobs.
Ideas
Possible problem
Beta Was this translation helpful? Give feedback.
All reactions