Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.4.8 dev #2467

Open
wants to merge 30 commits into
base: v2.4.x
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f965663
minor: auto push 2.4.7 release log
ZhuoZhuoCrayon Oct 22, 2024
7f47072
minor: start new version 2.4.8
ZhuoZhuoCrayon Oct 22, 2024
8de7edd
feat: 安装插件中原子执行动作顺序优化 (closed #2438)
Huayeaaa Oct 18, 2024
156a90b
fix: 修复host_search接口业务拓扑丢失 (closed #2449)
Huayeaaa Sep 29, 2024
5730fa1
feat: arm架构安装proxy优化 (closed #2472)
chalice-1831 Oct 17, 2024
f14f01b
feat: arm架构安装proxy优化 (closed #2472)
wyyalt Nov 1, 2024
1305056
feat: 优化订阅任务按顺序执行而非抛错 (closed #2447)
Huayeaaa Nov 13, 2024
ce731fc
fix: 修复主机信息未更新成功导致沿用旧Agent-ID问题 (closed #2451)
Huayeaaa Oct 18, 2024
d06a615
fix: 修复proxy主机转移模块后变成pagent问题 (closed #2474)
Huayeaaa Oct 28, 2024
847a5d7
feat: agent重装优化
hyunfa Nov 18, 2024
3111219
feat: tlinux4系统 proxy安装脚本及gsectl适配 (closed #2483)
Huayeaaa Nov 1, 2024
f2f2ada
fix: 修复Windows下解压插件进程占用问题 (closed #2486)
Huayeaaa Nov 8, 2024
0b95ce2
feat: 插件部署-插件包参数优化 (closed #2461)
Huayeaaa Oct 18, 2024
82432f4
feat: 替换表单
hyunfa Sep 5, 2024
c9e28ad
feat: 插件operate接口支持主机差量同步 (closed #2510)
Huayeaaa Dec 5, 2024
f6bd1c6
feat: 安装策略修改
hyunfa Dec 13, 2024
d83db27
feat: 切换云上API (closed #2515)
wyyalt Dec 17, 2024
d53080e
fix: 修复差量同步主机忽略内网IP变更场景 (closed #2504)
Huayeaaa Dec 5, 2024
2e22e19
fix: 适配编排更新订阅任务兜底 (closed #2506)
Huayeaaa Dec 11, 2024
d4edc61
feat: 上云环境针对0区域限制新增主机校验提到API层级 (closed #2501)
jpyoung3 Dec 9, 2024
089d033
feat: 向cmdb同步云区域服务商 (closed #2386)
Huayeaaa Aug 26, 2024
f3bc640
fix: 修复读取k8s大整型变成浮点数问题及单测修复 (closed #2521)
Huayeaaa Dec 20, 2024
4f86151
fix: 修复article高度设置引起的外部样式污染问题修复
hyunfa Dec 24, 2024
2d566ca
feat: gse 接口调用分片优化 (closed #2520)
ping15 Dec 20, 2024
b5814a6
feat: 创建订阅支持开启订阅巡检 (closed #2525)
Huayeaaa Dec 24, 2024
1525c9a
fix: 修复同步云服务商CC不存在某个云区域问题 (closed #2529)
Huayeaaa Dec 26, 2024
f7c3d8d
fix: 非centos或debian等操作系统下安装插件时初始化脚本可能存在报错 (closed #2470)
chalice-1831 Oct 23, 2024
81b1d3c
fix: 修复已禁用插件仍能通过监控平台的相关订阅步骤触发下发动作问题(closed #2313)
chalice-1831 Jul 3, 2024
afa880c
feat: 安装预设插件锁定版本 (closed #2482)
jpyoung3 Dec 13, 2024
ad70bb8
feat: 安装预设插件锁定版本 (closed #2482)
jpyoung3 Dec 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: 插件部署-插件包参数优化 (closed #2461)
  • Loading branch information
Huayeaaa authored and wyyalt committed Dec 13, 2024
commit 0b95ce230f2d45e50cef2b1bb0008c8583093a03
3 changes: 3 additions & 0 deletions apps/backend/plugin/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ class VariableNodeSerializer(serializers.Serializer):
items = serializers.DictField(required=False, label=_("子变量"))
default = LiteralField(required=False, label=_("默认值"))
depth = serializers.IntegerField(label=_("嵌套深度"), max_value=5)
ui_component = serializers.DictField(required=False, label=_("UI组件"))
description = serializers.CharField(required=False, label=_("tips描述说明"), max_length=128)
value = serializers.CharField(required=False, label=_("下拉列表值"), max_length=128)

@classmethod
def parse_default(cls, default_value: Union[str, bool, int, float], variable_type: str):
Expand Down