This is an automated email from the ASF dual-hosted git repository.

likeguo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 9a8c53c39c add plugin jar (#885)
9a8c53c39c is described below

commit 9a8c53c39c1dee89d1859af406756885f363fc08
Author: 杨文杰 <[email protected]>
AuthorDate: Sun Apr 2 19:39:10 2023 +0800

    add plugin jar (#885)
---
 .../version-2.4.2/developer/custom-plugin.md                   | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/developer/custom-plugin.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/developer/custom-plugin.md
index e7052c0511..c895525bce 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/developer/custom-plugin.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/developer/custom-plugin.md
@@ -307,3 +307,13 @@ shenyu:
 * 可以使用 `-Dplugin-ext=xxxx` 指定,也可以使用 
`shenyu.extPlugin.path`配置文件指定,如果都没配置,默认会加载网关启动路径下的 `ext-lib`目录。
 
 * 优先级 :`-Dplugin-ext=xxxx` > `shenyu.extPlugin.path` > `ext-lib(default)`
+
+
+## 插件jar包上传
+
+* 当使用这个功能时候, 需要把上述扩展的`ShenyuPlugin` 打包成自定义的 ShenyuPlugin Jar 包
+* 并且在 ShenyuAdmin 进行配置
+  * 进入 ShenyuAdmin - BasicConfig - Plugin 进行添加 plugin 在 pluginJar 中可以添加自定义的 
plugin Jar 包
+* 自定义的 ShenyuPlugin 如果依赖了其他的第三方包可以 ShenyuBootstrap 启动是加载到 -cp 的第三方jar包目录
+  
+

Reply via email to