This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
411 lines (411 loc) · 12.1 KB
/
package.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
{
"name": "vscode-camelk",
"displayName": "[Deprecated] Tooling for Apache Camel K by Red Hat",
"description": "[Deprecated] VS Code support for Apache Camel K functionality",
"license": "Apache-2.0",
"version": "0.0.42",
"publisher": "redhat",
"icon": "icons/icon128.png",
"preview": true,
"repository": {
"type": "git",
"url": "https://github.com/camel-tooling/vscode-camelk"
},
"bugs": {
"url": "https://github.com/camel-tooling/vscode-camelk/issues"
},
"author": "Brian Fitzpatrick <[email protected]> (http://redhat.com)",
"maintainers": [
{
"name": "Brian Fitzpatrick",
"email": "[email protected]",
"url": "http://redhat.com"
}
],
"homepage": "https://github.com/camel-tooling/vscode-camelk",
"keywords": [
"Camel",
"Camel K",
"Camel-K",
"camelk",
"kamel",
"Tool",
"Camel Yaml"
],
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/src/extension.js",
"contributes": {
"configuration": [
{
"title": "Apache Camel K Tooling Extension Settings",
"properties": {
"camelk.integrations.showStatusBarMessages": {
"type": "boolean",
"default": true,
"description": "Show Status Bar messages",
"scope": "window"
},
"camelk.namespace": {
"type": "string",
"description": "Default namespace to use for all Apache Camel K operations. If blank, uses system default",
"scope": "window"
},
"camelk.operatorId": {
"type": "string",
"description": "Operator id to use for all Apache Camel K operations. It requires Camel K 1.10+",
"scope": "window"
},
"camelk.tools": {
"type": "object",
"description": "CLI locations",
"properties": {
"camelk.tools.kamel-path": {
"type": "string",
"description": "File path to a kamel binary."
}
}
},
"camelk.integrations.closeLogViewWhenIntegrationRemoved": {
"type": "boolean",
"default": true,
"description": "Close log view when removing its running integration",
"scope": "window"
},
"camelk.integrations.runtimeVersion": {
"type": "string",
"description": "Default Apache Camel K Runtime Version (for example 1.3.2)",
"scope": "window"
},
"camelk.integrations.autoUpgrade": {
"type": "boolean",
"default": false,
"description": "Automatically upgrade Apache Camel K Runtime CLI when new CLI version is released",
"scope": "window"
},
"vs-kubernetes": {
"type": "object",
"description": "CLI locations",
"properties": {
"camelk.tools.kubectl-path": {
"type": "string",
"description": "File path to a kubectl binary."
}
}
},
"camelk.yaml.schema": {
"type": "string",
"default": "https://raw.githubusercontent.com/apache/camel/camel-4.0.0/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camel-yaml-dsl.json",
"description": "Yaml Schema applied when Camel K modeline is set. (I.e. file starting with '# camel-k: ')"
},
"redhat.telemetry.enabled": {
"type": "boolean",
"default": null,
"markdownDescription": "Enable usage data and errors to be sent to Red Hat servers. Read our [privacy statement](https://developers.redhat.com/article/tool-data-collection).",
"tags": [
"telemetry"
],
"scope": "window"
}
}
}
],
"commands": [
{
"command": "camelk.startintegration",
"title": "Deploy Integration with Apache Camel K",
"icon": "$(rocket)"
},
{
"command": "camelk.integrations.refresh",
"title": "Refresh Apache Camel K Integration List",
"icon": {
"dark": "resources/dark/refresh.svg",
"light": "resources/light/refresh.svg"
}
},
{
"command": "camelk.integrations.remove",
"title": "Remove Apache Camel K Integration"
},
{
"command": "camelk.integrations.log",
"title": "Follow log for running Apache Camel K Integration"
},
{
"command": "camelk.integrations.createconfigmapfromfile",
"title": "Create Kubernetes Config Map From File"
},
{
"command": "camelk.integrations.createconfigmapfromfolder",
"title": "Create Kubernetes Config Map From all Files in Folder"
},
{
"command": "camelk.integrations.createsecretfromfile",
"title": "Create Kubernetes Secret From File"
},
{
"command": "camelk.integrations.createsecretfromfolder",
"title": "Create Kubernetes Secret From all Files in Folder"
},
{
"command": "camelk.integrations.openOperatorLog",
"title": "Open Apache Camel K Operator Log",
"icon": {
"dark": "resources/dark/note.svg",
"light": "resources/light/note.svg"
}
},
{
"command": "camelk.classpath.refresh",
"shortTitle": "Refresh local Java classpath for Camel K standalone file",
"title": "Refresh local Java classpath for Camel K standalone file based on current editor. It requires jbang and a valid compilable file.",
"enablement": "editorIsOpen && editorLangId == java"
},
{
"command": "camelk.integrations.debug.java",
"title": "Start Java debugger on Camel K integration"
}
],
"menus": {
"editor/title": [
{
"command": "camelk.startintegration",
"when": "resourceExtname =~ /\\.(groovy|java|xml|js|kts|yaml|yml)$/",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "camelk.startintegration",
"when": "resourceExtname =~ /\\.(groovy|java|xml|js|kts|yaml|yml)$/",
"group": "camelk.group"
},
{
"command": "camelk.integrations.createconfigmapfromfile",
"when": "resourceExtname =~ /\\.(properties)$/",
"group": "camelk.group"
},
{
"command": "camelk.integrations.createconfigmapfromfolder",
"when": "explorerResourceIsFolder",
"group": "camelk.group"
},
{
"command": "camelk.integrations.createsecretfromfile",
"when": "resourceExtname =~ /\\.(properties)$/",
"group": "camelk.group"
},
{
"command": "camelk.integrations.createsecretfromfolder",
"when": "explorerResourceIsFolder",
"group": "camelk.group"
}
],
"view/title": [
{
"command": "camelk.integrations.refresh",
"group": "navigation",
"when": "view == camelk.integrations"
},
{
"command": "camelk.integrations.openOperatorLog",
"group": "navigation",
"when": "view == camelk.integrations"
}
],
"view/item/context": [
{
"command": "camelk.integrations.remove",
"group": "1_actiongroup",
"when": "view == camelk.integrations"
},
{
"command": "camelk.integrations.log",
"group": "2_loggroup@1",
"when": "view == camelk.integrations"
},
{
"command": "camelk.integrations.debug.java",
"group": "3_debuggroup@2",
"when": "view == camelk.integrations"
}
],
"commandPalette": [
{
"command": "camelk.integrations.debug.java",
"when": "never"
}
]
},
"taskDefinitions": [
{
"type": "camel-k",
"required": [
"file"
],
"properties": {
"compression": {
"type": "boolean",
"description": "Enable store source as a compressed binary blob"
},
"configmap": {
"type": "string",
"description": "Configmap key. The configmap corresponding to the key is added to the integration as runtime configuration."
},
"dependencies": {
"type": "array",
"description": "Pass additional explicit dependencies with format such as mvn:com.google.guava:guava:26.0-jre or camel-mina2",
"uniqueItems": true
},
"dev": {
"type": "boolean",
"description": "If you want to iterate quickly on an integration to have fast feedback on the code you’re writing, you can use by running it in dev mode."
},
"environmentVariables": {
"type": "array",
"description": "List of environment variables in the integration container. E.g \"MY_VAR=my-value\"",
"uniqueItems": true
},
"file": {
"type": "string",
"description": "The file defining the integration to deploy."
},
"profile": {
"type": "string",
"description": "Trait profile used for deployment"
},
"properties": {
"type": "array",
"description": "List of integration properties.",
"format": "<akey>=<avalue>",
"uniqueItems": true
},
"secret": {
"type": "string",
"description": "Secret key. The secret corresponding to the key is added to the integration as runtime configuration."
},
"traits": {
"type": "array",
"description": "Traits configuration, more details here https://camel.apache.org/camel-k/latest/traits/traits.html",
"uniqueItems": true
},
"volumes": {
"type": "array",
"description": "Mount a volume into the integration container. The format of volume flag value is similar to that of the docker CLI. But instead of specifying a host path to mount from, you reference the name of a PersistentVolumeClaim that you have already configured within the cluster. E.g \"pvcname:/container/path\"",
"uniqueItems": true
}
}
},
{
"type": "camel-k-debug",
"required": [
"integrationName"
],
"properties": {
"integrationName": {
"type": "string",
"description": "The name of the integration to debug. The integration must be deployed. The name is displayed in the Apache Camel K Integrations tree view."
},
"port": {
"type": "integer",
"description": "Local port to use for port-forwarding (default 5005)",
"default": 5005
},
"remotePort": {
"type": "integer",
"description": "Remote port to use for port-forwarding (default 5005)",
"default": 5005
},
"suspend": {
"type": "boolean",
"description": "Suspend the integration on startup, to let the debugger attach from the beginning (default true)",
"default": true
}
}
}
],
"views": {
"explorer": [
{
"id": "camelk.integrations",
"name": "Apache Camel K Integrations"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run clean && npm run compile",
"compile": "tsc -p ./ && npm run copy-sanitize && npm run lint",
"clean": "rm -rf out || rmdir out /s /q",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./out/src/test/runTests.js",
"copy-sanitize": "copyfiles -u 1 src/test/suite/sanitize.go.saved out/src",
"preui-test": "npm run compile",
"ui-test": "node --unhandled-rejections=warn-with-error-code out/src/ui-test/uitest_runner.js",
"lint": "eslint src --ext .ts"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^22.1.0",
"@types/node-fetch": "^2.6.4",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@types/tar": "^6.1.12",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vscode/test-electron": "^2.3.9",
"ansi-regex": "^5.0.1",
"async-wait-until": "^2.0.12",
"chai": "^4.4.1",
"copyfiles": "^2.4.1",
"decache": "^4.6.2",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"glob": "^10.4.2",
"mocha": "^10.4.0",
"mocha-jenkins-reporter": "^0.4.8",
"nock": "^13.5.4",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
"typescript": "^5.5.4",
"vscode-uitests-tooling": "^4.1.7"
},
"extensionDependencies": [
"ms-kubernetes-tools.vscode-kubernetes-tools",
"redhat.vscode-apache-camel",
"redhat.vscode-yaml",
"redhat.java",
"vscjava.vscode-java-debug"
],
"dependencies": {
"@redhat-developer/vscode-redhat-telemetry": "^0.8.0",
"@types/detect-port": "^1.3.5",
"@types/request-promise": "^4.1.51",
"@types/shelljs": "^0.8.15",
"@types/tmp": "^0.2.6",
"child_process": "^1.0.2",
"cross-fetch": "^4.0.0",
"detect-port": "^1.6.1",
"jsonc-parser": "^3.3.1",
"mkdirp": "^3.0.1",
"node-fetch": "^2.7.0",
"path": "^0.12.7",
"shelljs": "^0.8.5",
"strip-ansi": "^6.0.1",
"tar": "^6.2.1",
"tmp": "^0.2.3",
"valid-filename": "^3.1.0",
"vscode-kubernetes-tools-api": "^1.3.0"
}
}