You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by yu...@apache.org on 2021/09/14 12:17:59 UTC
[incubator-shenyu-website] branch main updated: Update blog (#278)
This is an automated email from the ASF dual-hosted git repository.
yui pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new 902d113 Update blog (#278)
902d113 is described below
commit 902d1134c917f03c061b561e85e18411ccfc4fd9
Author: fengzhenbing <fe...@126.com>
AuthorDate: Tue Sep 14 20:17:52 2021 +0800
Update blog (#278)
---
blog/SourceCode-Analysis-MatchStrategy-SPI.md | 3 +--
docusaurus.config.js | 1 +
.../SourceCode-Analysis-MatchStrategy-SPI.md | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/blog/SourceCode-Analysis-MatchStrategy-SPI.md b/blog/SourceCode-Analysis-MatchStrategy-SPI.md
index 39317d1..203306f 100644
--- a/blog/SourceCode-Analysis-MatchStrategy-SPI.md
+++ b/blog/SourceCode-Analysis-MatchStrategy-SPI.md
@@ -1,10 +1,9 @@
---
+slug: MatchStrategy-SPI
title: "MatchStrategy -- analyze the design based on SPI"
author: "Huihui Yin"
author_title: Apache ShenYu Contributor
-categories: "Apache ShenYu"
tags: ["SPI","Apache ShenYu"]
-date: 2021-09-14
---
In most of the `plugins` ( such as `Dubbo`, `gRPC`,`Spring-cloud`, etc) of `Apache Shenyu`, the `routing`parameters are designed to support the combination of multiple conditions. In order to realize such requirements, the parameters and behaviors are abstracted to three parts according to its `SPI` mechanism, and implemented in ***shenyu-plugin-base*** module.
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 7198150..ccca456 100755
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -212,6 +212,7 @@ module.exports = {
},
blog: {
showReadingTime: true,
+ blogSidebarCount: "ALL",
// Please change this to your repo.
editUrl:
'https://github.com/apache/incubator-shenyu-website/edit/main/blog/',
diff --git a/i18n/zh/docusaurus-plugin-content-blog/SourceCode-Analysis-MatchStrategy-SPI.md b/i18n/zh/docusaurus-plugin-content-blog/SourceCode-Analysis-MatchStrategy-SPI.md
index d9c83c7..1c6ea8b 100644
--- a/i18n/zh/docusaurus-plugin-content-blog/SourceCode-Analysis-MatchStrategy-SPI.md
+++ b/i18n/zh/docusaurus-plugin-content-blog/SourceCode-Analysis-MatchStrategy-SPI.md
@@ -4,7 +4,6 @@ author: "Huihui Yin"
author_title: Apache ShenYu Contributor
categories: "Apache ShenYu"
tags: ["SPI","Apache ShenYu"]
-date: 2021-09-14
---
`Apache Shenyu` 网关的各个`Plugin`(包括`Dubbo`, `gRPC`,`Spring-cloud`等) 中,`routing`参数均设计为可以接受多个条件的组合。 为了实现这样的目的,遵循其`SPI`的机制进行将参数及行为抽象为如下三部分,这些`SPI` 在***shenyu-plugin-base***模组中实现