Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c14055ba8c | ||
|
|
04aa6c9680 | ||
|
|
397bbb2657 | ||
|
|
9a68282127 | ||
|
|
dcd02acc61 |
@@ -1,5 +1,5 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
version=2.3.2
|
version=2.3.3
|
||||||
docker build -t orion-visor-adminer:${version} .
|
docker build -t orion-visor-adminer:${version} .
|
||||||
docker tag orion-visor-adminer:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:${version}
|
docker tag orion-visor-adminer:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:${version}
|
||||||
docker tag orion-visor-adminer:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:latest
|
docker tag orion-visor-adminer:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:latest
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
version=2.3.2
|
version=2.3.3
|
||||||
cp -r ../../sql ./sql
|
cp -r ../../sql ./sql
|
||||||
docker build -t orion-visor-mysql:${version} .
|
docker build -t orion-visor-mysql:${version} .
|
||||||
rm -rf ./sql
|
rm -rf ./sql
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
version=2.3.2
|
version=2.3.3
|
||||||
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:${version}
|
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:${version}
|
||||||
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:${version}
|
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:${version}
|
||||||
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:${version}
|
docker push registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:${version}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
version=2.3.2
|
version=2.3.3
|
||||||
docker build -t orion-visor-redis:${version} .
|
docker build -t orion-visor-redis:${version} .
|
||||||
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:${version}
|
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:${version}
|
||||||
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
|
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
version=2.3.2
|
version=2.3.3
|
||||||
mv ../../orion-visor-launch/target/orion-visor-launch.jar ./orion-visor-launch.jar
|
mv ../../orion-visor-launch/target/orion-visor-launch.jar ./orion-visor-launch.jar
|
||||||
mv ../../orion-visor-ui/dist ./dist
|
mv ../../orion-visor-ui/dist ./dist
|
||||||
docker build --no-cache -t orion-visor-service:${version} .
|
docker build -t orion-visor-service:${version} .
|
||||||
rm -rf ./orion-visor-launch.jar
|
rm -rf ./orion-visor-launch.jar
|
||||||
rm -rf ./dist
|
rm -rf ./dist
|
||||||
docker tag orion-visor-service:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:${version}
|
docker tag orion-visor-service:${version} registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:${version}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public interface AppConst extends OrionConst {
|
|||||||
/**
|
/**
|
||||||
* 同 ${orion.version} 迭代时候需要手动更改
|
* 同 ${orion.version} 迭代时候需要手动更改
|
||||||
*/
|
*/
|
||||||
String VERSION = "2.3.2";
|
String VERSION = "2.3.3";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 同 ${spring.application.name}
|
* 同 ${spring.application.name}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<url>https://github.com/dromara/orion-visor</url>
|
<url>https://github.com/dromara/orion-visor</url>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>2.3.2</revision>
|
<revision>2.3.3</revision>
|
||||||
<spring.boot.version>2.7.17</spring.boot.version>
|
<spring.boot.version>2.7.17</spring.boot.version>
|
||||||
<spring.boot.admin.version>2.7.15</spring.boot.admin.version>
|
<spring.boot.admin.version>2.7.15</spring.boot.admin.version>
|
||||||
<flatten.maven.plugin.version>1.5.0</flatten.maven.plugin.version>
|
<flatten.maven.plugin.version>1.5.0</flatten.maven.plugin.version>
|
||||||
|
|||||||
@@ -157,51 +157,6 @@ logging:
|
|||||||
level:
|
level:
|
||||||
org.dromara.visor.launch.controller.BootstrapController: INFO
|
org.dromara.visor.launch.controller.BootstrapController: INFO
|
||||||
|
|
||||||
# 应用配置
|
|
||||||
app:
|
|
||||||
# 认证配置
|
|
||||||
authentication:
|
|
||||||
# 是否允许多端登录
|
|
||||||
allow-multi-device: true
|
|
||||||
# 是否允许凭证续签
|
|
||||||
allow-refresh: true
|
|
||||||
# 凭证续签最大次数
|
|
||||||
max-refresh-count: 3
|
|
||||||
# 登录失败发送站内信阈值
|
|
||||||
login-failed-send-threshold: 3
|
|
||||||
# 登录失败锁定次数
|
|
||||||
login-failed-lock-count: 5
|
|
||||||
# 登录失败锁定时间 (分)
|
|
||||||
login-failed-lock-time: 30
|
|
||||||
# tracker 配置
|
|
||||||
tracker:
|
|
||||||
# 加载偏移量 (行)
|
|
||||||
offset: 300
|
|
||||||
# 延迟时间 (ms)
|
|
||||||
delay: 100
|
|
||||||
# 文件未找到等待次数
|
|
||||||
wait-times: 100
|
|
||||||
# sftp 配置
|
|
||||||
sftp:
|
|
||||||
# 上传文件时 文件存在是否备份
|
|
||||||
upload-present-backup: true
|
|
||||||
# 备份文件名称
|
|
||||||
backup-file-name: bk_${fileName}_${timestamp}
|
|
||||||
# 执行日志
|
|
||||||
exec-log:
|
|
||||||
# 是否拼接 ansi 执行状态日志
|
|
||||||
append-ansi: true
|
|
||||||
# 自动清理配置
|
|
||||||
auto-clear:
|
|
||||||
# 批量执行日志
|
|
||||||
exec-log:
|
|
||||||
enabled: false
|
|
||||||
keep-period: 30
|
|
||||||
# 终端连接日志
|
|
||||||
terminal-connect-log:
|
|
||||||
enabled: false
|
|
||||||
keep-period: 30
|
|
||||||
|
|
||||||
# orion framework config
|
# orion framework config
|
||||||
orion:
|
orion:
|
||||||
# 版本
|
# 版本
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ import java.util.function.Function;
|
|||||||
*/
|
*/
|
||||||
public class ReplaceVersion {
|
public class ReplaceVersion {
|
||||||
|
|
||||||
private static final String TARGET_VERSION = "2.3.1";
|
private static final String TARGET_VERSION = "2.3.2";
|
||||||
|
|
||||||
private static final String REPLACE_VERSION = "2.3.2";
|
private static final String REPLACE_VERSION = "2.3.3";
|
||||||
|
|
||||||
private static final String PATH = new File("").getAbsolutePath();
|
private static final String PATH = new File("").getAbsolutePath();
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ public class ExecJobLogController {
|
|||||||
@IgnoreLog(IgnoreLogMode.RET)
|
@IgnoreLog(IgnoreLogMode.RET)
|
||||||
@GetMapping("/get-host")
|
@GetMapping("/get-host")
|
||||||
@Operation(summary = "查询执行主机日志")
|
@Operation(summary = "查询执行主机日志")
|
||||||
@PreAuthorize("@ss.hasPermission('exec:exec-job-log:query')")
|
@PreAuthorize("@ss.hasPermission('asset:exec-job-log:query')")
|
||||||
public ExecHostLogVO getExecJobHostLog(@RequestParam("id") Long id) {
|
public ExecHostLogVO getExecJobHostLog(@RequestParam("id") Long id) {
|
||||||
return execHostLogService.getExecHostLog(id);
|
return execHostLogService.getExecHostLog(id);
|
||||||
}
|
}
|
||||||
@@ -163,7 +163,7 @@ public class ExecJobLogController {
|
|||||||
@GetMapping("/tail")
|
@GetMapping("/tail")
|
||||||
@Operation(summary = "查看计划任务日志")
|
@Operation(summary = "查看计划任务日志")
|
||||||
@Parameter(name = "id", description = "id", required = true)
|
@Parameter(name = "id", description = "id", required = true)
|
||||||
@PreAuthorize("@ss.hasPermission('exec:exec-job-log:query')")
|
@PreAuthorize("@ss.hasPermission('asset:exec-job-log:query')")
|
||||||
public String getExecJobLogTailToken(@RequestParam("id") Long id) {
|
public String getExecJobLogTailToken(@RequestParam("id") Long id) {
|
||||||
return execLogService.getExecLogTailToken(id);
|
return execLogService.getExecLogTailToken(id);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ VITE_API_BASE_URL=http://127.0.0.1:9200/orion-visor/api
|
|||||||
# websocket 路径
|
# websocket 路径
|
||||||
VITE_WS_BASE_URL=ws://127.0.0.1:9200/orion-visor/keep-alive
|
VITE_WS_BASE_URL=ws://127.0.0.1:9200/orion-visor/keep-alive
|
||||||
# 版本号
|
# 版本号
|
||||||
VITE_APP_VERSION=2.3.2
|
VITE_APP_VERSION=2.3.3
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ VITE_API_BASE_URL=/orion-visor/api
|
|||||||
# websocket 路径
|
# websocket 路径
|
||||||
VITE_WS_BASE_URL=/orion-visor/keep-alive
|
VITE_WS_BASE_URL=/orion-visor/keep-alive
|
||||||
# 版本号
|
# 版本号
|
||||||
VITE_APP_VERSION=2.3.2
|
VITE_APP_VERSION=2.3.3
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "orion-visor-ui",
|
"name": "orion-visor-ui",
|
||||||
"description": "Orion Visor UI",
|
"description": "Orion Visor UI",
|
||||||
"version": "2.3.2",
|
"version": "2.3.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"author": "Jiahang Li",
|
"author": "Jiahang Li",
|
||||||
"license": "Apache 2.0",
|
"license": "Apache 2.0",
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -22,7 +22,7 @@
|
|||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>2.3.2</revision>
|
<revision>2.3.3</revision>
|
||||||
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
<maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
|
<maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
|
||||||
|
|||||||
Reference in New Issue
Block a user