@zxlll/dsh-integration-env 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +148 -2
- package/client.js +1233 -0
- package/cordis.patch.yml +16 -0
- package/icon.svg +20 -0
- package/index.js +764 -0
- package/lib/kinds.js +209 -0
- package/lib/mysql.js +723 -0
- package/lib/nacos.js +561 -0
- package/lib/probe.js +74 -0
- package/lib/redis.js +317 -0
- package/lib/store.js +729 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +60 -4
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# integration-env bundle patch.
|
|
2
|
+
#
|
|
3
|
+
# 一个 bundle,两半:
|
|
4
|
+
# - `integration-env`:Host 半(实例存储、POST /integration-env/api、Agent 工具、系统提示)。
|
|
5
|
+
# 没有任何外部依赖,实例清单不进这个文件——运行时由右侧面板写进用户数据文件
|
|
6
|
+
# (默认 `$DSH_HOME/plugin-data/integration-env/instances.json`,可用下面的 dataFile 覆盖),
|
|
7
|
+
# 所以升级/重装插件不会覆盖你配置好的连接。
|
|
8
|
+
# - Client 半由 `package.json` 的 `dsh.client` 声明,跟着这个 bundle 自动加载,不需要单独一行。
|
|
9
|
+
#
|
|
10
|
+
# 需要换数据文件位置时,把 config 写成:
|
|
11
|
+
# config:
|
|
12
|
+
# dataFile: 'D:/somewhere/integration-env/instances.json'
|
|
13
|
+
- insert:
|
|
14
|
+
- id: integration-env
|
|
15
|
+
name: '@zxlll/dsh-integration-env'
|
|
16
|
+
config: {}
|
package/icon.svg
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" role="img" aria-label="Integration environments">
|
|
2
|
+
<title>Integration environments</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="ie-bg" x1="4" y1="2" x2="28" y2="30" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop offset="0" stop-color="#4F46E5"/>
|
|
6
|
+
<stop offset="1" stop-color="#0891B2"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect x="1" y="1" width="30" height="30" rx="8.5" fill="url(#ie-bg)"/>
|
|
10
|
+
<g fill="#FFFFFF">
|
|
11
|
+
<rect x="6" y="7" width="20" height="5" rx="2.5"/>
|
|
12
|
+
<rect x="6" y="13.5" width="20" height="5" rx="2.5" opacity="0.9"/>
|
|
13
|
+
<rect x="6" y="20" width="20" height="5" rx="2.5" opacity="0.78"/>
|
|
14
|
+
</g>
|
|
15
|
+
<g fill="#0EA5E9">
|
|
16
|
+
<circle cx="10" cy="9.5" r="1.1"/>
|
|
17
|
+
<circle cx="10" cy="16" r="1.1"/>
|
|
18
|
+
<circle cx="10" cy="22.5" r="1.1"/>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|