【功能新增】IoT: 新增脚本模块,支持 JavaScript 引擎解析,提供示例脚本和安全性验证功能,更新相关依赖和配置。

This commit is contained in:
安浩浩
2025-04-06 21:59:16 +08:00
parent ae96ff4a25
commit 2954445d34
24 changed files with 2125 additions and 105 deletions

View File

@@ -69,13 +69,6 @@
<artifactId>yudao-spring-boot-starter-excel</artifactId>
</dependency>
<!-- 脚本插件相关 -->
<!-- <dependency>-->
<!-- <groupId>cn.iocoder.boot</groupId>-->
<!-- <artifactId>yudao-module-iot-plugin-script</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- 消息队列相关 -->
<dependency>
<groupId>org.apache.rocketmq</groupId>
@@ -93,11 +86,6 @@
<optional>true</optional>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.pf4j</groupId> &lt;!&ndash; PF4J内置插件机制 &ndash;&gt;-->
<!-- <artifactId>pf4j-spring</artifactId>-->
<!-- </dependency>-->
<!-- TODO @芋艿bom 管理 -->
<dependency>
<groupId>org.apache.groovy</groupId>
@@ -145,6 +133,15 @@
<artifactId>yudao-module-iot-net-component-emqx</artifactId>
<version>${revision}</version>
</dependency>
<!-- 脚本相关 -->
<dependency>
<groupId>cn.iocoder.boot</groupId>
<artifactId>yudao-module-iot-script</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</project>