Bumping spring boot version

This commit is contained in:
Vishwas Babu A J
2019-02-28 15:52:07 -08:00
parent fa05d5a30e
commit 8bfc1f63ab
5 changed files with 25 additions and 4 deletions
@@ -23,6 +23,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.CachingConfigurer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.interceptor.CacheErrorHandler;
import org.springframework.cache.interceptor.CacheResolver;
import org.springframework.cache.interceptor.DefaultKeyGenerator;
import org.springframework.cache.interceptor.KeyGenerator;
import org.springframework.context.annotation.Bean;
@@ -42,8 +44,20 @@ public class PlatformCacheConfiguration implements CachingConfigurer {
return this.delegatingCacheManager;
}
@Override
public CacheResolver cacheResolver() {
//TODO https://issues.apache.org/jira/browse/FINERACT-705
return null;
}
@Override
public KeyGenerator keyGenerator() {
return new DefaultKeyGenerator();
}
@Override
public CacheErrorHandler errorHandler() {
//TODO https://issues.apache.org/jira/browse/FINERACT-705
return null;
}
}
@@ -18,6 +18,7 @@
*/
package org.apache.fineract.infrastructure.jobs.service;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
@@ -382,7 +383,7 @@ public class JobRegisterServiceImpl implements JobRegisterService, ApplicationLi
return targetObject;
}
private Trigger createTrigger(final ScheduledJobDetail scheduledJobDetails, final JobDetail jobDetail) {
private Trigger createTrigger(final ScheduledJobDetail scheduledJobDetails, final JobDetail jobDetail) throws ParseException {
final FineractPlatformTenant tenant = ThreadLocalContextUtil.getTenant();
final CronTriggerFactoryBean cronTriggerFactoryBean = new CronTriggerFactoryBean();
cronTriggerFactoryBean.setName(scheduledJobDetails.getJobName() + "Trigger" + tenant.getId());