diff --git a/cloud-task-server/src/main/java/com/muyu/task/server/feign/DatasourceFeign.java b/cloud-task-remote/src/main/java/com/muyu/remote/feign/DatasourceFeign.java similarity index 87% rename from cloud-task-server/src/main/java/com/muyu/task/server/feign/DatasourceFeign.java rename to cloud-task-remote/src/main/java/com/muyu/remote/feign/DatasourceFeign.java index 7f26752..ca3e234 100644 --- a/cloud-task-server/src/main/java/com/muyu/task/server/feign/DatasourceFeign.java +++ b/cloud-task-remote/src/main/java/com/muyu/remote/feign/DatasourceFeign.java @@ -1,8 +1,8 @@ -package com.muyu.task.server.feign; +package com.muyu.remote.feign; import com.muyu.common.domain.DataValue; -import com.muyu.task.server.feign.Factory.DatasourceFeignFactory; +import com.muyu.remote.feign.Factory.DatasourceFeignFactory; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; diff --git a/cloud-task-server/src/main/java/com/muyu/task/server/feign/Factory/DatasourceFeignFactory.java b/cloud-task-remote/src/main/java/com/muyu/remote/feign/Factory/DatasourceFeignFactory.java similarity index 86% rename from cloud-task-server/src/main/java/com/muyu/task/server/feign/Factory/DatasourceFeignFactory.java rename to cloud-task-remote/src/main/java/com/muyu/remote/feign/Factory/DatasourceFeignFactory.java index e9a6501..360ee90 100644 --- a/cloud-task-server/src/main/java/com/muyu/task/server/feign/Factory/DatasourceFeignFactory.java +++ b/cloud-task-remote/src/main/java/com/muyu/remote/feign/Factory/DatasourceFeignFactory.java @@ -1,7 +1,7 @@ -package com.muyu.task.server.feign.Factory; +package com.muyu.remote.feign.Factory; import com.muyu.common.core.domain.Result; -import com.muyu.task.server.feign.DatasourceFeign; +import com.muyu.remote.feign.DatasourceFeign; import lombok.extern.log4j.Log4j2; import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.stereotype.Component; diff --git a/cloud-task-remote/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/cloud-task-remote/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index 6b6cf9f..1118c60 100644 --- a/cloud-task-remote/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/cloud-task-remote/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -1 +1 @@ -com.muyu.task.server.feign.Factory.DatasourceFeignFactory +com.muyu.remote.feign.Factory.DatasourceFeignFactory diff --git a/cloud-task-server/src/main/java/com/muyu/task/server/service/impl/TaskInputServiceImpl.java b/cloud-task-server/src/main/java/com/muyu/task/server/service/impl/TaskInputServiceImpl.java index e4fe4fa..7da378e 100644 --- a/cloud-task-server/src/main/java/com/muyu/task/server/service/impl/TaskInputServiceImpl.java +++ b/cloud-task-server/src/main/java/com/muyu/task/server/service/impl/TaskInputServiceImpl.java @@ -10,7 +10,7 @@ import com.muyu.common.domain.DataValue; import com.muyu.common.domian.NodeJoint; import com.muyu.common.domian.TaskInput; import com.muyu.common.domian.req.TaskInputListReq; -import com.muyu.task.server.feign.DatasourceFeign; +import com.muyu.remote.feign.DatasourceFeign; import com.muyu.task.server.mapper.TaskInputMapper; import com.muyu.task.server.service.NodeJointService; import com.muyu.task.server.service.NodeTableService;