启动问题修复
This commit is contained in:
parent
41a0e2cf9f
commit
7a57d6658c
@ -29,7 +29,7 @@ import static java.lang.String.format;
|
|||||||
@Component
|
@Component
|
||||||
public class DockerClientFactory implements CommandLineRunner {
|
public class DockerClientFactory implements CommandLineRunner {
|
||||||
|
|
||||||
@Resource
|
@Resource(type = DockerEndpointDao.class)
|
||||||
private DockerEndpointDao dockerEndpointDao;
|
private DockerEndpointDao dockerEndpointDao;
|
||||||
@Getter
|
@Getter
|
||||||
private final Map<String, DockerClient> clientGroup = new ConcurrentHashMap<>();
|
private final Map<String, DockerClient> clientGroup = new ConcurrentHashMap<>();
|
||||||
|
@ -10,6 +10,6 @@ import org.apache.ibatis.annotations.Mapper;
|
|||||||
* @date: 2025/5/26 10:33
|
* @date: 2025/5/26 10:33
|
||||||
* @version: 1.0
|
* @version: 1.0
|
||||||
*/
|
*/
|
||||||
@Mapper
|
//@Mapper
|
||||||
public interface DockerEndpointDao extends BaseMapperX<DockerEndpointDo> {
|
public interface DockerEndpointDao extends BaseMapperX<DockerEndpointDo> {
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ public class ResourceManagerServiceImpl extends ServiceImpl<PipResourceManagerDa
|
|||||||
@Resource
|
@Resource
|
||||||
private PipResourceMachineDao machineDao;
|
private PipResourceMachineDao machineDao;
|
||||||
|
|
||||||
@Resource
|
@Autowired
|
||||||
private PipResourceDockerEndpointDao dockerEndpointDao;
|
private PipResourceDockerEndpointDao dockerEndpointDao;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
|
@ -14,7 +14,7 @@ import org.springframework.context.annotation.ComponentScans;
|
|||||||
|
|
||||||
@SuppressWarnings("SpringComponentScan")
|
@SuppressWarnings("SpringComponentScan")
|
||||||
@ComponentScan({"cd.casic"})
|
@ComponentScan({"cd.casic"})
|
||||||
@MapperScan(basePackages = "cd.casic.ci.**.dal")
|
@MapperScan(basePackages = {"cd.casic.**.dal","cd.casic.**.dao"})
|
||||||
@SpringBootApplication(scanBasePackages = {"${ops.info.base-package}.server", "${ops.info.base-package}.module"})
|
@SpringBootApplication(scanBasePackages = {"${ops.info.base-package}.server", "${ops.info.base-package}.module"})
|
||||||
public class OpsServerApplication {
|
public class OpsServerApplication {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user