14
14
" Payara"
15
15
],
16
16
"engines" : {
17
- "vscode" : " ^1.40 .0"
17
+ "vscode" : " ^1.22 .0"
18
18
},
19
19
"categories" : [
20
20
" Other"
21
21
],
22
22
"activationEvents" : [
23
23
" onCommand:payara.server.add" ,
24
- " onCommand:payara.server.remove" ,
25
- " onCommand:payara.server.rename" ,
26
24
" onCommand:payara.server.refresh" ,
25
+ " onCommand:payara.server.start" ,
26
+ " onCommand:payara.server.start.debug" ,
27
+ " onCommand:payara.server.restart" ,
28
+ " onCommand:payara.server.stop" ,
29
+ " onCommand:payara.server.rename" ,
30
+ " onCommand:payara.server.remove" ,
31
+ " onCommand:payara.server.console.open" ,
32
+ " onCommand:payara.server.log.open" ,
33
+ " onCommand:payara.server.config.open" ,
27
34
" onView:payaraServerExplorer" ,
28
35
" onView:payaraServer"
29
36
],
35
42
"title" : " Add Payara Server" ,
36
43
"category" : " Payara" ,
37
44
"icon" : {
38
- "light" : " resources/light/add.svg" ,
39
- "dark" : " resources/dark/add.svg"
45
+ "light" : " resources/theme/ light/add.svg" ,
46
+ "dark" : " resources/theme/ dark/add.svg"
40
47
}
41
48
},
42
49
{
43
- "command" : " payara.server.remove" ,
44
- "title" : " Remove Payara Server" ,
50
+ "command" : " payara.server.refresh" ,
51
+ "title" : " Refresh Payara Servers" ,
52
+ "category" : " Payara" ,
53
+ "icon" : {
54
+ "light" : " resources/theme/light/refresh.svg" ,
55
+ "dark" : " resources/theme/dark/refresh.svg"
56
+ }
57
+ },
58
+ {
59
+ "command" : " payara.server.start" ,
60
+ "title" : " Start Payara Server" ,
61
+ "category" : " Payara"
62
+ },
63
+ {
64
+ "command" : " payara.server.start.debug" ,
65
+ "title" : " Start in Debug Mode" ,
66
+ "category" : " Payara"
67
+ },
68
+ {
69
+ "command" : " payara.server.restart" ,
70
+ "title" : " Restart Payara Server" ,
71
+ "category" : " Payara"
72
+ },
73
+ {
74
+ "command" : " payara.server.stop" ,
75
+ "title" : " Stop Payara Server" ,
45
76
"category" : " Payara"
46
77
},
47
78
{
50
81
"category" : " Payara"
51
82
},
52
83
{
53
- "command" : " payara.server.refresh" ,
54
- "title" : " Refresh Payara Servers" ,
55
- "category" : " Payara" ,
56
- "icon" : {
57
- "light" : " resources/light/refresh.svg" ,
58
- "dark" : " resources/dark/refresh.svg"
59
- }
84
+ "command" : " payara.server.remove" ,
85
+ "title" : " Remove Payara Server" ,
86
+ "category" : " Payara"
60
87
},
61
88
{
62
- "command" : " payara.server.remove.context" ,
63
- "title" : " Remove"
89
+ "command" : " payara.server.console.open" ,
90
+ "title" : " View Domain Admin Console" ,
91
+ "category" : " Payara"
92
+ },
93
+ {
94
+ "command" : " payara.server.log.open" ,
95
+ "title" : " View Domain Server Log" ,
96
+ "category" : " Payara"
97
+ },
98
+ {
99
+ "command" : " payara.server.config.open" ,
100
+ "title" : " View Domain Server Config" ,
101
+ "category" : " Payara"
102
+ },
103
+ {
104
+ "command" : " payara.server.start.context" ,
105
+ "title" : " Start"
106
+ },
107
+ {
108
+ "command" : " payara.server.start.debug.context" ,
109
+ "title" : " Start in Debug Mode"
110
+ },
111
+ {
112
+ "command" : " payara.server.restart.context" ,
113
+ "title" : " Restart"
114
+ },
115
+ {
116
+ "command" : " payara.server.stop.context" ,
117
+ "title" : " Stop"
64
118
},
65
119
{
66
120
"command" : " payara.server.rename.context" ,
67
121
"title" : " Rename"
122
+ },
123
+ {
124
+ "command" : " payara.server.remove.context" ,
125
+ "title" : " Remove"
126
+ },
127
+ {
128
+ "command" : " payara.server.console.open.context" ,
129
+ "title" : " View Domain Admin Console"
130
+ },
131
+ {
132
+ "command" : " payara.server.log.open.context" ,
133
+ "title" : " View Domain Server Log"
134
+ },
135
+ {
136
+ "command" : " payara.server.config.open.context" ,
137
+ "title" : " View Domain Server Config"
68
138
}
69
139
],
70
140
"views" : {
104
174
}
105
175
],
106
176
"commandPalette" : [
177
+ {
178
+ "command" : " payara.server.start.context" ,
179
+ "when" : " never"
180
+ },
181
+ {
182
+ "command" : " payara.server.start.debug.context" ,
183
+ "when" : " never"
184
+ },
185
+ {
186
+ "command" : " payara.server.restart.context" ,
187
+ "when" : " never"
188
+ },
189
+ {
190
+ "command" : " payara.server.stop.context" ,
191
+ "when" : " never"
192
+ },
107
193
{
108
194
"command" : " payara.server.remove.context" ,
109
195
"when" : " never"
110
196
},
111
197
{
112
198
"command" : " payara.server.rename.context" ,
113
199
"when" : " never"
200
+ },
201
+ {
202
+ "command" : " payara.server.console.open.context" ,
203
+ "when" : " never"
204
+ },
205
+ {
206
+ "command" : " payara.server.log.open.context" ,
207
+ "when" : " never"
208
+ },
209
+ {
210
+ "command" : " payara.server.config.open.context" ,
211
+ "when" : " never"
114
212
}
115
213
],
116
214
"view/item/context" : [
117
215
{
118
- "command" : " payara.server.remove.context" ,
119
- "when" : " view == payaraServerExplorer || view == payaraServer"
216
+ "command" : " payara.server.start.context" ,
217
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
218
+ "group" : " manage@0"
219
+ },
220
+ {
221
+ "command" : " payara.server.start.debug.context" ,
222
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
223
+ "group" : " manage@1"
224
+ },
225
+ {
226
+ "command" : " payara.server.restart.context" ,
227
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
228
+ "group" : " manage@2"
229
+ },
230
+ {
231
+ "command" : " payara.server.stop.context" ,
232
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
233
+ "group" : " manage@3"
120
234
},
121
235
{
122
236
"command" : " payara.server.rename.context" ,
123
- "when" : " view == payaraServerExplorer || view == payaraServer"
237
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
238
+ "group" : " update@4"
239
+ },
240
+ {
241
+ "command" : " payara.server.remove.context" ,
242
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
243
+ "group" : " update@5"
244
+ },
245
+ {
246
+ "command" : " payara.server.console.open.context" ,
247
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
248
+ "group" : " view@6"
249
+ },
250
+ {
251
+ "command" : " payara.server.log.open.context" ,
252
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
253
+ "group" : " view@7"
254
+ },
255
+ {
256
+ "command" : " payara.server.config.open.context" ,
257
+ "when" : " view == payaraServerExplorer || view == payaraServer" ,
258
+ "group" : " view@8"
124
259
}
125
260
]
126
261
}
133
268
"test" : " node ./out/test/runTest.js"
134
269
},
135
270
"dependencies" : {
271
+ "@types/tail" : " ^2.0.0" ,
272
+ "@types/xml2js" : " ^0.4.5" ,
136
273
"fs-extra" : " ^8.1.0" ,
137
- "lodash" : " ^4.17.15"
274
+ "lodash" : " ^4.17.15" ,
275
+ "open" : " ^6.2.1 " ,
276
+ "request" : " ^2.88.0" ,
277
+ "sync-request" : " ^6.1.0" ,
278
+ "tail" : " ^2.0.3" ,
279
+ "xml2js" : " ^0.4.23"
138
280
},
139
281
"devDependencies" : {
140
282
"@types/glob" : " ^7.1.1" ,
147
289
"mocha" : " ^6.2.2" ,
148
290
"typescript" : " ^3.6.4" ,
149
291
"tslint" : " ^5.20.0" ,
150
- "vscode-test" : " ^1.2.2"
292
+ "vscode-test" : " ^1.2.2" ,
293
+ "os" : " ^0.1.1"
151
294
}
152
- }
295
+ }
0 commit comments