修改job依赖
This commit is contained in:
parent
86157ce69b
commit
afde1ef164
4 changed files with 16 additions and 16 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
<!-- ID Generator and Job Scheduler Versions -->
|
||||
<cosid.version>3.2.0</cosid.version>
|
||||
<snail-job.version>2.0.2</snail-job.version>
|
||||
<simple-job.version>1.2.0</simple-job.version>
|
||||
|
||||
<!-- Messaging and Notification Versions -->
|
||||
<sms4j.version>3.3.5</sms4j.version>
|
||||
|
|
@ -183,19 +183,19 @@
|
|||
|
||||
<!-- SnailJob(灵活,可靠和快速的分布式任务重试和分布式任务调度平台) -->
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>snail-job-client-starter</artifactId>
|
||||
<version>${snail-job.version}</version>
|
||||
<groupId>xcynet.schedule</groupId>
|
||||
<artifactId>simple-job-client-starter</artifactId>
|
||||
<version>${simple-job.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>snail-job-client-retry-core</artifactId>
|
||||
<version>${snail-job.version}</version>
|
||||
<groupId>xcynet.schedule</groupId>
|
||||
<artifactId>simple-job-client-retry-core</artifactId>
|
||||
<version>${simple-job.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>snail-job-client-job-core</artifactId>
|
||||
<version>${snail-job.version}</version>
|
||||
<groupId>xcynet.schedule</groupId>
|
||||
<artifactId>simple-job-client-job-core</artifactId>
|
||||
<version>${simple-job.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- SMS4J(短信聚合框架,轻松集成多家短信服务,解决接入多个短信 SDK 的繁琐流程) -->
|
||||
|
|
|
|||
|
|
@ -50,10 +50,11 @@
|
|||
</dependency>
|
||||
|
||||
<!-- Snail Job @JobExecutor 定时任务切面(optional:引入 snail-job 的服务激活,
|
||||
自动装配以 @ConditionalOnClass 守护) -->
|
||||
自动装配以 @ConditionalOnClass 守护。@JobExecutor 位于 job-core 而非 retry-core,
|
||||
retry-core 仅含 @Retryable 等重试注解) -->
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>snail-job-client-job-core</artifactId>
|
||||
<groupId>xcynet.schedule</groupId>
|
||||
<artifactId>simple-job-client-job-core</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
|
|
|
|||
|
|
@ -16,14 +16,13 @@
|
|||
|
||||
package reliable.simple.starter.log.aspect;
|
||||
|
||||
import com.aizuda.snailjob.client.job.core.annotation.JobExecutor;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
import org.aspectj.lang.ProceedingJoinPoint;
|
||||
import org.aspectj.lang.annotation.Around;
|
||||
import org.aspectj.lang.annotation.Aspect;
|
||||
import org.aspectj.lang.reflect.MethodSignature;
|
||||
import reliable.simple.job.client.job.core.annotation.JobExecutor;
|
||||
import reliable.simple.starter.log.engine.DirectLogSupport;
|
||||
import reliable.simple.starter.log.engine.OperationLogBuffer;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
package reliable.simple.starter.log.engine;
|
||||
|
||||
import com.aizuda.snailjob.client.job.core.annotation.JobExecutor;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
||||
|
|
@ -28,6 +27,7 @@ import org.springframework.context.annotation.Bean;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Role;
|
||||
import org.springframework.grpc.server.GlobalServerInterceptor;
|
||||
import reliable.simple.job.client.job.core.annotation.JobExecutor;
|
||||
import reliable.simple.starter.log.annotation.ConditionalOnEnabledLog;
|
||||
import reliable.simple.starter.log.aspect.OperationLogAspect;
|
||||
import reliable.simple.starter.log.aspect.ScheduledJobLogAspect;
|
||||
|
|
|
|||
Loading…
Reference in a new issue