|
|
@@ -1,18 +1,27 @@
|
|
|
-package com.tzld.piaoquan.sde;
|
|
|
-
|
|
|
-
|
|
|
-import com.tzld.piaoquan.sde.service.ExecutionTaskService;
|
|
|
-import org.junit.jupiter.api.Test;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-
|
|
|
-public class ExecutionTaskServiceTest extends BaseTest {
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private ExecutionTaskService executionTaskService;
|
|
|
-
|
|
|
- // @Test
|
|
|
- // public void test() {
|
|
|
- // executionTaskService.batchCreateDeconstructTask("20260124", "yesterday_exp_top200_video_scope");
|
|
|
- // }
|
|
|
-
|
|
|
-}
|
|
|
+// package com.tzld.piaoquan.sde;
|
|
|
+//
|
|
|
+//
|
|
|
+// import com.alibaba.fastjson.JSON;
|
|
|
+// import com.tzld.piaoquan.sde.model.dto.task.XxlJobParamDto;
|
|
|
+// import com.tzld.piaoquan.sde.service.ExecutionTaskService;
|
|
|
+// import org.junit.jupiter.api.Test;
|
|
|
+// import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+//
|
|
|
+// public class ExecutionTaskServiceTest extends BaseTest {
|
|
|
+//
|
|
|
+// @Autowired
|
|
|
+// private ExecutionTaskService executionTaskService;
|
|
|
+//
|
|
|
+// @Test
|
|
|
+// public void videoClusterExecutionTaskCreateHandlerTest() {
|
|
|
+// XxlJobParamDto xxlJobParamDto = new XxlJobParamDto();
|
|
|
+// xxlJobParamDto.setTable("loghubods.supply_video_deconstruction");
|
|
|
+// xxlJobParamDto.setContentScope("top20_cate_top200_exp14d_top50_vov14d");
|
|
|
+// executionTaskService.videoClusterExecutionTaskCreateHandler(JSON.toJSONString(xxlJobParamDto));
|
|
|
+// }
|
|
|
+//
|
|
|
+// @Test
|
|
|
+// public void executionTaskSubmitHandlerTest() {
|
|
|
+// executionTaskService.executionTaskSubmitHandler();
|
|
|
+// }
|
|
|
+// }
|