-
Notifications
You must be signed in to change notification settings - Fork 2
/
task.json
94 lines (94 loc) · 2.31 KB
/
task.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"atomCode" : "mysqlservice",
"execution" : {
"language" : "java",
"minimumVersion" : "1.8",
"demands" : [ ],
"target" : "java -jar ATOM_CODE-jar-with-dependencies.jar"
},
"input" : {
"imageName" : {
"label" : "MYSQL镜像",
"default" : "mysql:5.7",
"placeholder" : "请输入镜像信息",
"type" : "selector",
"desc" : "镜像",
"required" : true,
"disabled" : false,
"hidden" : false,
"isSensitive" : false,
"options": [
{
"id": "mysql:5.7",
"name": "mysql:5.7",
"desc": "",
"disabled": true
},
{
"id": "mysql:5",
"name": "mysql:5",
"desc": "",
"disabled": true
},
{
"id": "mysql:8",
"name": "mysql:8",
"desc": "",
"disabled": true
}
]
},
"port" : {
"label" : "MYSQL登录端口",
"default" : "3306",
"placeholder" : "请输入端口信息",
"type" : "vuex-input",
"desc" : "登录端口默认3306",
"required" : true,
"disabled" : true,
"hidden" : false,
"isSensitive" : false
},
"mysqlPw" : {
"label" : "MYSQL登录密码",
"default" : "",
"placeholder" : "请输入密码信息",
"type" : "vuex-input",
"inputType": "password",
"desc" : "登录密码",
"required" : true,
"disabled" : false,
"hidden" : false,
"isSensitive" : true
},
"tipsLabel" : {
"label" : "",
"tipStr" : "下方输入框可以输出mysql命令。例如:CREATE DATABASE IF NOT EXISTS `test_mysql` DEFAULT CHARACTER SET utf8mb4;<br>使用mysql服务示例参考帮忙文档。",
"type" : "tips"
},
"initCmd" : {
"label" : "初始化脚本",
"default" : "",
"placeholder" : "",
"type" : "atom-ace-editor",
"lang": "sh",
"desc" : "MYSQL初始化脚本",
"required" : false,
"disabled" : false,
"hidden" : false,
"isSensitive" : false
}
},
"output" : {
"MYSQL_IP" : {
"description" : "MYSQL服务IP",
"type" : "string",
"isSensitive" : false
},
"MYSQL_PORT" : {
"description" : "MYSQL服务端口",
"type" : "string",
"isSensitive" : false
}
}
}