[AB-203] restructuring listeners to use more common code and common interfaces for listeners and models

restructuring entity listener to be async and added models
fixing usage of repository save method
adding interface dependencies to bundle dependency management
This commit is contained in:
Sheldan
2021-03-21 10:58:31 +01:00
parent cfe7786d4d
commit b4e36efafb
241 changed files with 3521 additions and 2049 deletions

View File

@@ -31,8 +31,7 @@ public class SchedulerJobManagementServiceBean {
public SchedulerJob createJob(SchedulerJob job) {
log.info("Creating job {}", job.getName());
repository.save(job);
return job;
return repository.save(job);
}
public List<SchedulerJob> findAll() {
@@ -40,8 +39,7 @@ public class SchedulerJobManagementServiceBean {
}
public SchedulerJob save(SchedulerJob job) {
repository.save(job);
return job;
return repository.save(job);
}
public boolean doesJobExist(SchedulerJob schedulerJob) {