-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 4.62 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
{
"name": "mxscript",
"displayName": "MxScript",
"description": "Script Manager for IBM Maximo",
"version": "0.6.7",
"engines": {
"vscode": "^1.41.0"
},
"publisher": "Rana",
"repository": {
"type": "git",
"url": "https://github.com/ahmednrana/mxscript.git"
},
"icon": "images/icon.png",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:mxscript.upload",
"onCommand:mxscript.update",
"onCommand:mxscript.compare",
"onCommand:mxscript.downloadall"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "mxscript.upload",
"title": "Upload Script to Server",
"category": "Maximo Scripts"
},
{
"command": "mxscript.update",
"title": "Update Script from Server",
"category": "Maximo Scripts"
},
{
"command": "mxscript.compare",
"title": "Compare Script with Server",
"category": "Maximo Scripts"
},
{
"command": "mxscript.downloadall",
"title": "Download All Scripts from Server",
"category": "Maximo Scripts"
}
],
"configuration": {
"type": "object",
"title": "Maximo configuration",
"properties": {
"mxscript.serverSettings.hostname": {
"type": "string",
"description": "Hostname / IP of Maximo server (e.g. 10.10.12.12 or www.xyz.com)"
},
"mxscript.serverSettings.port": {
"type": "number",
"description": "Maximo port"
},
"mxscript.authentication.username": {
"type": "string",
"default": "maxadmin",
"description": "Username for Maximo Authentication"
},
"mxscript.authentication.password": {
"type": "string",
"default": "maxadmin",
"description": "Password for Maximo Authentication"
},
"mxscript.authentication.apikey": {
"type": "string",
"description": "API key Maximo Authentication"
},
"mxscript.authentication.authenticationType": {
"type": "string",
"enum": [
"internal",
"ldap",
"apikey"
],
"enumDescriptions": [
"Maximo's internal authentication",
"LDAP based authentication using applciation server",
"API key"
],
"default": "internal",
"description": "Type of Authentication"
},
"mxscript.serverSettings.objectStructure": {
"type": "string",
"default": "MXSCRIPT",
"description": "Object Structure to be used scripts uploading / downloading"
},
"mxscript.serverSettings.httpProtocol": {
"type": "string",
"enum": [
"http",
"https"
],
"enumDescriptions": [
"Http",
"Https Secure Protocol"
],
"default": "http",
"description": "Http protocol (http or https)"
},
"mxscript.scriptSettings.createPythonFileForJythonScripts": {
"type": "boolean",
"default": true,
"markdownDescription": "Create Jython script in Maximo even if the file in editor is .py"
},
"mxscript.scriptSettings.logLevel": {
"enum": [
"DEBUG",
"INFO",
"WARN",
"ERROR",
"FATAL"
],
"enumDescriptions": [
"Logs messages that are useful in debugging",
"Logs informational messages",
"Logs messages indicating harmful situations in functionality",
"Logs message indicating errors in application functionality",
"Logs very severe errors messages"
],
"type": "string",
"description": "The log level tp set with scripts when creating / updating them"
},
"mxscript.scriptSettings.ignoresslerrors": {
"type": "boolean",
"default": false,
"markdownDescription": "Ignore ssl errors"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^3.3.1",
"vscode": "^1.1.28",
"tslint": "^5.12.1",
"@types/node": "^10.12.21",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"@types/node-fetch": "^2.5.5",
"node-fetch": "^2.6.7",
"xml2js": "^0.4.23"
}
}