ddm-plugin-dubbo-support 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/i18n.js +405 -0
- package/dist/index.js +1421 -1844
- package/dist/renderer.js +1004 -1633
- package/package.json +7 -7
package/dist/i18n.js
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ var __webpack_modules__ = ([
|
|
3
|
+
/* 0 */,
|
|
4
|
+
/* 1 */
|
|
5
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6
|
+
|
|
7
|
+
var map = {
|
|
8
|
+
"./en-US.js": 2,
|
|
9
|
+
"./zh-CN.js": 3
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
function webpackContext(req) {
|
|
14
|
+
var id = webpackContextResolve(req);
|
|
15
|
+
return __webpack_require__(id);
|
|
16
|
+
}
|
|
17
|
+
function webpackContextResolve(req) {
|
|
18
|
+
if(!__webpack_require__.o(map, req)) {
|
|
19
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
20
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
21
|
+
throw e;
|
|
22
|
+
}
|
|
23
|
+
return map[req];
|
|
24
|
+
}
|
|
25
|
+
webpackContext.keys = function webpackContextKeys() {
|
|
26
|
+
return Object.keys(map);
|
|
27
|
+
};
|
|
28
|
+
webpackContext.resolve = webpackContextResolve;
|
|
29
|
+
module.exports = webpackContext;
|
|
30
|
+
webpackContext.id = 1;
|
|
31
|
+
|
|
32
|
+
/***/ }),
|
|
33
|
+
/* 2 */
|
|
34
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
35
|
+
|
|
36
|
+
"use strict";
|
|
37
|
+
__webpack_require__.r(__webpack_exports__);
|
|
38
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
39
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
40
|
+
/* harmony export */ });
|
|
41
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
42
|
+
settings: {
|
|
43
|
+
title: "Invoker Setting",
|
|
44
|
+
invokerType: "Default Invoker",
|
|
45
|
+
invokerTypeTips: "Before using the Java actuator, install the Java environment first. Java invocation is slower than Telnet invocation, but the information returned by the Java invocation is more complete."
|
|
46
|
+
},
|
|
47
|
+
connect: {
|
|
48
|
+
zookeeper: {
|
|
49
|
+
address: "address",
|
|
50
|
+
sessionTimeout: "timeout",
|
|
51
|
+
aclTips: "Enter the authentication information, for example, test:test"
|
|
52
|
+
},
|
|
53
|
+
nacos: {
|
|
54
|
+
address: "address",
|
|
55
|
+
namespaceId: "namespaceId",
|
|
56
|
+
sessionTimeout: "timeout",
|
|
57
|
+
username: "username",
|
|
58
|
+
password: "password",
|
|
59
|
+
groupName: 'ServiceGroupName',
|
|
60
|
+
groupNameTips: 'Enter the name of the service GROUP. The DEFAULT is DEFAULT GROUP',
|
|
61
|
+
group: 'ConfiguringGroupName',
|
|
62
|
+
groupTips: 'Please enter the configuration group name. The default is dubbo'
|
|
63
|
+
},
|
|
64
|
+
dubboAdmin: {
|
|
65
|
+
address: "address",
|
|
66
|
+
sessionTimeout: "timeout",
|
|
67
|
+
username: "username",
|
|
68
|
+
password: "password"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
dubbo: {
|
|
72
|
+
serviceTab: {
|
|
73
|
+
providerList: "Provider List",
|
|
74
|
+
consumerList: "Consumer List"
|
|
75
|
+
},
|
|
76
|
+
providePage: {
|
|
77
|
+
protocol: "protocol",
|
|
78
|
+
address: "address",
|
|
79
|
+
application: "application",
|
|
80
|
+
version: "version",
|
|
81
|
+
disabled: "disabled",
|
|
82
|
+
methodCount: "methodCount",
|
|
83
|
+
operate: "operate",
|
|
84
|
+
disableTypeMap: {
|
|
85
|
+
service: "service",
|
|
86
|
+
application: "application"
|
|
87
|
+
},
|
|
88
|
+
call: "call",
|
|
89
|
+
callTitle: "call {address}",
|
|
90
|
+
exportExcel: "Export Excel",
|
|
91
|
+
selectExportDirectory: "Selecting an Export Directory",
|
|
92
|
+
exportSuccess: "Export success",
|
|
93
|
+
exportError: "The export fails. Possible cause:{}",
|
|
94
|
+
serviceEnable: "Service Dimension - Enabled",
|
|
95
|
+
serviceDisable: "Service Dimension - Disabled",
|
|
96
|
+
editConfiguration: "Edit the service dynamic configuration"
|
|
97
|
+
},
|
|
98
|
+
consumerPage: {
|
|
99
|
+
ip: "ip",
|
|
100
|
+
application: "application",
|
|
101
|
+
version: "version",
|
|
102
|
+
check: "check",
|
|
103
|
+
enable: "enable",
|
|
104
|
+
disabled: "disabled",
|
|
105
|
+
timeout: "timeout",
|
|
106
|
+
retries: "retries",
|
|
107
|
+
exportExcel: "Export Excel",
|
|
108
|
+
selectExportDirectory: "Selecting an Export Directory",
|
|
109
|
+
exportSuccess: "Export success",
|
|
110
|
+
exportError: "The export fails. Possible cause:{}",
|
|
111
|
+
dubboVersion: "dubboVersion"
|
|
112
|
+
},
|
|
113
|
+
invokePage: {
|
|
114
|
+
serviceName: "serviceName",
|
|
115
|
+
application: "application",
|
|
116
|
+
address: "address",
|
|
117
|
+
generic: "generic",
|
|
118
|
+
version: "version",
|
|
119
|
+
dubboVersion: "Dubbo version",
|
|
120
|
+
jarVersion: "Jar version",
|
|
121
|
+
method: "method",
|
|
122
|
+
operate: "operate",
|
|
123
|
+
call: "call",
|
|
124
|
+
calling: "calling",
|
|
125
|
+
historyParam: "History Parameter",
|
|
126
|
+
generateParam: "Generation Parameter",
|
|
127
|
+
generateCommand: "Generation Command",
|
|
128
|
+
requestParamType: "Request Parameter Type",
|
|
129
|
+
requestParam: "Request Parameter",
|
|
130
|
+
requestParamStrategyTitle: "Parameter generation strategy",
|
|
131
|
+
paramGenerateStrategyDesc: "The history argument of the last successful call is used first, and if not, an attempt is made to generate the argument",
|
|
132
|
+
format: "format",
|
|
133
|
+
responseInfo: "Response",
|
|
134
|
+
historyInvokeParamList: "History call",
|
|
135
|
+
callParamError: "The request parameter format is incorrect",
|
|
136
|
+
callDubboServiceSuccess: "Calling the Dubbo interface succeeded.",
|
|
137
|
+
callDubboServiceFail: "Failed to invoke the Dubbo interface:{e}",
|
|
138
|
+
generateParamError: "Unable to generate parameters! The reason: {error}",
|
|
139
|
+
invokeProgress: "Call in progress",
|
|
140
|
+
cancelInvoke: "Cancel",
|
|
141
|
+
invokeTimeOut: "The call to the Dubbo interface timed out.",
|
|
142
|
+
connectProviderError: "Connecting to the provider server failed!",
|
|
143
|
+
notFoundJDK: "If you need to use the Java caller, install the JDK first",
|
|
144
|
+
callDubboAdminError: "Failed to call dubco-admin, {info}",
|
|
145
|
+
unselectedHistory: "No history parameter is selected",
|
|
146
|
+
notFoundMatedata: "Metadata not found, method parameter type cannot be obtained, please add"
|
|
147
|
+
},
|
|
148
|
+
configurationPage: {
|
|
149
|
+
title: "configuration information",
|
|
150
|
+
save: "save configuration",
|
|
151
|
+
invalidFormat: "Incorrect configuration format",
|
|
152
|
+
saveSuccess: "save successfully"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
/***/ }),
|
|
158
|
+
/* 3 */
|
|
159
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
160
|
+
|
|
161
|
+
"use strict";
|
|
162
|
+
__webpack_require__.r(__webpack_exports__);
|
|
163
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
164
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
165
|
+
/* harmony export */ });
|
|
166
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
167
|
+
settings: {
|
|
168
|
+
title: "执行器设置",
|
|
169
|
+
invokerType: "默认执行器",
|
|
170
|
+
invokerTypeTips: "使用Java执行器时,请先安装Java环境,Java调用相对Telnet执行器较慢,但是Java调用返回的信息更加完整。"
|
|
171
|
+
},
|
|
172
|
+
connect: {
|
|
173
|
+
validateMessage: {
|
|
174
|
+
timeOutNotNull: "超时时间不能为空",
|
|
175
|
+
inputNumber: "请输入数字",
|
|
176
|
+
inputNumberRange: "必须大于10ms",
|
|
177
|
+
inputConnectionAddress: "请输入链接地址"
|
|
178
|
+
},
|
|
179
|
+
zookeeper: {
|
|
180
|
+
address: "链接地址",
|
|
181
|
+
sessionTimeout: "超时时间",
|
|
182
|
+
aclTips: "请输入认证信息, 例如:test:test"
|
|
183
|
+
},
|
|
184
|
+
nacos: {
|
|
185
|
+
address: "链接地址",
|
|
186
|
+
namespaceId: "命名空间ID",
|
|
187
|
+
sessionTimeout: "超时时间",
|
|
188
|
+
username: "用户名",
|
|
189
|
+
password: "密码",
|
|
190
|
+
groupName: '服务分组名称',
|
|
191
|
+
groupNameTips: '请输入服务分组名称,默认为 DEFAULT_GROUP',
|
|
192
|
+
group: '配置分组名称',
|
|
193
|
+
groupTips: '请输入配置分组名称,默认为 dubbo'
|
|
194
|
+
},
|
|
195
|
+
dubboAdmin: {
|
|
196
|
+
address: "链接地址",
|
|
197
|
+
sessionTimeout: "超时时间",
|
|
198
|
+
username: "用户名",
|
|
199
|
+
password: "密码"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
dubbo: {
|
|
203
|
+
serviceTab: {
|
|
204
|
+
providerList: "提供者列表",
|
|
205
|
+
consumerList: "消费者列表"
|
|
206
|
+
},
|
|
207
|
+
providePage: {
|
|
208
|
+
protocol: "协议",
|
|
209
|
+
address: "地址",
|
|
210
|
+
application: "所属应用",
|
|
211
|
+
version: "版本号",
|
|
212
|
+
disabled: "禁用",
|
|
213
|
+
methodCount: "方法数量",
|
|
214
|
+
operate: "操作",
|
|
215
|
+
disableTypeMap: {
|
|
216
|
+
service: "服务维度",
|
|
217
|
+
application: "应用维度"
|
|
218
|
+
},
|
|
219
|
+
call: "调用",
|
|
220
|
+
callTitle: "调用 {address}",
|
|
221
|
+
exportExcel: "导出Excel",
|
|
222
|
+
selectExportDirectory: "选择导出目录",
|
|
223
|
+
exportSuccess: "导出成功",
|
|
224
|
+
exportError: "导出失败, 原因:{}",
|
|
225
|
+
serviceEnable: "服务维度-启用",
|
|
226
|
+
serviceDisable: "服务维度-禁用",
|
|
227
|
+
editConfiguration: "编辑服务动态配置"
|
|
228
|
+
},
|
|
229
|
+
consumerPage: {
|
|
230
|
+
ip: "地址",
|
|
231
|
+
application: "所属应用",
|
|
232
|
+
version: "版本号",
|
|
233
|
+
check: "检查",
|
|
234
|
+
enable: "是否可用",
|
|
235
|
+
disabled: "禁用",
|
|
236
|
+
timeout: "超时",
|
|
237
|
+
retries: "重试",
|
|
238
|
+
exportExcel: "导出Excel",
|
|
239
|
+
selectExportDirectory: "选择导出目录",
|
|
240
|
+
exportSuccess: "导出成功",
|
|
241
|
+
exportError: "导出失败, 原因:{}",
|
|
242
|
+
dubboVersion: "Dubbo版本"
|
|
243
|
+
},
|
|
244
|
+
invokePage: {
|
|
245
|
+
serviceName: "接口",
|
|
246
|
+
application: "应用",
|
|
247
|
+
address: "地址",
|
|
248
|
+
generic: "泛化",
|
|
249
|
+
version: "版本",
|
|
250
|
+
dubboVersion: "Dubbo 版本",
|
|
251
|
+
jarVersion: "Jar 版本",
|
|
252
|
+
method: "方法",
|
|
253
|
+
operate: "操作",
|
|
254
|
+
call: "调用",
|
|
255
|
+
calling: "调用中",
|
|
256
|
+
historyParam: "历史参数",
|
|
257
|
+
generateParam: "生成参数",
|
|
258
|
+
generateCommand: "生成命令",
|
|
259
|
+
requestParamType: "请求参数类型",
|
|
260
|
+
requestParam: "请求参数",
|
|
261
|
+
requestParamStrategyTitle: "参数生成策略",
|
|
262
|
+
paramGenerateStrategyDesc: "首先会使用上次调用成功的历史参数,如果没有,会尝试生成参数",
|
|
263
|
+
format: "格式化",
|
|
264
|
+
responseInfo: "响应",
|
|
265
|
+
historyInvokeParamList: "历史调用参数",
|
|
266
|
+
callParamError: "请求参数格式有误",
|
|
267
|
+
callDubboServiceSuccess: "调用dubbo接口成功",
|
|
268
|
+
callDubboServiceFail: "调用dubbo接口失败,原因:{e}",
|
|
269
|
+
generateParamError: "无法生成参数!原因:{error}",
|
|
270
|
+
invokeProgress: "正在调用..",
|
|
271
|
+
cancelInvoke: "取消调用",
|
|
272
|
+
invokeTimeOut: "调用Dubbo接口超时",
|
|
273
|
+
connectProviderError: "连接提供者服务器失败!",
|
|
274
|
+
notFoundJDK: "如果需要使用Java调用器,请先安装JDK",
|
|
275
|
+
callDubboAdminError: "调用dubbo-admin失败, {info}",
|
|
276
|
+
unselectedHistory: "未选择历史参数",
|
|
277
|
+
notFoundMatedata: "未找到元数据,无法获取到方法参数类型,请补充"
|
|
278
|
+
},
|
|
279
|
+
configurationPage: {
|
|
280
|
+
title: "配置信息",
|
|
281
|
+
save: "保存配置",
|
|
282
|
+
invalidFormat: "配置格式错误",
|
|
283
|
+
saveSuccess: "保存成功"
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
|
|
288
|
+
/***/ }),
|
|
289
|
+
/* 4 */
|
|
290
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
291
|
+
|
|
292
|
+
var map = {
|
|
293
|
+
"./en-US.js": 2,
|
|
294
|
+
"./zh-CN.js": 3
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
function webpackContext(req) {
|
|
299
|
+
var id = webpackContextResolve(req);
|
|
300
|
+
return __webpack_require__(id);
|
|
301
|
+
}
|
|
302
|
+
function webpackContextResolve(req) {
|
|
303
|
+
if(!__webpack_require__.o(map, req)) {
|
|
304
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
305
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
306
|
+
throw e;
|
|
307
|
+
}
|
|
308
|
+
return map[req];
|
|
309
|
+
}
|
|
310
|
+
webpackContext.keys = function webpackContextKeys() {
|
|
311
|
+
return Object.keys(map);
|
|
312
|
+
};
|
|
313
|
+
webpackContext.resolve = webpackContextResolve;
|
|
314
|
+
module.exports = webpackContext;
|
|
315
|
+
webpackContext.id = 4;
|
|
316
|
+
|
|
317
|
+
/***/ })
|
|
318
|
+
/******/ ]);
|
|
319
|
+
/************************************************************************/
|
|
320
|
+
/******/ // The module cache
|
|
321
|
+
/******/ var __webpack_module_cache__ = {};
|
|
322
|
+
/******/
|
|
323
|
+
/******/ // The require function
|
|
324
|
+
/******/ function __webpack_require__(moduleId) {
|
|
325
|
+
/******/ // Check if module is in cache
|
|
326
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
327
|
+
/******/ if (cachedModule !== undefined) {
|
|
328
|
+
/******/ return cachedModule.exports;
|
|
329
|
+
/******/ }
|
|
330
|
+
/******/ // Create a new module (and put it into the cache)
|
|
331
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
332
|
+
/******/ // no module.id needed
|
|
333
|
+
/******/ // no module.loaded needed
|
|
334
|
+
/******/ exports: {}
|
|
335
|
+
/******/ };
|
|
336
|
+
/******/
|
|
337
|
+
/******/ // Execute the module function
|
|
338
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
339
|
+
/******/
|
|
340
|
+
/******/ // Return the exports of the module
|
|
341
|
+
/******/ return module.exports;
|
|
342
|
+
/******/ }
|
|
343
|
+
/******/
|
|
344
|
+
/************************************************************************/
|
|
345
|
+
/******/ /* webpack/runtime/define property getters */
|
|
346
|
+
/******/ (() => {
|
|
347
|
+
/******/ // define getter functions for harmony exports
|
|
348
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
349
|
+
/******/ for(var key in definition) {
|
|
350
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
351
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
352
|
+
/******/ }
|
|
353
|
+
/******/ }
|
|
354
|
+
/******/ };
|
|
355
|
+
/******/ })();
|
|
356
|
+
/******/
|
|
357
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
358
|
+
/******/ (() => {
|
|
359
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
360
|
+
/******/ })();
|
|
361
|
+
/******/
|
|
362
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
363
|
+
/******/ (() => {
|
|
364
|
+
/******/ // define __esModule on exports
|
|
365
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
366
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
367
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
368
|
+
/******/ }
|
|
369
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
370
|
+
/******/ };
|
|
371
|
+
/******/ })();
|
|
372
|
+
/******/
|
|
373
|
+
/************************************************************************/
|
|
374
|
+
var __webpack_exports__ = {};
|
|
375
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
376
|
+
(() => {
|
|
377
|
+
"use strict";
|
|
378
|
+
__webpack_require__.r(__webpack_exports__);
|
|
379
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
380
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
381
|
+
/* harmony export */ });
|
|
382
|
+
// 准备翻译的语言环境信息
|
|
383
|
+
let messages = {};
|
|
384
|
+
//第一个参数表示相对的文件目录,第二个参数表示是否包括子目录中的文件,第三个参数表示引入的文件匹配的正则表达式。
|
|
385
|
+
const files = __webpack_require__(1);
|
|
386
|
+
files.keys().forEach(key => {
|
|
387
|
+
let optionKey = key.substring(key.lastIndexOf('/') + 1, key.lastIndexOf('.js')); //截取文件名称
|
|
388
|
+
let message = __webpack_require__(4)(`./${optionKey}.js`).default;
|
|
389
|
+
messages[`${optionKey}`] = message;
|
|
390
|
+
});
|
|
391
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (app => {
|
|
392
|
+
return {
|
|
393
|
+
install() {
|
|
394
|
+
for (let key in messages) {
|
|
395
|
+
app.addPluginLocaleMessage(key, messages[key]);
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
uninstall() {}
|
|
399
|
+
};
|
|
400
|
+
});
|
|
401
|
+
})();
|
|
402
|
+
|
|
403
|
+
module.exports = __webpack_exports__["default"];
|
|
404
|
+
/******/ })()
|
|
405
|
+
;
|