@@ -7,20 +7,22 @@ Simple addon library to support background jobs for Edison Microservices.
7
7
This library offers the possibility to execute background jobs like, for example, importing data from other services
8
8
on a regular basis.
9
9
10
- Job information can automatically be persisted in a MongoDB if you use edison-mongo. Otherwise they are only persisted
10
+ Job information can automatically be persisted in a MongoDB if you use edison-mongo. Otherwise they are only persisted
11
11
in memory. In clustered environments (multiple instances of a single service) it is generally a good idea to use some
12
- kind of persistence.
12
+ kind of persistence.
13
13
14
- It is possible to persist job information in different data stores. In this case, a ` JobRepository ` must be implemented
14
+ It is possible to persist job information in different data stores. In this case, a ` JobRepository ` must be implemented
15
15
and exposed as a Spring Bean.
16
16
17
- Beside of starting a job programmatically via the ` Jobservice ` you can also use the graphical user interface which
17
+ Beside of starting a job programmatically via the ` Jobservice ` you can also use the graphical user interface which
18
18
comes with this library. Links to this UI are automatically added to the service´s /internal pages menu bar if
19
19
edison-jobs is added to the classpath.
20
20
21
- The scheduling of the jobs is not part of this framework. External triggering is implemented by
22
- [ Edison JobTrigger] ( https://github.com/otto-de/edison-jobtrigger ) , but also internal triggers are easy to implement
23
- using Spring's @EnableScheduling and @Scheduled annotations.
21
+ The scheduling of the jobs is not part of this framework.
22
+
23
+ A former implementation of an external triggering is implemented by the
24
+ archived [ Edison JobTrigger] ( https://github.com/otto-de/edison-jobtrigger ) . We recommend the usage of internal triggers by
25
+ using Spring's @EnableScheduling and @Scheduled annotations.
24
26
25
27
For the usage of edison-jobs take a look at example-jobs.
26
28
@@ -29,6 +31,7 @@ For the usage of edison-jobs take a look at example-jobs.
29
31
* PENDING*
30
32
31
33
### JobMutexHandler
34
+
32
35
You can define JobMutex-Groups to define, that certain jobs may not be executed, while other specific jobs are running.
33
36
34
37
To define a mutex group you need to define a bean of type JobMutexGroup
0 commit comments