【代码评审】IoT:plugin 相关的实现
This commit is contained in:
parent
724512399a
commit
d718f80108
|
@ -63,6 +63,7 @@
|
||||||
<artifactId>opengauss-jdbc</artifactId>
|
<artifactId>opengauss-jdbc</artifactId>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- TODO @haohao:这个最好不要全局开启,而是按需开启哈。 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.taosdata.jdbc</groupId>
|
<groupId>com.taosdata.jdbc</groupId>
|
||||||
<artifactId>taos-jdbcdriver</artifactId>
|
<artifactId>taos-jdbcdriver</artifactId>
|
||||||
|
|
|
@ -30,7 +30,6 @@ public class IotPluginStartRunner implements ApplicationRunner {
|
||||||
@Override
|
@Override
|
||||||
public void run(ApplicationArguments args) {
|
public void run(ApplicationArguments args) {
|
||||||
List<IotPluginConfigDO> pluginConfigList = TenantUtils.executeIgnore(
|
List<IotPluginConfigDO> pluginConfigList = TenantUtils.executeIgnore(
|
||||||
// 查询运行中且部署类型为 JAR 的插件
|
|
||||||
() -> pluginConfigService.getPluginConfigListByStatusAndDeployType(
|
() -> pluginConfigService.getPluginConfigListByStatusAndDeployType(
|
||||||
IotPluginStatusEnum.RUNNING.getStatus(), IotPluginDeployTypeEnum.JAR.getDeployType()));
|
IotPluginStatusEnum.RUNNING.getStatus(), IotPluginDeployTypeEnum.JAR.getDeployType()));
|
||||||
if (CollUtil.isEmpty(pluginConfigList)) {
|
if (CollUtil.isEmpty(pluginConfigList)) {
|
||||||
|
|
Loading…
Reference in New Issue