num-codex / codex-processes-ap1

Business processes for the NUM CODEX project (AP1) as plugins for the HiGHmed Data Sharing Framework
Apache License 2.0
3 stars 6 forks source link

Only one active instance of trigger process #90

Closed wetret closed 2 years ago

wetret commented 2 years ago

When starting a new instance of the trigger process, check whether an instance is already running and terminate it if necessary. Only one instance of the process should be active at a time.

The MII KDS Report Process, which already implements this feature:

https://github.com/medizininformatik-initiative/mii-dsf-processes/blob/472addbb053e84285be7a4f5ebd0ecdb3ae717e6/mii-dsf-process-kds-report/src/main/java/de/medizininformatik_initiative/process/kds/report/service/StartTimer.java#L76-L93

hhund commented 2 years ago

Bad PR, released via v0.7.0