Merge branch 'master' of github.com:fit2cloudrd/metersphere-server

This commit is contained in:
Captain.B 2020-06-22 18:23:18 +08:00
commit 8fa2a2265f
3 changed files with 1186 additions and 8 deletions

View File

@ -18,7 +18,6 @@
<shiro.version>1.5.1</shiro.version>
<java.version>1.8</java.version>
<jmeter.version>5.2.1</jmeter.version>
<quartz-starter.version>0.0.4</quartz-starter.version>
</properties>
<dependencies>
@ -78,13 +77,6 @@
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>com.fit2cloud</groupId>
<artifactId>quartz-spring-boot-starter</artifactId>
<version>${quartz-starter.version}</version>
</dependency>
<!-- flyway -->
<dependency>
<groupId>org.flywaydb</groupId>
@ -163,6 +155,12 @@
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
<build>

View File

@ -0,0 +1,21 @@
package io.metersphere.schedule.job;
import io.metersphere.api.service.APITestService;
import io.metersphere.commons.utils.CommonBeanFactory;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
public class ApiTestJob implements Job {
private APITestService apiTestService;
public ApiTestJob() {
apiTestService = (APITestService) CommonBeanFactory.getBean("apiTestService");
}
@Override
public void execute(JobExecutionContext context) throws JobExecutionException {
}
}

1159
backend/tree.txt Normal file

File diff suppressed because one or more lines are too long