MODOURMAN-788: Approach for deletion of JobExecutions.

In scope of MODSOURMAN-771 was added an API that would mark JobExecution entity as "Deleted". Such JobExecutions should be permanently deleted from the DB, but only if the processing has finished (stopped by the user jobs continue running even though we mark such job as cancelled).



  1. There is a schema for the brand new API for changing JobExecution entity as "Deleted":


    2. There is a schema for the periodical processing and removing "deleted"-JobExecutions records: